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