|
@@ -176,8 +176,8 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
result = HttpUtils.sendGet(topApiConfiger.dealSelectUrl, format,null);
|
|
result = HttpUtils.sendGet(topApiConfiger.dealSelectUrl, format,null);
|
|
}catch (Exception e){
|
|
}catch (Exception e){
|
|
orderError(order);
|
|
orderError(order);
|
|
- log.error("调用查询订单异常:"+e);
|
|
|
|
- throw new CustomException("调用查询订单异常:"+e);
|
|
|
|
|
|
+ log.error("调用查询订单异常:"+e.getMessage());
|
|
|
|
+ throw new CustomException("调用查询订单异常:"+e.getMessage());
|
|
}
|
|
}
|
|
//处理订单
|
|
//处理订单
|
|
checkOrder(order, result,JSONObject.toJSONString(param));
|
|
checkOrder(order, result,JSONObject.toJSONString(param));
|
|
@@ -248,10 +248,10 @@ public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements
|
|
payWaiting(order);
|
|
payWaiting(order);
|
|
}else if ("1".equals(trxstatus)){
|
|
}else if ("1".equals(trxstatus)){
|
|
Object msg = obj.get("msg");
|
|
Object msg = obj.get("msg");
|
|
- log.error("订单交易失败----------"+msg);
|
|
|
|
if (null != msg && "交易不存在".equals(msg.toString())){
|
|
if (null != msg && "交易不存在".equals(msg.toString())){
|
|
|
|
|
|
}else {
|
|
}else {
|
|
|
|
+ log.error("订单交易失败--------订单编号:"+order.getOrderFlag()+"-----异常:"+msg);
|
|
payError(order);
|
|
payError(order);
|
|
}
|
|
}
|
|
}
|
|
}
|