|
@ -207,12 +207,13 @@ public class HealthEduArticleController extends BaseController {
|
|
|
@RequestMapping(value = "/readAllArticle", method = RequestMethod.GET)
|
|
|
@ResponseBody
|
|
|
@ApiOperation("对当前用户的所有未读文章设置为已读")
|
|
|
public String readAllArticle() {
|
|
|
public String readAllArticle(@ApiParam(name = "firstLevelCategoryId", value = "一级分类ID")
|
|
|
@RequestParam(value = "firstLevelCategoryId", required = true) String firstLevelCategoryId) {
|
|
|
try {
|
|
|
// String patient = getUID();
|
|
|
String patient = getRepUID();
|
|
|
// healthEduArticleService.readAllArticle(patient);
|
|
|
jmJkEduArticleService.readAllArticleNew(patient);
|
|
|
jmJkEduArticleService.readAllArticleNew(patient,firstLevelCategoryId);
|
|
|
return write(200, "更改状态成功!");
|
|
|
} catch (Exception e) {
|
|
|
error(e);
|