yujian
2019-07-25 0cc3b905e5945d1b4b02ee5f91a615bcfd8f08d6
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("添加成功"));