京东商城订单增加

This commit is contained in:
苏尹岚
2020-06-03 11:18:16 +08:00
parent 0e9840fc3c
commit a71f902289
4 changed files with 16 additions and 17 deletions

View File

@@ -418,7 +418,7 @@ func (a *API) OrderDetail(orderId string) (orderDetailResult *OrderDetailResult,
}
if len(expectedDeliveredTime) > 0 {
times := strings.Split(expectedDeliveredTime[1], ",")
orderDetailResult.ExpectedDeliveredTime = times[0] + " " + times[1][:strings.Index(times[1], ":")] + ":30:00"
orderDetailResult.ExpectedDeliveredTime = times[0] + " " + times[1][:strings.Index(times[1], ":")] + ":00:00"
}
if len(actualPayPrice) > 0 {
orderDetailResult.ActualPayPrice = utils.Float64TwoInt64(utils.Str2Float64(strings.TrimSpace(actualPayPrice[1])) * 100)