1
This commit is contained in:
@@ -93,7 +93,13 @@ func createOneShopAct(act *model.Act2, vendorStoreID string, actStoreSku []*mode
|
||||
|
||||
//5873
|
||||
if err2 != nil && strings.Contains(err2.Error(), "未获取有效门店id") {
|
||||
actResult, faileInfoList, err2 = api.Mtwm2API.RetailDiscountBatchSave2(vendorStoreID, jxActType2Mtwm(act.Type), actData)
|
||||
|
||||
temp, err := dao.GetStoreDetailByVendorStoreID(dao.GetDB(), vendorStoreID, 0, "")
|
||||
globals.SugarLogger.Debugf("createOneShopAct test0130 temp=%s", utils.Format4Output(temp, false))
|
||||
if err == nil {
|
||||
actResult, faileInfoList, err2 = getAPI(temp.VendorOrgCode, 0, vendorStoreID).RetailDiscountBatchSave2(vendorStoreID, jxActType2Mtwm(act.Type), actData)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//actResult, faileInfoList, err2 := getAPI(tempStore.VendorOrgCode, 0, vendorStoreID).RetailDiscountBatchSave2(vendorStoreID, jxActType2Mtwm(act.Type), actData)
|
||||
|
||||
Reference in New Issue
Block a user