mirror of https://gitee.com/stylefeng/roses
【7.1.1】修复错误的接口资源名称
parent
708a3f632a
commit
7d82393613
|
@ -64,7 +64,7 @@ public class SysRoleController {
|
|||
* @author majianguo
|
||||
* @date 2020/11/5 上午10:38
|
||||
*/
|
||||
@PostResource(name = "添加系统", path = "/sysRole/add")
|
||||
@PostResource(name = "添加角色", path = "/sysRole/add")
|
||||
public ResponseData add(@RequestBody @Validated(SysRoleRequest.add.class) SysRoleRequest sysRoleRequest) {
|
||||
sysRoleService.add(sysRoleRequest);
|
||||
return new SuccessResponseData();
|
||||
|
|
|
@ -26,23 +26,23 @@ public class PositionViewController {
|
|||
}
|
||||
|
||||
/**
|
||||
* 职位管理-首页-视图
|
||||
* 职位管理-添加-视图
|
||||
*
|
||||
* @author chenjinlong
|
||||
* @date 2020/11/04 11:07
|
||||
*/
|
||||
@GetResource(name = "职位管理-首页-视图", path = "/view/position/addView")
|
||||
@GetResource(name = "职位管理-添加-视图", path = "/view/position/addView")
|
||||
public String addView() {
|
||||
return "/modular/system/position/position_add.html";
|
||||
}
|
||||
|
||||
/**
|
||||
* 职位管理-首页-视图
|
||||
* 职位管理-修改-视图
|
||||
*
|
||||
* @author chenjinlong
|
||||
* @date 2020/11/04 11:07
|
||||
*/
|
||||
@GetResource(name = "职位管理-首页-视图", path = "/view/position/editView")
|
||||
@GetResource(name = "职位管理-修改-视图", path = "/view/position/editView")
|
||||
public String editView() {
|
||||
return "/modular/system/position/position_edit.html";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue