From e422f7e2c58af82697458256b319742d656b3cc4 Mon Sep 17 00:00:00 2001 From: liutong <836164388@qq.com> Date: Mon, 9 Jun 2025 17:21:37 +0800 Subject: [PATCH] =?UTF-8?q?refactor(app):=20=E6=B3=A8=E9=87=8A=E6=8E=89?= =?UTF-8?q?=E6=B8=A0=E9=81=93=E6=A0=A1=E9=AA=8C=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 ApiCheckToken 中间件中注释掉了渠道校验的代码行 - 此修改可能旨在暂时跳过渠道校验,以进行其他功能的测试或开发 --- niucloud/app/api/middleware/ApiCheckToken.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/niucloud/app/api/middleware/ApiCheckToken.php b/niucloud/app/api/middleware/ApiCheckToken.php index f00d926a..b3a65e07 100644 --- a/niucloud/app/api/middleware/ApiCheckToken.php +++ b/niucloud/app/api/middleware/ApiCheckToken.php @@ -38,7 +38,7 @@ class ApiCheckToken { $request->appType(AppTypeDict::API); // 校验渠道 - ( new AuthService() )->checkChannel($request); + //( new AuthService() )->checkChannel($request); //通过配置来设置系统header参数 try { $token = $request->apiToken();