|
@@ -77,6 +77,17 @@ public class PostNoticeController extends BaseController
|
|
|
return success(postNoticeService.selectPostNoticeByNoticeId(noticeId));
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 单独获取公告详细信息
|
|
|
+ * @param noticeId
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ @ApiOperation("单独获取公告详细信息")
|
|
|
+ @PreAuthorize("@ss.hasPermi('system:notice:queryDetail')")
|
|
|
+ @GetMapping(value = "/{/detail/noticeId}")
|
|
|
+ public AjaxResult getDetail(@PathVariable("noticeId")Long noticeId){
|
|
|
+ return success(postNoticeService.selectDetailByNoticeId(noticeId));
|
|
|
+ }
|
|
|
/**
|
|
|
* 新增公告
|
|
|
*/
|