Commit 1a9fb7c9 by 蒋勇

d

parent 01c4de34
...@@ -120,7 +120,7 @@ class UserService extends ServiceBase { ...@@ -120,7 +120,7 @@ class UserService extends ServiceBase {
let roleids=userfind.Roles.map(item=>{ let roleids=userfind.Roles.map(item=>{
return item.id return item.id
}) })
let auths= await this.authS.findAuthsByRole(roleids) let auths= await self.authS.findAuthsByRole(roleids)
userfind["access"]=auths userfind["access"]=auths
delete userfind["jwtkey"] delete userfind["jwtkey"]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment