| | |
| | | import com.matrix.system.hive.action.BaseController; |
| | | import com.matrix.system.hive.bean.Article; |
| | | import com.matrix.system.hive.bean.ArticleType; |
| | | import com.matrix.system.hive.bean.SysShopInfo; |
| | | import com.matrix.system.hive.dao.SysShopInfoDao; |
| | | import com.matrix.system.hive.service.ArticleService; |
| | | import com.matrix.system.hive.service.ArticleTypeService; |
| | | import io.swagger.annotations.Api; |
| | |
| | | @GetMapping(value = "/findKnowledgeType") |
| | | public AjaxResult findKnowledgeType() { |
| | | ArticleType type = new ArticleType(); |
| | | type.setShopId(getMe().getCompanyId()); |
| | | type.setCompanyId(getMe().getCompanyId()); |
| | | type.setParentId(0L); |
| | | return AjaxResult.buildSuccessInstance(articleTypeService.findByModel(type)); |
| | | } |