fix: H5客户端接口全链路修复 — 登录状态/首页key/账户字段/膳食类型
This commit is contained in:
@@ -31,7 +31,7 @@ class AuthController extends Controller
|
||||
return $this->error('手机号或密码错误', 40100, 401);
|
||||
}
|
||||
|
||||
if ($customer->status !== 1) {
|
||||
if (in_array($customer->status, [4, 5])) {
|
||||
return $this->error('账号已停用,请联系门店', 40101, 403);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user