@Controller
@RequestMapping(value="manager/coremenu")
public class CoreMenuController
extends java.lang.Object
构造器和说明 |
---|
CoreMenuController() |
限定符和类型 | 方法和说明 |
---|---|
RetVo |
add(CoreRes coreRes)
新增菜单
|
RetVo |
del(java.util.Map<java.lang.String,java.lang.String> map) |
java.lang.String |
main(javax.servlet.http.HttpServletRequest request)
主页面
|
RetVo |
modifyMenuData(CoreRes coreres)
更新菜单数据
|
RetVo |
query(java.util.Map<java.lang.String,java.lang.Object> map)
获取菜单数据
|
@RequestMapping(value="/", method=GET) public java.lang.String main(javax.servlet.http.HttpServletRequest request)
request
- 请求对象@ResponseBody @RequestMapping(value="query", method=POST) public RetVo query(@RequestParam java.util.Map<java.lang.String,java.lang.Object> map)
map
- 参数@ResponseBody @RequestMapping(value="modify", method=POST) public RetVo modifyMenuData(@RequestBody CoreRes coreres) throws java.lang.Exception
coreres
- 资源实体java.lang.Exception
- 出错会抛出异常@ResponseBody @RequestMapping(value="del", method=DELETE) public RetVo del(@RequestBody java.util.Map<java.lang.String,java.lang.String> map) throws java.lang.Exception
map
- 参数java.lang.Exception
- 出错会抛出异常
删除菜单