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