|
@ -356,17 +356,13 @@ public class ArticleEndpoint extends EnvelopRestEndpoint {
|
|
|
|
|
|
@PostMapping(value = BaseHospitalRequestMapping.KnowledgeArticle.findArticleByCategoryAndName)
|
|
|
@ApiOperation(value = "查询文章")
|
|
|
public MixEnvelop findArticleByCategoryAndName(@ApiParam(name = "categoryFirst", value = "一级分类code")
|
|
|
@RequestParam(value = "categoryFirst", required = false) String categoryFirst,
|
|
|
@ApiParam(name = "categorySecond", value = "二级分类code")
|
|
|
@RequestParam(value = "categorySecond", required = false) String categorySecond,
|
|
|
@ApiParam(name = "keyWords", value = "关键词")
|
|
|
@RequestParam(value = "keyWords", required = false) String keyWords,
|
|
|
@ApiParam(name = "page", value = "当前页")
|
|
|
@RequestParam(value = "page", required = false) Integer page,
|
|
|
@ApiParam(name = "pageSize", value = "分页大小)")
|
|
|
@RequestParam(value = "pageSize", required = false) Integer pageSize) throws Exception {
|
|
|
|
|
|
public MixEnvelop findArticleByCategoryAndName(
|
|
|
@ApiParam(name = "categoryFirst", value = "一级分类code") @RequestParam(value = "categoryFirst", required = false) String categoryFirst,
|
|
|
@ApiParam(name = "categorySecond", value = "二级分类code") @RequestParam(value = "categorySecond", required = false) String categorySecond,
|
|
|
@ApiParam(name = "keyWords", value = "关键词") @RequestParam(value = "keyWords", required = false) String keyWords,
|
|
|
@ApiParam(name = "page", value = "当前页") @RequestParam(value = "page", required = false) Integer page,
|
|
|
@ApiParam(name = "pageSize", value = "分页大小)") @RequestParam(value = "pageSize", required = false) Integer pageSize
|
|
|
) throws Exception {
|
|
|
MixEnvelop mixEnvelop = knowledgeArticleDictService.findArticleByCategoryAndName(categoryFirst, categorySecond, keyWords, page, pageSize);
|
|
|
return mixEnvelop;
|
|
|
}
|