fix:上传logo
This commit is contained in:
parent
3bdc8f03d6
commit
b8cf209d24
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user