|
@@ -451,13 +451,13 @@ private void testSubscribe(TradeOrderDO order) throws Exception {
|
|
|
String returnCode = jsonObject.get("returnCode").getAsString();
|
|
|
|
|
|
if (result && returnCode.equals("200")) {
|
|
|
- log.info("订单号:{}:订阅成功", order.getLogisticsNo());
|
|
|
+ log.info("订单号:{}:订阅成功", order.getNo());
|
|
|
|
|
|
order.setSubscriptionLogisticsInfo(TradeOrderSubscribeStatusEnum.SUBSCRIBE.getStatus());
|
|
|
} else if (returnCode.equals("600") || returnCode.equals("601")) {
|
|
|
throw exception(NOT_SUFFICIENT_FUNDS);
|
|
|
} else {
|
|
|
- log.info("订单号:{}:订阅失败", order.getLogisticsNo());
|
|
|
+ log.info("订单号:{}:订阅失败原因:{}",order.getNo(),jsonObject);
|
|
|
|
|
|
order.setSubscriptionLogisticsInfo(TradeOrderSubscribeStatusEnum.abnormal.getStatus());
|
|
|
}
|