This commit is contained in:
eson
2023-08-28 14:21:06 +08:00
parent 2830ea8724
commit bde9e98f62
26 changed files with 43 additions and 35 deletions

View File

@@ -35,7 +35,7 @@ func (l *AddBaseMapLogic) AddBaseMap(req *types.AddBaseMapReq, userInfo *auth.Ba
if req.Name == "" || req.Url == "" {
return resp.SetStatusWithMessage(basic.CodeRequestParamsErr, "err param is empty")
}
now := time.Now().Unix()
now := time.Now().UTC().Unix()
err := l.svcCtx.AllModels.FsProductTemplateBasemap.Create(l.ctx, &gmodel.FsProductTemplateBasemap{
Name: &req.Name,
Url: &req.Url,