fix
This commit is contained in:
parent
927b38842f
commit
5c76db510c
|
@ -157,8 +157,7 @@
|
|||
fetch('/index.php/home_search/search_by_phone', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'X-CSRF-TOKEN': '<?= csrf_hash() ?>' // 添加 CSRF 令牌
|
||||
'Content-Type': 'application/json'
|
||||
},
|
||||
body: JSON.stringify({ phone_number: phoneNumber })
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue