diff --git a/server/upload/internal/logic/uploadlogologic.go b/server/upload/internal/logic/uploadlogologic.go index e242f3a2..062908c3 100644 --- a/server/upload/internal/logic/uploadlogologic.go +++ b/server/upload/internal/logic/uploadlogologic.go @@ -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 {