|
@ -356,7 +356,7 @@ public class DoctorJMJkEduArticleController extends BaseController {
|
|
|
|
|
|
|
|
|
com.alibaba.fastjson.JSONObject response = jmJkEduArticleService.queryArticlePcList(firstLevelCategoryId, secondLevelCategoryId, insertTimeStart, insertTimeEnd, articlelevel, articleTitle,
|
|
|
"0de7295862dd11e69faffa163e8aee56", currentUserRole, currentUserRoleLevel, isAuthentication, isMyArticle, page, pageSize,null);
|
|
|
getUID(), currentUserRole, currentUserRoleLevel, isAuthentication, isMyArticle, page, pageSize,null);
|
|
|
|
|
|
return write(200,"查询成功!","data",response);
|
|
|
} catch (Exception e){
|
|
@ -404,6 +404,26 @@ public class DoctorJMJkEduArticleController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "saveArticleCollection",method = RequestMethod.POST)
|
|
|
@ApiOperation("收藏文章")
|
|
|
@ObserverRequired
|
|
|
public String saveArticleCollection(@ApiParam(name = "articleId", value = "文章id")
|
|
|
@RequestParam(value = "articleId", required = true) String articleId,
|
|
|
@ApiParam(name = "articleCategoryId", value = "文章类别ID")
|
|
|
@RequestParam(value = "articleCategoryId", required = false,defaultValue = "1") String articleCategoryId,
|
|
|
@ApiParam(name = "articleCategoryName", value = "文章类别名称")
|
|
|
@RequestParam(value = "articleCategoryName", required = false) String articleCategoryName){
|
|
|
try {
|
|
|
thirdJkEduArticleService.saveArticleCollection(articleId,articleCategoryId,articleCategoryName,getRepUID(),1);
|
|
|
// thirdJkEduArticleService.saveArticleCollection(articleId,articleCategoryId,articleCategoryName,"0de7295862dd11e69faffa163e8aee56",1);
|
|
|
|
|
|
return success("收藏成功!");
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
return error(-1,"收藏失败!");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
/*************************************************************************医生角色end***************************************************************************************************/
|
|
|
|