This commit is contained in:
邹宗楠
2023-09-12 18:21:44 +08:00
parent 10d5d19cb7
commit 297e348bb6
2 changed files with 6 additions and 0 deletions

View File

@@ -94,6 +94,10 @@ func AutoSettingFakeDelivery() {
// 获取刷单门店订单
storeList := strings.Split(configList[0].Value, ",")
for _, v := range storeList {
if !strings.Contains(v, "-") {
globals.SugarLogger.Errorf("newConfig 刷单门店配置异常")
return
}
storeIdAndVendorId := strings.Split(v, "-")
if len(storeIdAndVendorId) == model.NO {
continue