Commit 0436b17b authored by 黎博's avatar 黎博

优化/api/order/selectJdOrder接口

parent 77a83323
...@@ -154,7 +154,7 @@ public class OrderController { ...@@ -154,7 +154,7 @@ public class OrderController {
result.put("jdOrderId", Long.valueOf(jdOrderId)); result.put("jdOrderId", Long.valueOf(jdOrderId));
result.put("state", 1); result.put("state", 1);
result.put("submitState", 1); result.put("submitState", 1);
result.put("type", 1); result.put("type", 2); // 1-父订单,2-子订单
if (orderInfo != null) { if (orderInfo != null) {
result.put("freight", orderInfo.getResult().getFreight()); result.put("freight", orderInfo.getResult().getFreight());
result.put("orderPrice", orderInfo.getResult().getOrderPrice()); result.put("orderPrice", orderInfo.getResult().getOrderPrice());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment