diff --git a/application/views/layouts/home_search_layout.php b/application/views/layouts/home_search_layout.php index e7952741..721ec1e5 100755 --- a/application/views/layouts/home_search_layout.php +++ b/application/views/layouts/home_search_layout.php @@ -157,8 +157,7 @@ fetch('/index.php/home_search/search_by_phone', { method: 'POST', headers: { - 'Content-Type': 'application/json', - 'X-CSRF-TOKEN': '' // 添加 CSRF 令牌 + 'Content-Type': 'application/json' }, body: JSON.stringify({ phone_number: phoneNumber }) })