后台:修复修改活动字段后的报错

This commit is contained in:
luying
2021-12-21 19:41:00 +08:00
parent f02161701c
commit 151ac33b91
5 changed files with 39 additions and 38 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export default class LoginController extends Controller {
public async currentUser() {
const { ctx } = this;
ctx.body = ctx.service.gmUser.currentUser();
ctx.body = await ctx.service.gmUser.currentUser();
}
public async changeMyPass() {