This commit is contained in:
邹宗楠
2023-01-05 09:32:25 +08:00
parent ba444ea667
commit 867690c646
10 changed files with 2 additions and 35 deletions

View File

@@ -811,7 +811,6 @@ func GetVendorStore(ctx *jxcontext.Context, vendorID int, vendorOrgCode, vendorS
return nil, err
} else {
handler := partner.GetDeliveryPlatformFromVendorID(vendorID).Handler
globals.SugarLogger.Debugf("step2 handler==============%s", handler)
if store, err := handler.GetStore(ctx, 0, vendorStoreID); err == nil {
retVal = &StoreExt{
Store: store.Store,
@@ -1705,7 +1704,6 @@ func UpdateStoreVendorMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendor
if (valid["deliveryFeeDeductionSill"] != nil || valid["deliveryFeeDeductionFee"] != nil || valid["ybStorePrefix"] != nil) && vendorID == model.VendorIDDD {
DDFlag = true
} //特殊处理抖店运费模板、打包费
globals.SugarLogger.Debugf("DeliveryFeeDeductionFee=====%d,YbStorePrefix====%s", storeMap.DeliveryFeeDeductionFee, storeMap.YbStorePrefix)
if (storeMap.DeliveryFeeDeductionFee > 0 || utils.Str2Int(storeMap.YbStorePrefix) > 0) && vendorID == model.VendorIDDD {
DDFlag = true
}