2024年2月29日

Laravel ajax请求($.post、$.get)请求header增加csrf_token

摘要: 1 /* $.post $.get 请求header增加csrf token */ 2 $.each(["get", "post"], function (i, method) { 3 $[method] = function (url, data, callback, type) { 4 if ( 阅读全文

posted @ 2024-02-29 11:02 你看我哪里像好人 阅读(49) 评论(0) 推荐(0) 编辑

导航