<?php
/**
 * 总后台功能权限
 */
return [
    // 数据管理
    [
        'id' => 'addons\webman\controller\AdminController\updatePassword',
        'pid' => 0,
        'action' => 'updatePassword',
        'method' => '',
        'group' => 'all',
        'url' => 'ex-admin/addons-webman-controller-AdminController/updatePassword',
        'title' => '修改密码',
    ],
    [
        'id' => 'addons\webman\controller\AdminController\editInfo',
        'pid' => 0,
        'action' => 'editInfo',
        'method' => '',
        'group' => 'all',
        'url' => 'ex-admin/addons-webman-controller-AdminController/editInfo',
        'title' => '个人信息',
    ],
    [
        'id' => 'addons\webman\controller\AdminController\resetPassword',
        'pid' => 0,
        'action' => 'resetPassword',
        'method' => '',
        'group' => 'all',
        'url' => 'ex-admin/addons-webman-controller-AdminController/resetPassword',
        'title' => '重置密码',
    ],
    [
        'id' => 'addons\webman\controller\IndexController\index',
        'pid' => 0,
        'action' => 'index',
        'method' => 'get',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-IndexController/index',
        'title' => '数据中心',
    ],
    // 权限管理
    [
        'id' => 'addons\webman\controller\AdminController-',
        'pid' => 0,
        'url' => '',
        'group' => 'department',
        'title' => '权限管理',
        'children' => []
    ],
    // 用户管理
    [
        'id' => 'addons\webman\controller\AdminController\index',
        'pid' => 'addons\webman\controller\AdminController-',
        'action' => 'index',
        'method' => 'get',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-AdminController/index',
        'title' => '用户管理',
    ],
    [
        'id' => 'addons\webman\controller\AdminController\index-delete',
        'pid' => 'addons\webman\controller\AdminController\index',
        'action' => 'index',
        'method' => 'delete',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-AdminController/index',
        'title' => '删除系统用户',
    ],
    [
        'id' => 'addons\webman\controller\AdminController\form-post',
        'pid' => 'addons\webman\controller\AdminController\index',
        'action' => 'form',
        'method' => 'post',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-AdminController/form',
        'title' => '系统用户添加',
    ],
    [
        'id' => 'addons\webman\controller\AdminController\form-put',
        'pid' => 'addons\webman\controller\AdminController\index',
        'action' => 'form',
        'method' => 'put',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-AdminController/form',
        'title' => '系统用户修改',
    ],
    // 角色管理
    [
        'id' => 'addons\webman\controller\RoleController\index',
        'pid' => 'addons\webman\controller\AdminController-',
        'action' => 'index',
        'method' => 'get',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-RoleController/index',
        'title' => '角色管理',
    ],
    [
        'id' => 'addons\webman\controller\RoleController\index-delete',
        'pid' => 'addons\webman\controller\RoleController\index',
        'action' => 'index',
        'method' => 'delete',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-RoleController/index',
        'title' => '删除系统角色',
    ],
    [
        'id' => 'addons\webman\controller\RoleController\form-post',
        'pid' => 'addons\webman\controller\RoleController\index',
        'action' => 'form',
        'method' => 'post',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-RoleController/form',
        'title' => '添加系统角色',
    ],
    [
        'id' => 'addons\webman\controller\RoleController\form-put',
        'pid' => 'addons\webman\controller\RoleController\index',
        'action' => 'form',
        'method' => 'put',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-RoleController/form',
        'title' => '编辑系统角色',
    ],
    [
        'id' => 'addons\webman\controller\RoleController\data',
        'pid' => 'addons\webman\controller\RoleController\index',
        'action' => 'data',
        'method' => '',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-RoleController/data',
        'title' => '数据权限',
    ],
    [
        'id' => 'addons\webman\controller\RoleController\menu-post',
        'pid' => 'addons\webman\controller\RoleController\index',
        'action' => 'menu',
        'method' => 'post',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-RoleController/menu',
        'title' => '添加菜单权限',
    ],
    [
        'id' => 'addons\webman\controller\RoleController\menu-put',
        'pid' => 'addons\webman\controller\RoleController\index',
        'action' => 'menu',
        'method' => 'put',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-RoleController/menu',
        'title' => '编辑菜单权限',
    ],
    [
        'id' => 'addons\webman\controller\RoleController\auth-post',
        'pid' => 'addons\webman\controller\RoleController\index',
        'action' => 'auth',
        'method' => 'post',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-RoleController/auth',
        'title' => '添加功能权限',
    ],
    [
        'id' => 'addons\webman\controller\RoleController\auth-put',
        'pid' => 'addons\webman\controller\RoleController\index',
        'action' => 'auth',
        'method' => 'put',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-RoleController/auth',
        'title' => '编辑功能权限',
    ],
    //菜单管理
    [
        'id' => 'addons\webman\controller\MenuController\index',
        'pid' => 'addons\webman\controller\AdminController-',
        'action' => 'index',
        'method' => '',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-MenuController/index',
        'title' => '菜单管理',
    ],
    [
        'id' => 'addons\webman\controller\MenuController\form-post',
        'pid' => 'addons\webman\controller\MenuController\index',
        'action' => 'form',
        'method' => 'post',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-MenuController/form',
        'title' => '添加系统菜单',
    ],
    [
        'id' => 'addons\webman\controller\MenuController\form-put',
        'pid' => 'addons\webman\controller\MenuController\index',
        'action' => 'form',
        'method' => 'put',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-MenuController/form',
        'title' => '编辑系统菜单',
    ],
    //部门管理
    [
        'id' => 'addons\webman\controller\DepartmentController\index',
        'pid' => 'addons\webman\controller\AdminController-',
        'action' => 'index',
        'method' => 'get',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-DepartmentController/index',
        'title' => '部门管理',
    ],
    [
        'id' => 'addons\webman\controller\DepartmentController\index-delete',
        'pid' => 'addons\webman\controller\DepartmentController\index',
        'action' => 'index',
        'method' => 'delete',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-DepartmentController/index',
        'title' => '删除部门',
    ],
    [
        'id' => 'addons\webman\controller\DepartmentController\form-post',
        'pid' => 'addons\webman\controller\DepartmentController\index',
        'action' => 'form',
        'method' => 'post',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-DepartmentController/form',
        'title' => '添加部门',
    ],
    [
        'id' => 'addons\webman\controller\DepartmentController\form-put',
        'pid' => 'addons\webman\controller\DepartmentController\index',
        'action' => 'form',
        'method' => 'put',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-DepartmentController/form',
        'title' => '编辑部门',
    ],
    //岗位管理
    [
        'id' => 'addons\webman\controller\PostController\index',
        'pid' => 'addons\webman\controller\AdminController-',
        'action' => 'index',
        'method' => 'get',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-PostController/index',
        'title' => '岗位管理',
    ],
    [
        'id' => 'addons\webman\controller\PostController\index-delete',
        'pid' => 'addons\webman\controller\PostController\index',
        'action' => 'index',
        'method' => 'delete',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-PostController/index',
        'title' => '删除岗位',
    ],
    [
        'id' => 'addons\webman\controller\PostController\form-post',
        'pid' => 'addons\webman\controller\PostController\index',
        'action' => 'form',
        'method' => 'post',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-PostController/form',
        'title' => '添加岗位',
    ],
    [
        'id' => 'addons\webman\controller\PostController\form-put',
        'pid' => 'addons\webman\controller\PostController\index',
        'action' => 'form',
        'method' => 'put',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-PostController/form',
        'title' => '编辑岗位',
    ],
    //玩家管理
    [
        'id' => 'addons\webman\controller\PlayerController-',
        'pid' => 0,
        'url' => '',
        'group' => 'department',
        'title' => '玩家管理',
        'children' => []
    ],
    [
        'id' => 'addons\webman\controller\PlayerDeliveryRecordController\index',
        'pid' => 'addons\webman\controller\PlayerController-',
        'action' => 'index',
        'method' => 'get',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-PlayerController/index',
        'title' => '账变记录',
    ],
    [
        'id' => 'addons\webman\controller\PlayerController\index',
        'pid' => 'addons\webman\controller\PlayerController-',
        'action' => 'index',
        'method' => 'get',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-PlayerController/index',
        'title' => '玩家列表',
    ],
    [
        'id' => 'addons\webman\controller\PlayerController\artificialWithdrawal',
        'pid' => 'addons\webman\controller\PlayerController\index',
        'action' => 'artificialWithdrawal',
        'method' => '',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-PlayerController/artificialWithdrawal',
        'title' => '人工提现'
    ],
    [
        'id' => 'addons\webman\controller\PlayerController\artificialRecharge',
        'pid' => 'addons\webman\controller\PlayerController\index',
        'action' => 'artificialRecharge',
        'method' => '',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-PlayerController/artificialRecharge',
        'title' => '人工充值'
    ],
    [
        'id' => 'addons\webman\controller\PlayerController\index-delete',
        'pid' => 'addons\webman\controller\PlayerController\index',
        'action' => 'index',
        'method' => 'delete',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-PlayerController/index',
        'title' => '删除玩家',
    ],
    [
        'id' => 'addons\webman\controller\PlayerController\form-post',
        'pid' => 'addons\webman\controller\PlayerController\index',
        'action' => 'form',
        'method' => 'post',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-PlayerController/form',
        'title' => '添加玩家',
    ],
    [
        'id' => 'addons\webman\controller\PlayerController\form-put',
        'pid' => 'addons\webman\controller\PlayerController\index',
        'action' => 'form',
        'method' => 'put',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-PlayerController/form',
        'title' => '编辑玩家',
    ],
    [
        'id' => 'addons\webman\controller\PlayerController\resetPassword',
        'pid' => 'addons\webman\controller\PlayerController\index',
        'action' => 'resetPassword',
        'method' => '',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-PlayerController/resetPassword',
        'title' => '重置密码',
    ],
    [
        'id' => 'addons\webman\controller\PlayerController\playerWallet',
        'pid' => 'addons\webman\controller\PlayerController\index',
        'action' => 'playerWallet',
        'method' => '',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-PlayerController/playerWallet',
        'title' => '玩家钱包',
    ],
    [
        'id' => 'addons\webman\controller\PlayerController\playerRecord',
        'pid' => 'addons\webman\controller\PlayerController\index',
        'action' => 'playerRecord',
        'method' => '',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-PlayerController/playerRecord',
        'title' => '钱包记录',
    ],
    //渠道管理
    [
        'id' => 'addons\webman\controller\ChannelController-',
        'pid' => 0,
        'url' => '',
        'group' => 'department',
        'title' => '渠道管理',
        'children' => []
    ],
    [
        'id' => 'addons\webman\controller\CurrencyController\index',
        'pid' => 'addons\webman\controller\ChannelController-',
        'action' => 'index',
        'method' => 'get',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-CurrencyController/index',
        'title' => '货币列表',
    ],
    [
        'id' => 'addons\webman\controller\CurrencyController\form-post',
        'pid' => 'addons\webman\controller\CurrencyController\index',
        'action' => 'form',
        'method' => 'post',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-CurrencyController/form',
        'title' => '添加货币',
    ],
    [
        'id' => 'addons\webman\controller\CurrencyController\form-put',
        'pid' => 'addons\webman\controller\CurrencyController\index',
        'action' => 'form',
        'method' => 'put',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-CurrencyController/form',
        'title' => '编辑货币',
    ],
    [
        'id' => 'addons\webman\controller\ChannelController\index',
        'pid' => 'addons\webman\controller\ChannelController-',
        'action' => 'index',
        'method' => 'get',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-ChannelController/index',
        'title' => '渠道列表',
    ],
    [
        'id' => 'addons\webman\controller\ChannelController\index-delete',
        'pid' => 'addons\webman\controller\ChannelController\index',
        'action' => 'index',
        'method' => 'delete',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-ChannelController/index',
        'title' => '删除渠道',
    ],
    [
        'id' => 'addons\webman\controller\ChannelController\form-post',
        'pid' => 'addons\webman\controller\ChannelController\index',
        'action' => 'form',
        'method' => 'post',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-ChannelController/form',
        'title' => '添加渠道',
    ],
    [
        'id' => 'addons\webman\controller\ChannelController\form-put',
        'pid' => 'addons\webman\controller\ChannelController\index',
        'action' => 'form',
        'method' => 'put',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-ChannelController/form',
        'title' => '编辑渠道',
    ],
    //客户端管理
    [
        'id' => 'addons\webman\controller\AnnouncementController-',
        'pid' => 0,
        'url' => '',
        'group' => 'department',
        'title' => '客户端管理',
        'children' => []
    ],
    [
        'id' => 'addons\webman\controller\SystemSettingController\index',
        'pid' => 'addons\webman\controller\AnnouncementController-',
        'action' => 'index',
        'method' => 'get',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-SystemSettingController/form',
        'title' => '系统设置',
    ],
    [
        'id' => 'addons\webman\controller\AnnouncementController\index',
        'pid' => 'addons\webman\controller\AnnouncementController-',
        'action' => 'index',
        'method' => 'get',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-AnnouncementController/index',
        'title' => '公告列表',
    ],
    [
        'id' => 'addons\webman\controller\AnnouncementController\index-delete',
        'pid' => 'addons\webman\controller\AnnouncementController\index',
        'action' => 'index',
        'method' => 'delete',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-AnnouncementController/index',
        'title' => '删除公告',
    ],
    [
        'id' => 'addons\webman\controller\AnnouncementController\form-post',
        'pid' => 'addons\webman\controller\AnnouncementController\index',
        'action' => 'form',
        'method' => 'post',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-AnnouncementController/form',
        'title' => '添加公告',
    ],
    [
        'id' => 'addons\webman\controller\AnnouncementController\form-put',
        'pid' => 'addons\webman\controller\AnnouncementController\index',
        'action' => 'form',
        'method' => 'put',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-AnnouncementController/form',
        'title' => '编辑公告',
    ],
    [
        'id' => 'addons\webman\controller\SliderController\index',
        'pid' => 'addons\webman\controller\AnnouncementController-',
        'action' => 'index',
        'method' => 'get',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-SliderController/index',
        'title' => '轮播图列表',
    ],
    [
        'id' => 'addons\webman\controller\SliderController\index-delete',
        'pid' => 'addons\webman\controller\SliderController\index',
        'action' => 'index',
        'method' => 'delete',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-SliderController/index',
        'title' => '删除轮播图',
    ],
    [
        'id' => 'addons\webman\controller\SliderController\form-post',
        'pid' => 'addons\webman\controller\SliderController\index',
        'action' => 'form',
        'method' => 'post',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-SliderController/form',
        'title' => '添加轮播图',
    ],
    [
        'id' => 'addons\webman\controller\SliderController\form-put',
        'pid' => 'addons\webman\controller\SliderController\index',
        'action' => 'form',
        'method' => 'put',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-SliderController/form',
        'title' => '编辑轮播图',
    ],
    //系统管理
    [
        'id' => 'addons\webman\controller\ConfigController-',
        'pid' => 0,
        'url' => '',
        'group' => 'department',
        'title' => '系统管理',
        'children' => []
    ],
    [
        'id' => 'addons\webman\controller\ConfigController\form-get',
        'pid' => 'addons\webman\controller\ConfigController-',
        'action' => 'form',
        'method' => 'get',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-ConfigController/form',
        'title' => '查看系统配置',
    ],
    [
        'id' => 'addons\webman\controller\ConfigController\form-post',
        'pid' => 'addons\webman\controller\ConfigController-',
        'action' => 'form',
        'method' => 'post',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-ConfigController/form',
        'title' => '编辑系统配置',
    ],
    [
        'id' => 'addons\webman\controller\AttachmentController\index',
        'pid' => 'addons\webman\controller\ConfigController-',
        'action' => 'index',
        'method' => 'get',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-AttachmentController/index',
        'title' => '附件列表',
    ],
    [
        'id' => 'addons\webman\controller\AttachmentController\index-delete',
        'pid' => 'addons\webman\controller\AttachmentController\index',
        'action' => 'index',
        'method' => 'delete',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-AttachmentController/index',
        'title' => '删除附件',
    ],
    [
        'id' => 'addons\webman\controller\AttachmentController\cate',
        'pid' => 'addons\webman\controller\AttachmentController\index',
        'action' => 'cate',
        'method' => '',
        'group' => 'department',
        'url' => 'ex-admin/addons-webman-controller-AttachmentController/index',
        'title' => '附件分类',
    ],
];
