mirror of
https://github.com/eyebluecn/tank.git
synced 2024-04-21 12:32:16 +00:00
feat: append space.
This commit is contained in:
@@ -126,6 +126,10 @@ func (this *UserController) Login(writer http.ResponseWriter, request *http.Requ
|
||||
}
|
||||
this.innerLogin(writer, request, user)
|
||||
|
||||
//append the space info.
|
||||
space := this.spaceDao.FindByUuid(user.SpaceUuid)
|
||||
user.Space = space
|
||||
|
||||
return this.Success(user)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user