yujian
2019-08-02 d5b668277543c92f4e98aaeab37a2b5aa6e1da5b
fanli/src/main/java/com/yeshi/fanli/controller/admin/HotSearchAdminController.java
@@ -123,6 +123,11 @@
      }
      
      try {   
         Integer useType = hotSearch.getUseType();
         if (useType == null) {
            hotSearch.setUseType(Constant.SOURCE_TYPE_TAOBAO);
         }
         hotSearch.setId(null);
         hotSearchService.addHotSearch(hotSearch);
         JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult("添加成功"));