This commit is contained in:
zhangqinbin
2021-08-10 14:15:57 +08:00
parent 6c1da27a07
commit 403ce0e4ea

View File

@ -77,4 +77,18 @@ public class BizMessageConsumerController {
return service.selectMsgListByType(vo); return service.selectMsgListByType(vo);
} }
/**
* 信息已阅
*
* @return
*/
@ApiOperation("信息已阅")
@GetMapping("selectMsgRead/{id}")
@ResponseStatus(code = HttpStatus.OK)
public Boolean selectMsgRead( @ApiParam(value = "待查询的消息id", required = true) @PathVariable("id") String id) {
//已读
this.service.updateState(id);
return true;
}
} }