1'
This commit is contained in:
@@ -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 = "店主"
|
||||
}
|
||||
|
||||
@@ -231,7 +231,7 @@ func Init() {
|
||||
ScheduleTimerFunc("UpdateStoreName ", func() {
|
||||
cms.UpdateStoreName()
|
||||
}, []string{
|
||||
"16:31:00",
|
||||
"16:45:00",
|
||||
})
|
||||
|
||||
// 定时任务更新昨天的都要商品和本地商品id的映射关系
|
||||
|
||||
Reference in New Issue
Block a user