|
@@ -52,6 +52,12 @@ public class ImGroupNoticeController extends BaseController {
|
|
|
return succeed(imGroupNoticeService.queryLatestNotice(groupId));
|
|
|
}
|
|
|
|
|
|
+ @ApiOperation(value = "获取群公告")
|
|
|
+ @RequestMapping("/getNotice")
|
|
|
+ public HttpResponseResult<ImGroupNotice> getNotice(Long id) {
|
|
|
+ return succeed(imGroupNoticeService.get(id));
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation(value = "获取群公告列表")
|
|
|
@RequestMapping("/queryNoticePage")
|
|
|
public HttpResponseResult<PageInfo<ImGroupNoticeDto>> queryPage(ImGroupNoticeQueryInfo queryInfo) {
|