From 0d679e987151a7db3b269397fc9d20f388460681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 2 Nov 2020 16:07:44 +0800 Subject: [PATCH] delivery --- business/jxstore/cms/job.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/business/jxstore/cms/job.go b/business/jxstore/cms/job.go index 738b69db0..3e5320613 100644 --- a/business/jxstore/cms/job.go +++ b/business/jxstore/cms/job.go @@ -616,6 +616,14 @@ func SendJdDelivery(ctx *jxcontext.Context, dOrder *model.DeliveryOrder) (errCod if len(receiveDeliveryList) == 0 { return errCode, fmt.Errorf("未找到取件人地址!") } + //内蒙古海南统一35 + //新疆西藏统一45 + if receiveDeliveryList[0].ParentCode == 150000 || receiveDeliveryList[0].ParentCode == 460000 { + dOrder.PayPrice = 3500 + } + if receiveDeliveryList[0].ParentCode == 650000 || receiveDeliveryList[0].ParentCode == 540000 { + dOrder.PayPrice = 4500 + } dao.WrapAddIDCULEntity(dOrder, ctx.GetUserName()) if vendorWaybillID, err := api.JdEclpAPI.WaybillReceive(&jdeclpapi.WaybillReceiveParam{ SalePlat: jdeclpapi.SalePlatSourceDelivery,