|
@ -0,0 +1,46 @@
|
|
|
|
package com.yihu.wlyy.web.third.jkedu.controller.patient;
|
|
|
|
|
|
|
|
import com.yihu.wlyy.entity.jkedu.EduArticle;
|
|
|
|
import com.yihu.wlyy.web.third.jkedu.vo.ArticleModel;
|
|
|
|
import com.yihu.wlyy.web.third.jkedu.vo.base.ResultListModel;
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
import org.springframework.http.MediaType;
|
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
|
import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Created by Administrator on 2017/9/30.
|
|
|
|
*/
|
|
|
|
@Controller
|
|
|
|
@Api(description = "居民端--健康宣教文章")
|
|
|
|
@RequestMapping(value = "/wlyygc/patient/jkedu",produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
|
|
|
|
public class EduArticleController {
|
|
|
|
|
|
|
|
/*@RequestMapping("/getDoctorArticalList")
|
|
|
|
@ApiOperation("获取卫计委认证文章+医生发表未认证文章")
|
|
|
|
public ResultListModel<List<EduArticle>> getDoctorArticalList(
|
|
|
|
@ApiParam(name = "articleTitle",value = "文章标题",required = false)@RequestParam(value = "articleTitle",required = false)String articleTitle,
|
|
|
|
@ApiParam(name = "articleState",value = "文章标题",required = false)@RequestParam(value = "articleTitle",required = false)String articleState,
|
|
|
|
@ApiParam(name = "firstLevelCategoryId",value = "文章标题",required = false)@RequestParam(value = "articleTitle",required = false)String firstLevelCategoryId,
|
|
|
|
@ApiParam(name = "pageIndex",value = "文章标题",required = false)@RequestParam(value = "articleTitle",required = false)String pageIndex,
|
|
|
|
@ApiParam(name = "pageSize",value = "文章标题",required = false)@RequestParam(value = "articleTitle",required = false)String pageSize,
|
|
|
|
@ApiParam(name = "userId",value = "文章标题",required = false)@RequestParam(value = "articleTitle",required = false)String userId){
|
|
|
|
|
|
|
|
}*/
|
|
|
|
|
|
|
|
@RequestMapping(value = "/getDoctorArticleList",method = RequestMethod.GET)
|
|
|
|
@ApiOperation("获取医生主页中的文章列表")
|
|
|
|
public ResultListModel<ArticleModel> getDoctorArticleList(
|
|
|
|
@ApiParam(name = "keyWord",value = "搜索关键字",required = false)@RequestParam(value = "keyWord",required = false)String keyWord){
|
|
|
|
//根据公众号的openid查询到和患者签约的医生code。
|
|
|
|
//根据医生code查询这个医生的所有文章
|
|
|
|
|
|
|
|
return new ResultListModel();
|
|
|
|
}
|
|
|
|
}
|