【7.1.1】修复错误的接口资源名称

pull/22/head
fengshuonan 2021-08-11 13:59:55 +08:00
parent 708a3f632a
commit 7d82393613
2 changed files with 5 additions and 5 deletions

View File

@ -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();

View File

@ -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";
}