Browse Source

1.欧派推送数据开启

training
zhenghaoyu 1 year ago
parent
commit
fb4fc5d36a
  1. 19
      blade-service/logpm-factory/src/main/java/com/logpm/factory/receiver/OrderStatusHandler.java

19
blade-service/logpm-factory/src/main/java/com/logpm/factory/receiver/OrderStatusHandler.java

@ -96,15 +96,16 @@ public class OrderStatusHandler {
}
break;
// case FactoryConstant.OUPAI:
// r = ouPaiFactoryService.handleStatusData(orderStatusDTO);
// if (r.getCode() == 400 || r.getCode() == 200) {
// log.info("TAG {} ##################orderStatusHandler: 该条数据不用处理 orderNo={}", FactoryConstant.OUPAI, orderSelfNum);
//// channel.basicAck(deliveryTag,true);
// } else {
// throw new CustomerException(r.getCode(), r.getMsg());
// }
case FactoryConstant.OUPAI:
//测试网开启 正式网关闭
r = ouPaiFactoryService.handleStatusData(orderStatusDTO);
if (r.getCode() == 400 || r.getCode() == 200) {
log.info("TAG {} ##################orderStatusHandler: 该条数据不用处理 orderNo={}", FactoryConstant.OUPAI, orderSelfNum);
// channel.basicAck(deliveryTag,true);
} else {
throw new CustomerException(r.getCode(), r.getMsg());
}
break;
default:
log.info("##################orderStatusHandler: 未知品牌 type={}", type);

Loading…
Cancel
Save