已阅
This commit is contained in:
@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user