diff --git a/business/jxstore/cms/store.go b/business/jxstore/cms/store.go index 29b90e198..d09a95482 100644 --- a/business/jxstore/cms/store.go +++ b/business/jxstore/cms/store.go @@ -2354,7 +2354,7 @@ func formalizeStore4Courier(storeDetail *dao.StoreDetail2) *dao.StoreDetail2 { return nil } - storeDetail.Name = fmt.Sprintf("%s-%s-%s", strings.TrimSpace(brandInfo[0].Name), strings.TrimSpace(storeDetail.CityName), strings.TrimSpace(storeDetail.Name)) + storeDetail.Name = fmt.Sprintf("%s-%s-%s", strings.ReplaceAll(brandInfo[0].Name, " ", ""), strings.ReplaceAll(storeDetail.CityName, " ", ""), strings.ReplaceAll(storeDetail.Name, " ", "")) if storeDetail.PayeeName == "" { storeDetail.PayeeName = "店主" } diff --git a/business/jxstore/misc/misc.go b/business/jxstore/misc/misc.go index c3ea89d09..a8c991cdb 100644 --- a/business/jxstore/misc/misc.go +++ b/business/jxstore/misc/misc.go @@ -231,7 +231,7 @@ func Init() { ScheduleTimerFunc("UpdateStoreName ", func() { cms.UpdateStoreName() }, []string{ - "16:31:00", + "16:45:00", }) // 定时任务更新昨天的都要商品和本地商品id的映射关系