添加查询和创建角色功能;建立长连接后返回部分初始数据
This commit is contained in:
@@ -14,6 +14,7 @@ module.exports = () => {
|
||||
ctx.body = ctx.service.utils.exceptionResult(STATUS_TOKEN_ERR);
|
||||
return;
|
||||
}
|
||||
ctx.uid = user.uid;
|
||||
await next();
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user