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