fix:上传logo

This commit is contained in:
momo 2023-09-07 13:27:32 +08:00
parent 89b5111040
commit d49e966bf0

View File

@ -249,6 +249,7 @@ func (l *UploadLogoLogic) UploadLogo(req *types.UploadLogoReq, userinfo *auth.Us
}
userInfo.Metadata = &metadataB
if userInfo.Id > 0 {
userInfo.Utime = &nowTime
resUpdates := tx.Select("metadata").Where("id = ?", userInfo.Id).Updates(&userInfo)
err = resUpdates.Error
if err != nil {