fix:upload设置
This commit is contained in:
parent
53675d2d60
commit
c26c3ea192
@ -218,7 +218,7 @@ func (l *UserLogoSetLogic) UserLogoSet(req *types.UserLogoSetReq, userinfo *auth
|
||||
} else {
|
||||
// 更新
|
||||
userInfo.Utime = &nowTime
|
||||
resUpdates := tx.Model(&userInfo).Select("metadata").Updates(&userInfo)
|
||||
resUpdates := tx.Model(&userInfo).Select("metadata,utime").Updates(&userInfo)
|
||||
err = resUpdates.Error
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user