跟进状态修改、登录返回code、客户统计

This commit is contained in:
2025-03-21 11:42:25 +08:00
parent 196a4a2001
commit 8b23f26dce
4 changed files with 67 additions and 10 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class AuthMiddleware implements MiddlewareInterface
//需要登录并且未提供token
if ($isLogin && (!$token || !str_starts_with($token, 'Bearer '))) {
throw new BusinessException('请先登录', 302);
return Util::fail('','请先登录',401);
// throw new BusinessException('未提供 Token'.$isLogin, 401);
}elseif(!$isLogin){
return $handler($request);