添加查询和创建角色功能;建立长连接后返回部分初始数据

This commit is contained in:
liangtongchuan
2020-09-01 22:15:31 +08:00
parent 2617efa6ad
commit dbdb11692c
23 changed files with 466 additions and 145 deletions

View File

@@ -14,6 +14,7 @@ module.exports = () => {
ctx.body = ctx.service.utils.exceptionResult(STATUS_TOKEN_ERR);
return;
}
ctx.uid = user.uid;
await next();
};
};