zoujiajian 3 년 전
부모
커밋
5612f45973
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      netflix-web/src/main/java/com/cyksj/web/controller/goods/GoodsDonController.java

+ 2 - 0
netflix-web/src/main/java/com/cyksj/web/controller/goods/GoodsDonController.java

@@ -116,6 +116,8 @@ public class GoodsDonController {
             StringBuilder notifyMsg = new StringBuilder();
             if (orderDon == null) {
                 notifyMsg.append("点击购买立即上车");
+                data.setNotifyMsg(notifyMsg.toString());
+                return;
             } else {
                 Date payTime = orderDon.getPayTime();
                 Date startTime = payTime != null ? payTime : orderDon.getCreatedTime();