Aslee 4 years ago
parent
commit
a37e7432ee

+ 1 - 1
src/main/java/com/caimei/modules/hehe/web/CmHeheUserController.java

@@ -130,7 +130,7 @@ public class CmHeheUserController extends BaseController {
     @RequestMapping(value = "deleteActivityProduct")
     public String deleteActivityProduct(Integer userId, String productId, RedirectAttributes redirectAttributes) {
         cmHeheUserService.deleteActivityProduct(userId, productId);
-        addMessage(redirectAttributes, "删除商品成功");
+        addMessage(redirectAttributes, "删除活动商品成功");
         return "redirect:" + Global.getAdminPath() + "/hehe/cmHeheUser/activityProductList?userId=" + userId;
     }
 

+ 2 - 2
src/main/webapp/WEB-INF/views/modules/hehe/cmHeheActivityProductList.jsp

@@ -181,8 +181,8 @@
                             }
                         }, "JSON");//这里返回的类型有:json,html,xml,text
                     } else {
-                        showLadder(id);
-                        alertx("请输入正确的阶梯价格")
+                        top.$.jBox.tip("请输入正确的阶梯价格");
+                        return false;
                     }
                 }
                 return true;