fix:上传logo

This commit is contained in:
momo 2023-09-07 12:31:36 +08:00
parent 3bdc8f03d6
commit b8cf209d24

View File

@ -247,6 +247,7 @@ func (l *UploadLogoLogic) UploadLogo(req *types.UploadLogoReq, userinfo *auth.Us
return err
}
userInfo.Metadata = &metadataB
logc.Infof(l.ctx, "userInfo %+v", userInfo)
if userInfo.Id > 0 {
tx.Select("metadata").Where("id = ?", userInfo.Id).Updates(userInfo)
} else {