## 添加日志回调处理日志;
This commit is contained in:
parent
54e97027c9
commit
a8c745e97d
|
|
@ -2013,10 +2013,11 @@ public class SaOrderServiceImpl extends ServiceImpl<SaOrderMapper, SaOrder> impl
|
|||
|
||||
SaOrderExt saOrderExt = querySaleOrderExtByOrderCode(querySaOrder, null);
|
||||
if (saOrderExt == null) {
|
||||
log.error("在线支付回调,数据库订单不存在:{}", orderCode);
|
||||
saOrderExt = redisService.getCacheObject(CacheConstants.TEMP_ORDER + pkMember + orderCode);
|
||||
if (saOrderExt == null) {
|
||||
// 订单已经不存在
|
||||
log.warn("在线支付回调,订单已经不存在");
|
||||
log.error("在线支付回调,订单已经不存在");
|
||||
return Boolean.FALSE;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -212,7 +212,7 @@ public class PayServiceImpl implements IPayService {
|
|||
case DIRECT_SELLING:
|
||||
// 直销订单
|
||||
R<Boolean> directSellingResult = iSaOrderServiceApi.onlinePaymentCallBack(onlinePayment.getPkCreator(), onlinePayment.getBusinessCode());
|
||||
log.info("直销订单在线支付业务回调处理: success: {}, data: {}", directSellingResult.isSuccess(), directSellingResult.getData());
|
||||
log.info("直销订单在线支付业务回调处理: success: {}, data: {}, msg: {}", directSellingResult.isSuccess(), directSellingResult.getData(), directSellingResult.getMsg());
|
||||
if (directSellingResult.isSuccess() && directSellingResult.getData()) {
|
||||
resultInt = 1;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue