Pārlūkot izejas kodu

修改notiry通知

yq 3 gadi atpakaļ
vecāks
revīzija
91e755a772

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

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