admin
2019-07-30 573c491b4a1ba60e12a5678a01c1546c0077c1ee
fanli/src/main/java/com/yeshi/fanli/controller/admin/HotSearchAdminController.java
@@ -155,12 +155,8 @@
            return;
         }
         
         Integer type = hotSearchService.deleteHotSearch(hsids);
         if(type==null){
            JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult("删除成功"));
         }else{
            JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("删除失败"));
         }
         hotSearchService.deleteHotSearch(hsids);
         JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult("删除成功"));
         
      } catch (Exception e) {
         JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("删除失败"));
@@ -186,14 +182,11 @@
            data.put("check", 1);
            JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult(data));
         } else {
            Integer count = superHotSearchService.deleteSuper(id, systemId);
            if (count > 0) {
               JSONObject data = new JSONObject();
               data.put("check", 0);
               JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult(data));
            } else {
               JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("修改失败"));
            }
            superHotSearchService.deleteSuper(id, systemId);
            JSONObject data = new JSONObject();
            data.put("check", 0);
            JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult(data));
         }
         
      } catch (Exception e) {