ui update

This commit is contained in:
akrike
2025-08-31 20:37:11 +08:00
parent c32db8c8f6
commit d42b89cc8b
5 changed files with 18 additions and 30 deletions

View File

@@ -27,7 +27,6 @@ func (u *userApi) LoginHandler(ctx *gin.Context, req model.LoginHandlerReq) any
return err
}
return gin.H{
"code": 0,
"token": token,
"username": req.Account,
"role": repository.UserRepository.GetUserByName(req.Account).Role,