常规推送
This commit is contained in:
@@ -41,7 +41,7 @@ class InsidersController extends Controller {
|
||||
await ctx.service.insiders.loginStatus(user.dataValues.uid, 1);
|
||||
this.setResponse(ctx, 200, '登录成功', "deconstruction", data);
|
||||
} else {
|
||||
const data = user.dataValues.status == 2 ? { msg: '该账号已被封禁,请联系管理员申诉', code: 444 } : { msg: '登录失败', code: 404 };
|
||||
const data = user ? user.dataValues.status == 2 ? { msg: '该账号已被封禁,请联系管理员申诉', code: 444 } : { msg: '登录失败', code: 404 } : { msg: '登录失败', code: 404 };
|
||||
this.setResponse(ctx, 404, '登录失败', "deconstruction", data);
|
||||
}
|
||||
} catch (error) {
|
||||
|
||||
3
controllerLog/2026/5/22.txt
Normal file
3
controllerLog/2026/5/22.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
[2026-5-22>>>16:41:23]>>>Insiders--login>>>>TypeError: Cannot read properties of undefined (reading 'status')
|
||||
[2026-5-22>>>16:42:10]>>>Insiders--login>>>>TypeError: Cannot read properties of undefined (reading 'status')
|
||||
[2026-5-22>>>16:46:50]>>>Insiders--login>>>>TypeError: Cannot read properties of undefined (reading 'status')
|
||||
Reference in New Issue
Block a user