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 {
|
} else {
|
||||||
|
var nowTime = time.Now().UTC()
|
||||||
userInfo.Module = &module
|
userInfo.Module = &module
|
||||||
|
userInfo.Ctime = &nowTime
|
||||||
|
userInfo.Utime = &nowTime
|
||||||
resCreate := tx.Create(&userInfo)
|
resCreate := tx.Create(&userInfo)
|
||||||
err = resCreate.Error
|
err = resCreate.Error
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user