From 5e071f3dcde22ada1fda9a31d66653154f0288aa Mon Sep 17 00:00:00 2001 From: lk3407105 <997861461@qq.com> Date: Fri, 31 Jan 2025 10:02:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E5=88=B7=E6=96=B0toke?= =?UTF-8?q?n=E7=9A=84token=E8=BF=94=E5=9B=9E=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/controller/Backend.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common/controller/Backend.php b/application/common/controller/Backend.php index 3963be412..b41c56900 100644 --- a/application/common/controller/Backend.php +++ b/application/common/controller/Backend.php @@ -604,7 +604,7 @@ class Backend extends Controller //验证Token if (!Validate::make()->check(['__token__' => $token], ['__token__' => 'require|token'])) { - $this->error(__('Token verification error'), '', ['__token__' => $this->request->token()]); + $this->error(__('Token verification error'), '', ['token' => $this->request->token()]); } //刷新Token -- Gitee