瀏覽代碼

修改notiry通知

yq 3 年之前
父節點
當前提交
91e755a772
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/main/java/com/usky/dxtop/controller/web/TopNotifyController.java

+ 2 - 1
src/main/java/com/usky/dxtop/controller/web/TopNotifyController.java

@@ -79,9 +79,10 @@ public class TopNotifyController {
                         callApiLogService.update(cal);
                     });
             Order order = orderService.one(merchantOrderNo);
-            orderService.paySuccess(order);
             if (null == order){
                 log.error("---order---notify"+"订单编号不存在");
+            }else {
+                orderService.paySuccess(order);
             }
         }catch (Exception e){
             log.error("---order---notify"+e.getMessage());