1.我的添加消息未读数量
2.添加消息已读接口
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.ruoyi.cms.controller.app;
|
||||
|
||||
import com.alibaba.excel.util.StringUtils;
|
||||
import com.ruoyi.cms.domain.Job;
|
||||
import com.ruoyi.cms.domain.Notice;
|
||||
import com.ruoyi.cms.service.IAppNoticeService;
|
||||
@@ -44,6 +45,19 @@ public class AppNoticeInfoController extends BaseController {
|
||||
appNoticeService.sysNotice(id);
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
@ApiOperation("通知已读")
|
||||
@PostMapping("/read/noticeRead")
|
||||
@BussinessLog(title = "系统通知标记已读")
|
||||
public AjaxResult noticeRead(@RequestParam String id)
|
||||
{
|
||||
if(StringUtils.isBlank(id)){
|
||||
return error("参数为空!");
|
||||
}
|
||||
appNoticeService.noticeRead(id);
|
||||
return AjaxResult.success();
|
||||
}
|
||||
|
||||
@ApiOperation("岗位推荐、招聘会已读")
|
||||
@PostMapping("/read")
|
||||
@BussinessLog(title = "岗位推荐、招聘会已读标记已读")
|
||||
|
||||
Reference in New Issue
Block a user