zoujiajian 3 anni fa
parent
commit
5612f45973

+ 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();