京东商城订单匹配修改
This commit is contained in:
@@ -426,7 +426,9 @@ func (a *API) OrderDetail(orderId string) (orderDetailResult *OrderDetailResult,
|
||||
expectedDeliveredTime2 := regexpOrderDetailDay2.FindStringSubmatch(body)
|
||||
if len(expectedDeliveredTime2) > 0 {
|
||||
times := strings.Split(expectedDeliveredTime2[1], ",")
|
||||
orderDetailResult.ExpectedDeliveredTime = times[0] + " " + times[1][:strings.Index(times[1], ":")] + ":00:00"
|
||||
if len(times) > 1 {
|
||||
orderDetailResult.ExpectedDeliveredTime = times[0] + " " + times[1][:strings.Index(times[1], ":")] + ":00:00"
|
||||
}
|
||||
}
|
||||
}
|
||||
if len(actualPayPrice) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user