feat: append space.

This commit is contained in:
lishuang
2023-07-22 20:30:52 +08:00
parent f0a1c0ab06
commit 6c385014cc
+4
View File
@@ -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)
}