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
浙公网安备 33010602011771号