...
|
...
|
@@ -50,6 +50,8 @@ public class OrderPushServiceImpl implements IOrderPushService{ |
|
|
param.put("orderShipCost",orderInfo.getShippingCost());
|
|
|
//订单来源平台,(web,wap,app)
|
|
|
param.put("orderType",orderInfo.getOrderType());
|
|
|
//是否是新客
|
|
|
param.put("isNew",orderInfo.getIsNew());
|
|
|
//商品最终支付金额
|
|
|
BigDecimal proRealPay = new BigDecimal(0);
|
|
|
//如果有多个则需要将多个商品进行分割
|
...
|
...
|
@@ -125,13 +127,13 @@ public class OrderPushServiceImpl implements IOrderPushService{ |
|
|
} catch (Exception e) {
|
|
|
logger.error("common order post fail,orderCode is {}", orderInfo.getParentOrderCode());
|
|
|
}
|
|
|
JSONObject json = JSONObject.parseObject(pair.getRight());
|
|
|
if (((String) json.get("code")).equals("200")) {
|
|
|
logger.info("common pushOrder success,orderCode is {}", orderInfo.getParentOrderCode());
|
|
|
successCodes.add(orderInfo.getParentOrderCode());
|
|
|
} else {
|
|
|
logger.warn("common pushOrder fail,orderCode is {},message is {}", orderInfo.getParentOrderCode(), (String) json.get("msg"));
|
|
|
}
|
|
|
// JSONObject json = JSONObject.parseObject(pair.getRight());
|
|
|
// if (((String) json.get("code")).equals("200")) {
|
|
|
// logger.info("common pushOrder success,orderCode is {}", orderInfo.getParentOrderCode());
|
|
|
// successCodes.add(orderInfo.getParentOrderCode());
|
|
|
// } else {
|
|
|
// logger.warn("common pushOrder fail,orderCode is {},message is {}", orderInfo.getParentOrderCode(), (String) json.get("msg"));
|
|
|
// }
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
|