|
@@ -69,7 +69,7 @@ public class SysNoticeController extends BaseController
|
|
*/
|
|
*/
|
|
@PreAuthorize("@ss.hasPermi('system:notice:edit')")
|
|
@PreAuthorize("@ss.hasPermi('system:notice:edit')")
|
|
@Log(title = "通知公告", businessType = BusinessType.UPDATE)
|
|
@Log(title = "通知公告", businessType = BusinessType.UPDATE)
|
|
- @RequestMapping
|
|
|
|
|
|
+ @RequestMapping("/edit")
|
|
public AjaxResult edit(@Validated @RequestBody SysNotice notice)
|
|
public AjaxResult edit(@Validated @RequestBody SysNotice notice)
|
|
{
|
|
{
|
|
notice.setUpdateBy(getUsername());
|
|
notice.setUpdateBy(getUsername());
|
|
@@ -81,7 +81,7 @@ public class SysNoticeController extends BaseController
|
|
*/
|
|
*/
|
|
@PreAuthorize("@ss.hasPermi('system:notice:remove')")
|
|
@PreAuthorize("@ss.hasPermi('system:notice:remove')")
|
|
@Log(title = "通知公告", businessType = BusinessType.DELETE)
|
|
@Log(title = "通知公告", businessType = BusinessType.DELETE)
|
|
- @PostMapping("/{noticeIds}")
|
|
|
|
|
|
+ @RequestMapping("/{noticeIds}")
|
|
public AjaxResult remove(@PathVariable Long[] noticeIds)
|
|
public AjaxResult remove(@PathVariable Long[] noticeIds)
|
|
{
|
|
{
|
|
return toAjax(noticeService.deleteNoticeByIds(noticeIds));
|
|
return toAjax(noticeService.deleteNoticeByIds(noticeIds));
|