<?php
return [
    'adminEmail' => 'admin@example.com',
    'supportEmail' => 'support@example.com',
    'user.passwordResetTokenExpire' => 3600,
    'auth' => [
        'userAuthOn' => true, //是否开启RBAC权限认证
        'requireAuthOperation' => [
            'admin/site/cache', //更新缓存
            'home/message/short-message', //发送短消息
            'home/message/notice', //发送通知公告
        ], //需要认证的操作,主要防止无需认证控制器里还有操作需要认证
        'notAuthController' => ['site', 'link', 'attachment', 'user-portlet', 'message', 'announcement'], //默认无需认证控制器
        'notAuthAction' => [], //默认无需认证动作
        'notAuthOperation' => [
            'contract/contract/get-customer-message',   //获取客户的基本信息
            'contract/contract/get-maint-period',

            'task/task/ajax-get-tree-data', //任务详情获取左侧树
            'task/task/ajax-get-task', //ajax获取一个任务
            'task/task/list-iframe',
            'task/task/get-treedata',

            'receivable/plan/ajax', //回款计划获取合同对应的项目以及客户
            'receivable/receivable/ajax', //回款获取合同对应的项目以及客户
            'receivable/receivable/get-account', //回款获取对应收款银行下的账号信息
            'receivable/billing/ajax', //开票获取合同对应的项目
            'reimbursement/reimbursement/index-iframe', //报销列表页iframe
            'reimbursement/application/index-iframe', //申请单列表页iframe
            'reimbursement/reimbursement/statistics-iframe', //报销类别统计iframe
            'reimbursement/reimbursement/get-check-money', //报销金额检测
            'reimbursement/reimbursement/get-category', //报销类别树生成
            'reimbursement/reimbursement/get-treedata',//报销左侧人员关系树
            'reimbursement/application/get-treedata',//申请单左侧人员关系树
            'project/project/get-customer', //项目获取客户地址
            'project/project/get-customer-by-contract', //项目根据选择的合同获取客户信息
            'project/project/get-scope-category', //项目获取实施范围类别菜单
            'project/project/get-scope-implement', //项目获取对应类别下的实施范围菜单
            'project/project/get-scope', //项目获取实施范围信息
            'project/project/get-resource-cat', //项目获取资源信息类别菜单
            'project/project/get-resource-list', //项目获取对应类别下的资源信息菜单
            'project/project/get-resource', //项目获取资源信息
            'project/project/get-business', //项目获取商务联系人电话
            'project/project/export-resource',//导出项目资源
            'project/project/index-iframe',

            'project/scope-implement/get-treedata',
            'project/scope-implement/list',
            'project/resource/list',
            'project/resource/get-treedata',

            'home/area/select-city',
            'home/area/select-area',
            'home/area/select-province',
            'blog/blog/ajax-get-link-blog', //获取关联信息的日志
            'blog/blog/get-treedata',//获取部门以及用户信息
            'blog/blog/get-blogs',//日历获取日志数据
            'blog/blog/write-daily',//填写日志：针对外部的提交日志
            'blog/blog/list-iframe',
            'blog/blog/un-write',

            'plan/plan/get-plans',//日历获取计划数据
            'plan/plan/get-treedata',//计划获取树形数据
            'plan/plan/list-iframe',

            'customer/district/select-customer',
            'customer/district/select-district',
            'customer/district/select-city',
            'customer/district/select-area',
            'customer/district/district-city',
            'customer/district/district-area',
            'customer/district/select-opportunity',
            'customer/customer/update-address',

            'sale/opportunity/select-link',   //销售机会选择客户后关联操作
            'schedule/schedule/ajax-get-link-schedule',  //客户获取日程总数的操作
            'schedule/schedule/skip',  //客户日程关联跳转
            'schedule/schedule/list-iframe',  //日程首页框架
            'schedule/schedule/get-treedata',

            'customer/customer/index-iframe',
            'customer/customer/get-treedata',
            'contract/contract/index-iframe',
            'contract/contract/get-treedata',

            'delivery/delivery/get-resource-cat', //物品发货新增行操作
            'delivery/resource-apply/get-resource-cat', //发货申请新增行操作

            'statement/statement-account/ajax-get-customer',//进账管理客户查询
            'statement/statement-account/create-link',//进账关联客户添加
            'statement/statement-import/import-map',//导入字段映射
            'statement/statement-import/do-import'//导入

        ], //默认无需认证操作
        'superAdminRole' => '超级管理员', //超级管理员角色标识
    ],
];
