fix:上传logo

This commit is contained in:
momo 2023-09-07 13:26:20 +08:00
parent acf3b9bacc
commit 89b5111040

View File

@ -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 {