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:
大狗哥 2025-07-02 22:08:12 +08:00 committed by Coding
commit 0755a54695

View File

@ -303,7 +303,7 @@ class WorkerApi extends BaseService
}
if ($user->status === 0) {
throw new ApiException('当前账号不可用');
throw new ApiException('当前账号不可用', 401);
}
return true;