自动化立体仓库 - WMS系统
#
luxiaotao1123
2020-06-23 035bd551cd55080e71687e79c8f5ea59ff542c7a
src/main/java/com/zy/system/controller/RoleController.java
@@ -74,7 +74,7 @@
    }
    @RequestMapping(value = "/role/edit/auth")
    @ManagerAuth
    @ManagerAuth(memo = "角色编辑")
    public R edit(Role role) {
        if (Cools.isEmpty(role)){
            return R.error();
@@ -88,14 +88,14 @@
    }
    @RequestMapping(value = "/role/add/auth")
    @ManagerAuth
    @ManagerAuth(memo = "角色添加")
    public R add(Role role) {
        roleService.insert(role);
        return R.ok();
    }
   @RequestMapping(value = "/role/update/auth")
    @ManagerAuth
    @ManagerAuth(memo = "角色修改")
    public R update(Role role){
        if (Cools.isEmpty(role) || null==role.getId()){
            return R.error();
@@ -105,7 +105,7 @@
    }
    @RequestMapping(value = "/role/delete/auth")
    @ManagerAuth
    @ManagerAuth(memo = "角色删除")
    public R delete(Integer[] ids){
        if (Cools.isEmpty(ids)){
            return R.error();
@@ -115,7 +115,7 @@
    }
    @RequestMapping(value = "/role/export/auth")
    @ManagerAuth
    @ManagerAuth(memo = "角色导出")
    public R export(@RequestBody JSONObject param){
        List<String> fields = JSONObject.parseArray(param.getJSONArray("fields").toJSONString(), String.class);
        EntityWrapper<Role> wrapper = new EntityWrapper<>();