<?php
/**
 * Created by PhpStorm.
 * User: leo
 * Date: 2018/3/6
 * Time: 上午11:12
 */
return [
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/site',
        'extraPatterns' => [
            'GET base-info' => 'base-info',
            'GET days-diff' => 'days-diff',
            'GET page-data' => 'page-data',
            'GET captcha' => 'captcha',
            'GET send-notice' => 'send-notice',
            'GET send-notify' => 'send-notify',
            'GET languages' => 'languages',
            'GET countries' => 'countries',
            'GET banks' => 'banks',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/dashboard',
        'extraPatterns' => [
            'GET index' => 'index',
            'GET total-item' => 'total-item',
            'GET reg-num' => 'reg-num',
            'GET bonus-num' => 'bonus-num',
            'GET withdraw-num' => 'withdraw-num',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/shop',
        'extraPatterns' => [
            'GET index' => 'index',
            'GET goods-nature' => 'goods-nature',
            'GET goods-list-export' => 'goods-list-export',
            'GET,POST goods-add' => 'goods-add',
            'GET,POST goods-edit' => 'goods-edit',
            'GET,POST goods-delete' => 'goods-delete',
            'POST goods-status' => 'goods-status',
            'GET package' => 'package',
            'POST package-add' => 'package-add',
            'GET,POST package-get' => 'package-get',
            'GET,POST package-delete' => 'package-delete',
            'POST package-status' => 'package-status',
            'GET,POST upload' => 'upload',
            'GET dec-order-list' => 'dec-order-list',
            'GET dec-order-list-export' => 'dec-order-list-export',
            'POST delete-order' => 'delete-order',
            'GET order-list' => 'order-list',
            'GET order-invoice-method' => 'order-invoice-method',
            'POST order-invoice-remark' => 'order-invoice-remark',
            'GET order-invoice-export/<orderSn>' => 'order-invoice-export',
            'GET order-invoice-export-file/<orderSn>' => 'order-invoice-export-file',
            'GET order-list-export' => 'order-list-export',
            'POST order-delivery' => 'order-delivery',
            'POST order-refund' => 'order-refund',
            'GET order-shop-list' => 'order-shop-list',
            'GET order-dec-list' => 'order-dec-list',
            'POST import-order-shop-to-excel-table' => 'import-order-shop-to-excel-table',
            'POST import-order-shop' => 'import-order-shop',
            'POST import-order-dec-to-excel-table' => 'import-order-dec-to-excel-table',
            'POST import-order-dec' => 'import-order-dec',
            'GET order-standard-list' => 'order-standard-list',
            'POST import-order-standard-to-excel-table' => 'import-order-standard-to-excel-table',
            'POST import-order-standard' => 'import-order-standard',
            'GET order-list-export-pdf/<orderSn>' => 'order-list-export-pdf',
            'GET dec-order-list-export-pdf/<orderSn>' => 'dec-order-list-export-pdf',
            'GET remain-pv' => 'remain-pv',
            'GET flow-remain-pv' => 'flow-remain-pv',
            'GET ba-order-list' => 'ba-order-list',
            'GET ba-order-list-export' => 'ba-order-list-export',
            'GET ba-order-list-export-pdf/<orderSn>' => 'ba-order-list-export-pdf',
            'GET,POST order-period-adjust' => 'order-period-adjust',
            'GET order-detail' => 'order-detail',
            'GET period-inspect' => 'period-inspect',
            'GET,POST order-period-adjust-batch' => 'order-period-adjust-batch',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/user',
        'extraPatterns' => [
            'GET index' => 'index',
            'GET generate-user-name' => 'generate-user-name',
            'GET filter-user' => 'filter-user',
            'GET bind' => 'bind',
            'GET,POST bind-add' => 'bind-add',
            'GET,POST bind-edit/<id>' => 'bind-edit',
            'GET,POST bind-delete' => 'bind-delete',
            'GET teamwork' => 'teamwork',
            'GET,POST teamwork-add' => 'teamwork-add',
            'GET,POST teamwork-edit/<id>' => 'teamwork-edit',
            'GET,POST teamwork-delete' => 'teamwork-delete',
            'GET system' => 'system',
            'GET,POST system-add' => 'system-add',
            'GET,POST system-edit/<id>' => 'system-edit',
            'GET,POST system-delete' => 'system-delete',
            'GET,POST system-renew' => 'system-renew',
            'GET group' => 'group',
            'GET,POST move' => 'move',
            'GET,POST move-add' => 'move-add',
            'POST move-pass' => 'move-pass',
            'POST move-edit' => 'move-edit',
            'GET move-get' => 'move-get',
            'GET move-net-type' => 'move-net-type',
            'POST move-audit' => 'move-audit',
            'POST move-delete' => 'move-delete',
            'GET,POST reg-info' => 'reg-info',
            'POST reg-info-edit' => 'reg-info-edit',
            'GET,POST reg-info-audit' => 'reg-info-audit',
            'POST reg-info-audit-add' => 'reg-info-audit-add',
            'GET reg-info-audit-add-opt' => 'reg-info-audit-add-opt',
            'POST import-reg-info-to-excel-table' => 'import-reg-info-to-excel-table',
            'POST import-reg-info' => 'import-reg-info',
            'POST reg-info-audit-audit' => 'reg-info-audit-audit',
            'POST reg-info-audit-edit' => 'reg-info-audit-edit',
            'GET reg-info-audit-get' => 'reg-info-audit-get',
            'POST reg-info-audit-delete' => 'reg-info-audit-delete',
            'GET company-bank-get' => 'company-bank-get',
            'GET full-info' => 'full-info',
            'GET base-info' => 'base-info',
            'GET main-divide' => 'main-divide',
            'GET close' => 'close',
            'GET,POST close-add' => 'close-add',
            'GET close-audit/<id>' => 'close-audit',
            'GET,POST user-add' => 'user-add',
            'GET empty-list' => 'empty-list',
            'POST import-users-to-excel-table' => 'import-users-to-excel-table',
            'POST import-users-add' => 'import-users-add',
            'GET chk-del-user' => 'chk-del-user',
            'POST user-del' => 'user-del',
            'GET dec-level-list' => 'dec-level-list',
            'POST change-user-dec-level' => 'change-user-dec-level',
            'POST change-user-dec-role' => 'change-user-dec-role',
            'POST modify-password' => 'modify-password',
            'GET profile-get' => 'profile-get',
            'POST modify-profile' => 'modify-profile',
            'POST modify-status' => 'modify-status',
            'POST is-modify-password-status' => 'is-modify-password-status',
            'POST close-login' => 'close-login',
            'POST batch-close-login' => 'batch-close-login',
            'GET close-login-get' => 'close-login-get',
            'POST close-area-login' => 'close-area-login',
            'POST close-dec' => 'close-dec',
            'POST batch-close-dec' => 'batch-close-dec',
            'GET close-dec-get' => 'close-dec-get',
            'POST close-area-dec' => 'close-area-dec',
            'GET status-audit-list' => 'status-audit-list',
            'GET,POST status-audit-add' => 'status-audit-add',
            'POST status-audit' => 'status-audit',
            'GET status-audit-get' => 'status-audit-get',
            'GET status-audit-get-statuses' => 'status-audit-get-statuses',
            'POST status-audit-delete' => 'status-audit-delete',
            'GET index-export' => 'index-export',
            'GET bind-export' => 'bind-export',
            'GET teamwork-export' => 'teamwork-export',
            'GET system-export' => 'system-export',
            'GET get-sub-com' => 'get-sub-com',
            'GET chk-relation' => 'chk-relation',
            'GET get-period-num' => 'get-period-num',
            'POST is-operating' => 'is-operating',
            'POST is-group' => 'is-group',
            'POST is-dec' => 'is-dec',
            'POST is-studio' => 'is-studio',
            'POST is-atlas' => 'is-atlas',
            'POST is-recharge' => 'is-recharge',
            'POST change-transfer-prop' => 'change-transfer-prop',
            'GET status-close-get' => 'status-close-get',
            'POST clear-wallet' => 'clear-wallet',
            'GET year-highest-emp-lv' => 'year-highest-emp-lv',
            'POST change-show-emp-level' => 'change-show-emp-level',
            'GET group-export' => 'group-export',
            'GET move-export' => 'move-export',
            'GET status-audit-export' => 'status-audit-export',
            'GET year-highest-emp-lv-export' => 'year-highest-emp-lv-export',
            'POST recharge-to-user' => 'recharge-to-user',
            'GET ba-user-list' => 'ba-user-list',
            'GET ba-user-list-export' => 'ba-user-list-export',
            'POST ba-modify-password' => 'ba-modify-password',
            'GET ba-profile-get' => 'ba-profile-get',
            'POST ba-modify-profile' => 'ba-modify-profile',
            'POST ba-modify-status' => 'ba-modify-status',
            'POST ba-is-modify-password-status' => 'ba-is-modify-password-status',
            'GET change-highest-emp-level-list' => 'change-highest-emp-level-list',
            'POST change-highest-emp-level' => 'change-highest-emp-level',
            'GET immigrant-list' => 'immigrant-list',
            'POST,GET immigrant' => 'immigrant',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/reconsume',
        'extraPatterns' => [
            'GET pool-list' => 'pool-list',
            'GET change-audit-list' => 'change-audit-list',
            'GET,POST change-audit-add' => 'change-audit-add',
            'POST change-audit' => 'change-audit',
            'POST change-audit-pass' => 'change-audit-pass',
            'POST change-audit-edit' => 'change-audit-edit',
            'GET change-audit-get' => 'change-audit-get',
            'POST change-audit-delete' => 'change-audit-delete',
            'GET deduct-audit-list' => 'deduct-audit-list',
            'GET,POST deduct-audit-add' => 'deduct-audit-add',
            'POST deduct-audit/<id>' => 'deduct-audit',
            'POST deduct' => 'deduct',
            'GET flow-list' => 'flow-list',
            'GET cant-deduct-month' => 'cant-deduct-month',
            'GET get-flow-deal-type' => 'get-flow-deal-type',
            'GET pool-list-export' => 'pool-list-export',
            'GET change-audit-list-export' => 'change-audit-list-export',
            'GET flow-list-export' => 'flow-list-export',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/atlas',
        'extraPatterns' => [
            'GET main-user-info' => 'main-user-info',
            'GET relation' => 'relation',
            'GET relation-list' => 'relation-list',
            'GET network' => 'network',
            'GET network-list' => 'network-list',
            'GET network-line' => 'network-line',
            'GET network-line-list' => 'network-line-list',
            'GET emp-user-line' => 'emp-user-line',
            'GET emp-user-list' => 'emp-user-list',
            'GET relation-list-export' => 'relation-list-export',
            'GET network-list-export' => 'network-list-export',
            'GET network-line-list-export' => 'network-line-list-export',
            'GET emp-user-list-export' => 'emp-user-list-export',
            'GET get-period' => 'get-period',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/oauth',
        'extraPatterns' => [
            'GET menu' => 'menu',
            'POST login' => 'login',
            'POST no-login-modify-password' => 'no-login-modify-password',
            'GET index' => 'index',
            'GET view' => 'view',
            'GET info' => 'info',
            'GET test' => 'test',
            'GET refresh-token' => 'refresh-token',
            'GET refresh-access-token' => 'refresh-access-token',
            'GET refresh-refresh-token' => 'refresh-refresh-token',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/admin',
        'extraPatterns' => [
            'GET index' => 'index',
            'GET,POST add' => 'add',
            'GET,POST edit/<id>' => 'edit',
            'POST change-password' => 'change-password',
            'GET admin-delete/<selected>' => 'admin-delete',
            'POST admin-delete' => 'admin-delete',
            'GET role' => 'role',
            'POST role-add' => 'role-add',
            'GET,POST role-edit/<id>' => 'role-edit',
            'GET role-delete/<selected>' => 'role-delete',
            'POST role-delete' => 'role-delete',
            'GET,POST role-permission/<id>' => 'role-permission',
            'GET,POST role-column/<id>' => 'role-column',
            'POST change-language' => 'change-language'
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/config',
        'extraPatterns' => [
            'POST,GET base' => 'base',
            'GET bonus-opt' => 'bonus-opt',
            'POST bonus' => 'bonus',
            'POST,GET period' => 'period',
            'POST,GET other' => 'other',
            'GET dec-level' => 'dec-level',
            'GET,POST month-limit' => 'month-limit',
            'POST open-upgrade' => 'open-upgrade',
            'POST dec-level-add' => 'dec-level-add',
            'POST,GET dec-level-edit/<id>' => 'dec-level-edit',
            'GET dec-level-delete/<selected>' => 'dec-level-delete',
            'POST dec-level-delete' => 'dec-level-delete',
            'GET dec-role' => 'dec-role',
            'POST,GET dec-role-edit/<id>' => 'dec-role-edit',
            'GET emp-level' => 'emp-level',
            'POST,GET emp-level-add' => 'emp-level-add',
            'POST,GET emp-level-edit/<id>' => 'emp-level-edit',
            'GET emp-level-delete/<selected>' => 'emp-level-delete',
            'POST emp-level-delete' => 'emp-level-delete',
            'POST bonus-dec-level' => 'bonus-dec-level',
            'POST bonus-emp-level' => 'bonus-emp-level',
            'POST bonus-crown-level' => 'bonus-crown-level',
            'GET clear-data' => 'clear-data',
            'GET clear-cache' => 'clear-cache',
            'GET clear-table-cache' => 'clear-table-cache',
            'GET sms-template' => 'sms-template',
            'GET,POST sms-template-edit/<id>' => 'sms-template-edit',
            'GET api' => 'api-opt',
            'GET ocr-api' => 'ocr-api',
            'POST,GET ocr-api-edit/<id>' => 'ocr-api-edit',
            'GET sms-api' => 'sms-api',
            'POST,GET sms-api-edit/<id>' => 'sms-api-edit',
            'GET reg-type' => 'reg-type',
            'POST reg-type-edit' => 'reg-type-edit',
            'GET reg-type-get' => 'reg-type-get',
            'POST pact-edit' => 'pact-edit',
            'GET pact-get' => 'pact-get',
            'POST,GET sms' => 'sms',
            'POST,GET transfer' => 'transfer',
            'POST,GET score' => 'score',
            'GET currencies' => 'currencies',
            'POST set-currencies-conversions' => 'set-currencies-conversions',
            'GET transportation' => 'transportation',
            'POST set-transportation' => 'set-transportation',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/bonus',
        'extraPatterns' => [
            'GET period' => 'period',
            'GET close-period/<periodNum>' => 'close-period',
            'GET perf-period/<periodNum>' => 'perf-period',
            'GET calc-period/<periodNum>' => 'calc-period',
            'GET send-period/<periodNum>' => 'send-period',
            'GET perf' => 'perf',
            'GET period-detail/<periodNum>' => 'period-detail',
            'GET trace-down-qy' => 'trace-down-qy',
            'GET trace-down-qy-export' => 'trace-down-qy-export',
            'GET trace-up-qy' => 'trace-up-qy',
            'GET trace-up-qy-export' => 'trace-up-qy-export',
            'GET trace-down-yc' => 'trace-down-yc',
            'GET trace-down-yc-export' => 'trace-down-yc-export',
            'GET trace-up-yc' => 'trace-up-yc',
            'GET trace-up-yc-export' => 'trace-up-yc-export',
            'GET trace-down-bd' => 'trace-down-bd',
            'GET trace-down-bd-export' => 'trace-down-bd-export',
            'GET trace-up-bd' => 'trace-up-bd',
            'GET trace-up-bd-export' => 'trace-up-bd-export',
            'GET trace-down-tg' => 'trace-down-tg',
            'GET trace-down-tg-export' => 'trace-down-tg-export',
            'GET trace-up-tg' => 'trace-up-tg',
            'GET trace-up-tg-export' => 'trace-up-tg-export',
            'GET trace-down-xf' => 'trace-down-xf',
            'GET trace-down-xf-export' => 'trace-down-xf-export',
            'GET trace-up-xf' => 'trace-up-xf',
            'GET trace-up-xf-export' => 'trace-up-xf-export',
            'GET trace-down-yj' => 'trace-down-yj',
            'GET trace-down-yj-export' => 'trace-down-yj-export',
            'GET trace-up-yj' => 'trace-up-yj',
            'GET trace-up-yj-export' => 'trace-up-yj-export',
            'GET trace-down-gx' => 'trace-down-gx',
            'GET trace-down-gx-export' => 'trace-down-gx-export',
            'GET trace-up-gx' => 'trace-up-gx',
            'GET trace-up-gx-export' => 'trace-up-gx-export',
            'GET trace-down-gl' => 'trace-down-gl',
            'GET trace-down-gl-export' => 'trace-down-gl-export',
            'GET trace-up-gl' => 'trace-up-gl',
            'GET trace-up-gl-export' => 'trace-up-gl-export',
            'GET trace-down-fx' => 'trace-down-fx',
            'GET trace-down-fx-export' => 'trace-down-fx-export',
            'GET trace-up-fx' => 'trace-up-fx',
            'GET trace-up-fx-export' => 'trace-up-fx-export',
            'GET trace-fw' => 'trace-fw',
            'GET trace-fw-export' => 'trace-fw-export',
            'GET trace-bt' => 'trace-bt',
            'GET trace-bt-export' => 'trace-bt-export',
            'GET trace-fl' => 'trace-fl',
            'GET trace-fl-export' => 'trace-fl-export',
            'GET new-period-bonus' => 'new-period-bonus',
            'GET new-period-bonus-export' => 'new-period-bonus-export',
            'GET other-period-bonus' => 'other-period-bonus',
            'GET other-period-bonus-export' => 'other-period-bonus-export',
            'GET other-period-bonus-filter-types' => 'other-period-bonus-filter-types',
            'GET calc-qy' => 'calc-qy',
            'POST resend-qy' => 'resend-qy',
            'GET resend-qy-list' => 'resend-qy-list',
            'GET resend-qy-list-export' => 'resend-qy-list-export',
            'GET resend-qy-audit-list' => 'resend-qy-audit-list',
            'GET resend-qy-audit-list-export' => 'resend-qy-audit-list-export',
            'POST resend-qy-audit' => 'resend-qy-audit',
            'POST resend-qy-audit-delete' => 'resend-qy-audit-delete',
            'GET flow-bonus' => 'flow-bonus',
            'GET flow-bonus-export' => 'flow-bonus-export',
            'GET flow-wallet' => 'flow-wallet',
            'GET flow-wallet-export' => 'flow-wallet-export',
            'GET flow-cf' => 'flow-cf',
            'GET flow-cf-export' => 'flow-cf-export',
            'GET flow-rp' => 'flow-rp',
            'GET flow-rp-export' => 'flow-rp-export',
            'GET flow-balance' => 'flow-balance',
            'GET flow-balance-export' => 'flow-balance-export',
            'GET flow-exchange' => 'flow-exchange',
            'GET flow-exchange-export' => 'flow-exchange-export',
            'GET flow-lx' => 'flow-lx',
            'GET flow-lx-export' => 'flow-lx-export',
            'GET cf-lx-audit-list' => 'cf-lx-audit-list',
            'GET cf-lx-audit-export' => 'cf-lx-audit-export',
            'POST cf-lx-apply' => 'cf-lx-apply',
            'POST cf-lx-audit' => 'cf-lx-audit',
            'POST cf-lx-audit-delete' => 'cf-lx-audit-delete',
            'GET balance-list' => 'balance-list',
            'GET balance-export' => 'balance-export',
            'GET perf-order' => 'perf-order',
            'GET perf-order-export' => 'perf-order-export',
            'GET score-month' => 'score-month',
            'GET score-month-export' => 'score-month-export',
            'GET perf-month' => 'perf-month',
            'GET perf-month-export' => 'perf-month-export',
            'GET perf-standard' => 'perf-standard',
            'GET perf-standard-export' => 'perf-standard-export',
            'GET perf-period-list' => 'perf-period-list',
            'GET perf-period-list-export' => 'perf-period-list-export',
//            'GET real-time-perf' => 'real-time-perf',
            'GET user-perf' => 'user-perf',
            'GET user-perf-export' => 'user-perf-export',
            'GET yc-perf' => 'yc-perf',
            'GET period-perf' => 'period-perf',
            'GET period-perf-export' => 'period-perf-export',
            'GET,POST auto-withdraw' => 'auto-withdraw',
            'GET,POST perf-adjustment' => 'perf-adjustment',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/report',
        'extraPatterns' => [
            'GET dec' => 'dec',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/finance',
        'extraPatterns' => [
            'GET balance-audit-list' => 'balance-audit-list',
            'POST change-balance' => 'change-balance',
            'GET change-balance-type' => 'change-balance-type',
            'POST balance-audit-pass' => 'balance-audit-pass',
            'POST balance-audit-edit' => 'balance-audit-edit',
            'GET balance-audit-get' => 'balance-audit-get',
            'POST balance-audit' => 'balance-audit',
            'POST balance-audit-delete' => 'balance-audit-delete',
            'POST import-change-balance-to-excel-table' => 'import-change-balance-to-excel-table',
            'POST import-change-balance' => 'import-change-balance',
            'GET dec-list' => 'dec-list',
            'GET transfer-list' => 'transfer-list',
            //'GET withdraw-get' => 'withdraw-get',
            'GET withdraw' => 'withdraw',
            //'POST withdraw-edit' => 'withdraw-edit',
            'POST withdraw-status' => 'withdraw-status',
            //'GET,POST withdraw-add' => 'withdraw-add',
            'GET withdraw-export' => 'withdraw-export',
            'POST import-withdraws-to-excel-table' => 'import-withdraws-to-excel-table',
            'POST import-withdraws-paid-false' => 'import-withdraws-paid-false',
            'GET invoice-audit' => 'invoice-audit',
            //'GET,POST invoice-audit-add' => 'invoice-audit-add',
            //'POST invoice-audit-audit' => 'invoice-audit-audit',
            //'POST invoice-audit-edit' => 'invoice-audit-edit',
            //'GET invoice-audit-get' => 'invoice-audit-get',
            //'POST invoice-audit-delete' => 'invoice-audit-delete',
            //'GET invoice-flow' => 'invoice-flow',
            //'GET invoice-balance-audit' => 'invoice-balance-audit',
            //'GET,POST invoice-balance-audit-add' => 'invoice-balance-audit-add',
            //'POST invoice-balance-audit-audit' => 'invoice-balance-audit-audit',
            //'POST invoice-balance-audit-edit' => 'invoice-balance-audit-edit',
            //'GET invoice-balance-audit-get' => 'invoice-balance-audit-get',
            //'POST invoice-balance-audit-delete' => 'invoice-balance-audit-delete',
            'GET perf-audit-list' => 'perf-audit-list',
            'GET,POST perf-apply' => 'perf-apply',
            'POST perf-audit/<id>' => 'perf-audit',
            'GET perf-apply-get' => 'perf-apply-get',
            'POST perf-audit-pass' => 'perf-audit-pass',
            'POST perf-audit-edit' => 'perf-audit-edit',
            'GET perf-audit-get' => 'perf-audit-get',
            'POST perf-audit' => 'perf-audit',
            'POST perf-audit-delete' => 'perf-audit-delete',
            'GET deal-type' => 'deal-type',
            'POST deal-type-add' => 'deal-type-add',
            'POST deal-type-edit' => 'deal-type-edit',
            'GET deal-type-get' => 'deal-type-get',
            'POST deal-type-delete' => 'deal-type-delete',
            'GET history-bonus' => 'history-bonus',
            'GET balance-audit-list-export' => 'balance-audit-list-export',
            'GET perf-audit-list-export' => 'perf-audit-list-export',
            'GET transfer-list-export' => 'transfer-list-export',
            'GET history-bonus-export' => 'history-bonus-export',
            'GET recharge' => 'recharge',
            'GET,POST recharge-type' => 'recharge-type',
            'GET,POST recharge-status' => 'recharge-status',
            'GET recharge-export' => 'recharge-export',
            'POST mult-point' => 'mult-point',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/file',
        'extraPatterns' => [
            'GET export' => 'export',
            'GET token' => 'token',
            'POST upload-excel' => 'upload-excel',
            'POST export-delete' => 'export-delete',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/article',
        'extraPatterns' => [
            'GET index' => 'index',
            'GET,POST add' => 'add',
            'GET,POST edit/<id>' => 'edit',
            'GET detail' => 'detail',
            'GET detail/<id>' => 'detail',
            'GET,POST article-delete' => 'article-delete',
            'GET,POST article-hide' => 'article-hide',
            'GET,POST article-un-hide' => 'article-un-hide',
            'GET category' => 'category',
            'POST category-add' => 'category-add',
            'GET,POST category-delete' => 'category-delete',
            'GET category-sort' => 'category-sort',
            'POST upload' => 'upload',
            'GET sort' => 'sort',
            'GET country' => 'country',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/ad',
        'extraPatterns' => [
            'GET list/<lid>' => 'list',
            'GET,POST add' => 'add',
            'GET,POST edit/<id>' => 'edit',
            'GET,POST ad-delete' => 'ad-delete',
            'GET,POST ad-hide' => 'ad-hide',
            'GET,POST ad-un-hide' => 'ad-un-hide',
            'GET location' => 'location',
            'GET sort' => 'sort',
            'GET status' => 'status',
            'POST upload' => 'upload',
            'GET country' => 'country',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/message',
        'extraPatterns' => [
            'GET list' => 'list',
            'POST add' => 'add',
            'GET,POST delete' => 'delete',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/log',
        'extraPatterns' => [
            'GET admin-handle' => 'admin-handle',
            'GET user-handle' => 'user-handle',
            'GET admin-login' => 'admin-login',
            'GET user-login' => 'user-login',
            'GET system' => 'system',
            'GET admin-handle-detail/<id>' => 'admin-handle-detail',
            'GET user-login-export' => 'user-login-export',
        ],
    ],
    [
        'class' => 'yii\rest\UrlRule',
        'pluralize' => false,
        'controller' => 'v1/calc',
        'extraPatterns' => [
            'GET record-list/<periodNum>' => 'record-list',
            'GET auto-calc/<periodNum>' => 'auto-calc',
            'GET auto-perf/<periodNum>' => 'auto-perf',
            'GET perf-order/<periodNum>' => 'perf-order',
            'GET init-data/<periodNum>' => 'init-data',
            'GET calc-perf-period/<periodNum>' => 'calc-perf-period',
            'GET pull-perf-period/<periodNum>' => 'pull-perf-period',
            'GET calc-bonus/<periodNum>' => 'calc-bonus',
            'GET pull-bonus/<periodNum>' => 'pull-bonus',
            'GET sync-calc-record/<periodNum>' => 'sync-calc-record',
        ],
    ],
//    [
//        'class' => 'yii\rest\UrlRule',
//        'pluralize' => false,
//        'controller' => 'v1/currency',
//        'extraPatterns' => [
//            'GET currencies' => 'currencies',
//            'GET currencies-conversions' => 'currencies-conversions',
//            'POST set-currencies-conversions' => 'set-currencies-conversions',
//            'GET transportation' => 'transportation',
//            'POST set-transportation' => 'set-transportation',
//        ],
//    ],
//    [
//        'class' => 'yii\rest\UrlRule',
//        'pluralize' => false,
//        'controller' => 'v1/transportation',
//        'extraPatterns' => [
//            'GET transportation' => 'transportation',
//            'POST set-transportation' => 'set-transportation',
//        ],
//    ],
];
