This commit is contained in:
aozhiwei 2024-11-05 18:00:06 +08:00
parent 629cc33ca8
commit 3ddd703fee

View File

@ -30,7 +30,7 @@ func (this *UserApi) Login(c *gin.Context) {
!errors.Is(result.Error, gorm.ErrRecordNotFound) {
f5.RspErr(c, 500, "server internal error")
return
} else if result.RowsAffected <= 0{
} else if result.RowsAffected <= 0 {
nowTime := f5.GetApp().GetRealSeconds()
user.AccountId = s.GetAccountId()
user.Avatar = ""