|
@ -414,7 +414,7 @@ public class DoctorJMJkEduArticleController extends BaseController {
|
|
|
@ApiParam(name = "articleCategoryName", value = "文章类别名称")
|
|
|
@RequestParam(value = "articleCategoryName", required = false) String articleCategoryName){
|
|
|
try {
|
|
|
thirdJkEduArticleService.saveArticleCollection(articleId,articleCategoryId,articleCategoryName,getRepUID(),1);
|
|
|
thirdJkEduArticleService.saveArticleCollection(articleId,articleCategoryId,articleCategoryName,getUID(),1);
|
|
|
// thirdJkEduArticleService.saveArticleCollection(articleId,articleCategoryId,articleCategoryName,"0de7295862dd11e69faffa163e8aee56",1);
|
|
|
|
|
|
return success("收藏成功!");
|
|
@ -424,6 +424,21 @@ public class DoctorJMJkEduArticleController extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@RequestMapping(value = "cancelArticleCollection",method = RequestMethod.POST)
|
|
|
@ApiOperation("取消收藏文章")
|
|
|
@ObserverRequired
|
|
|
public String cancelArticleCollection(@ApiParam(name = "articleId", value = "文章id",defaultValue = "1")
|
|
|
@RequestParam(value = "articleId", required = true) String articleId){
|
|
|
try {
|
|
|
thirdJkEduArticleService.cancelArticleCollection(articleId,getUID(),1);
|
|
|
// thirdJkEduArticleService.cancelArticleCollection(articleId,"0de7295862dd11e69faffa163e8aee56",1);
|
|
|
return success("取消成功!");
|
|
|
}catch (Exception e){
|
|
|
e.printStackTrace();
|
|
|
return error(-1,"取消失败!");
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
/*************************************************************************医生角色end***************************************************************************************************/
|
|
|
|