fix:上传logo
This commit is contained in:
parent
acf3b9bacc
commit
89b5111040
|
@ -258,7 +258,10 @@ func (l *UploadLogoLogic) UploadLogo(req *types.UploadLogoReq, userinfo *auth.Us
|
|||
}
|
||||
}
|
||||
} else {
|
||||
var nowTime = time.Now().UTC()
|
||||
userInfo.Module = &module
|
||||
userInfo.Ctime = &nowTime
|
||||
userInfo.Utime = &nowTime
|
||||
resCreate := tx.Create(&userInfo)
|
||||
err = resCreate.Error
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue
Block a user