京东快递信息取快递员信息

This commit is contained in:
suyl
2020-05-16 13:55:40 +08:00
parent 6e0229805b
commit 9c30665801

View File

@@ -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