右上角铃铛消息控制到账号
This commit is contained in:
@ -45,8 +45,11 @@ public class SysNoticeController extends BaseController
|
|||||||
}
|
}
|
||||||
@RequiresPermissions("system:notice:view")
|
@RequiresPermissions("system:notice:view")
|
||||||
@GetMapping("/notice2")
|
@GetMapping("/notice2")
|
||||||
public String notice2()
|
public String notice2(ModelMap mmap)
|
||||||
{
|
{
|
||||||
|
SysNotice notice = new SysNotice();
|
||||||
|
notice.setUserId(getSysUser().getUserId());
|
||||||
|
mmap.put("notice", notice);
|
||||||
return prefix + "/notice2";
|
return prefix + "/notice2";
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -10,6 +10,7 @@
|
|||||||
<form id="notice-form">
|
<form id="notice-form">
|
||||||
<div class="select-list">
|
<div class="select-list">
|
||||||
<input type="hidden" class="form-control" name="status" value="0" >
|
<input type="hidden" class="form-control" name="status" value="0" >
|
||||||
|
<input type="hidden" class="form-control" name="userId" th:field="*{notice.userId}" >
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
类型:<select name="noticeType" th:with="type=${@dict.getType('sys_notice_type')}">
|
类型:<select name="noticeType" th:with="type=${@dict.getType('sys_notice_type')}">
|
||||||
|
|||||||
Reference in New Issue
Block a user