From 9c3066580159469e86138af97056dd1f7b29dda7 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Sat, 16 May 2020 13:55:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=AC=E4=B8=9C=E5=BF=AB=E9=80=92=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E5=8F=96=E5=BF=AB=E9=80=92=E5=91=98=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/partner/purchase/jx/localjx/order.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/business/partner/purchase/jx/localjx/order.go b/business/partner/purchase/jx/localjx/order.go index cd0080fbf..840223ac5 100644 --- a/business/partner/purchase/jx/localjx/order.go +++ b/business/partner/purchase/jx/localjx/order.go @@ -152,7 +152,7 @@ var ( } regexpCnameAndCmobile = regexp.MustCompile(`配送员,(.*),手机号,(.*)`) - regexpCnameAndCmobile2 = regexp.MustCompile(`快递员:(.*),联系电话:(.*)`) + regexpCnameAndCmobile2 = regexp.MustCompile(`(快递员:(.*),联系电话:(.*))`) bagSkuMap = map[int]int{ //京西物料袋子skuid 6039382: 6039382, @@ -1485,8 +1485,8 @@ func updateJdWayBillInfo(db *dao.DaoDB, order *model.GoodsOrder, getTrackMessage } else { result2 := regexpCnameAndCmobile2.FindAllStringSubmatch(vv.OpeRemark, -1) if len(result2) > 0 { - cName = result[0][1] - cMobile = result[0][2] + cName = result2[0][1] + cMobile = result2[0][2] } } break