修改消息已读接口传参方式

This commit is contained in:
sh
2026-05-20 18:31:09 +08:00
parent 9220cd6c59
commit 50e542c1d6

View File

@@ -47,9 +47,9 @@ public class AppNoticeInfoController extends BaseController {
}
@ApiOperation("通知已读")
@PostMapping("/read/noticeRead")
@BussinessLog(title = "系统通知标记已读")
public AjaxResult noticeRead(@RequestParam String id)
@PutMapping("/read/noticeRead/{id}")
@BussinessLog(title = "通知标记已读")
public AjaxResult noticeRead(@PathVariable String id)
{
if(StringUtils.isBlank(id)){
return error("参数为空!");