yujian
2019-05-15 9cd1919e66ee4dc3c9ef058f34c86bc884b34529
fanli/src/main/java/com/yeshi/fanli/controller/client/UserGoodsStorageController.java
@@ -129,10 +129,12 @@
      if (page == null || page < 1) {
         out.print(JsonUtil.loadFalseResult("页码不正确"));
         return;
      }
      if (uid == null) {
         out.print(JsonUtil.loadFalseResult("用户未登录"));
         return;
      }
      try {
@@ -226,6 +228,12 @@
            out.print(JsonUtil.loadFalseResult("分享商品数量不足"));
            return;
         }
         if (listStorageID.size() != 9) {
            out.print(JsonUtil.loadFalseResult("分享商品数量只能是9个"));
            return;
         }
         JSONObject data = userGoodsStorageService.shareGoods(uid, listStorageID);
         out.print(JsonUtil.loadTrueResult(data));