This commit is contained in:
邹宗楠
2022-11-15 15:12:24 +08:00
parent a90df52e69
commit b3c424c161

View File

@@ -229,6 +229,8 @@ func (p *PurchaseHandler) createOrUpdateStoreSkus(ctx *jxcontext.Context, storeI
// 创建子商品
temp, err := dao.QueryStoreBindInfo(storeDetail.Store.ID)
globals.SugarLogger.Debugf("================temp:= %s", utils.Format4Output(temp, false))
globals.SugarLogger.Debugf("================storeDetail:= %s", utils.Format4Output(storeDetail, false))
if err != nil || temp == nil || temp.ID == 0 {
// 运费模板
param.FreightId, err = GetDeliveryTemp(api, vendorStoreID, storeDetail)