Accept Merge Request #211: (feature/dgg -> develop)
Merge Request: feat: 【小程序】小程序账号失效时,抛出指定 code Created By: @大狗哥 Accepted By: @大狗哥 URL: https://g-bcrc3009.coding.net/p/allocatr/d/allocatr/git/merge/211?initial=true
This commit is contained in:
commit
0755a54695
|
|
@ -303,7 +303,7 @@ class WorkerApi extends BaseService
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($user->status === 0) {
|
if ($user->status === 0) {
|
||||||
throw new ApiException('当前账号不可用');
|
throw new ApiException('当前账号不可用', 401);
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user