@Controller @RequestMapping(value="/notice") public class NoticeController extends BaseController
FORWARD, REDIRECT, SUCCESS_TIP| Constructor and Description |
|---|
NoticeController() |
| Modifier and Type | Method and Description |
|---|---|
Object |
add(Notice notice)
新增通知
|
Object |
delete(Integer noticeId)
删除通知
|
String |
hello()
跳转到首页通知
|
String |
index()
跳转到通知列表首页
|
Object |
list(String condition)
获取通知列表
|
String |
noticeAdd()
跳转到添加通知
|
String |
noticeUpdate(Integer noticeId,
org.springframework.ui.Model model)
跳转到修改通知
|
Object |
update(Notice notice)
修改通知
|
deleteAllCookie, deleteCookieByName, getHttpServletRequest, getHttpServletResponse, getPara, getSession, getSession, renderFile, renderFile, renderFile, setAttr, warpObject@RequestMapping(value="") public String index()
@RequestMapping(value="/notice_add") public String noticeAdd()
@RequestMapping(value="/notice_update/{noticeId}")
public String noticeUpdate(@PathVariable
Integer noticeId,
org.springframework.ui.Model model)
@RequestMapping(value="/hello") public String hello()
@RequestMapping(value="/delete") @ResponseBody public Object delete(@RequestParam Integer noticeId)
Copyright © 2018. All rights reserved.