This commit is contained in:
richboo111
2022-11-23 18:07:17 +08:00
parent 65aa021726
commit 6177d722a8
2 changed files with 6 additions and 21 deletions

View File

@@ -6071,8 +6071,10 @@ func BatchCreateFreeShipTemplate(relInfo map[string][]tiktok_store.RelInfo, ship
}
} else {
globals.SugarLogger.Debugf("进入更新包邮模板操作")
if err := tiktok_store.UpdateFreeShipTemplate(utils.Str2Int(i.StoreID), shipFee); err != nil {
errList.AddErr(err)
if err := tiktok_store.ShopBindStoreFreight(k, utils.Str2Int64(i.VendorStoreID), bindFreightID); err == nil {
if err := tiktok_store.UpdateFreeShipTemplate(utils.Str2Int(i.StoreID), shipFee); err != nil {
errList.AddErr(err)
}
}
}
}