<?php
$nationParams = require_once __DIR__ . '/params-nation.php';

return [
    'adminEmail' => 'admin@example.com',
    'supportEmail' => 'support@example.com',
    'nation' => $nationParams,
    'backAccessTokenExpiresIn' => 3000 * 60,
    'backRefreshTokenExpiresIn' => 3000 * 60 * 60,
    'frontAccessTokenExpiresIn' => 3000 * 60,
    'frontRefreshTokenExpiresIn' => 3000 * 60 * 60,
    'user.passwordResetTokenExpire' => 3600,
    'pageSize' => 20,
    'http' => [
    ],
    'shopWalletType' => [
        'cash' =>[
            'value'=>'cash',
            'title'=>'现金钱包',
        ],
    ],
    'enableLog' => true,
    'isRemoteUpload' => false, 
    'excelLocalDir' => 'excel_export',
    'superAdminRoleId' => '666A7F102B8D6C66E055736AECE8644D',
    'mainAdminId' => '65F27BCE7FD278FFE055736AECE8644D',
    'mainUserId' => '670B84FD7C216D4EE055736AECE8644D',
    'hbCouponsProId' => '1000000000',
    'storeDecRoleId' => '8976C62F40064D8AB357BE07C8A3CA8F',
    'countyStoreDecRoleId' => '810916A06B304162902408A6B9E5D177',
    'daysDiff' => 0,
    'userStatus' => [
        0 => [
            'value' => '0',
            'label' => '未激活',
        ],
        1 => [
            'value' => '1',
            'label' => '正常',
        ],
        2 => [
            'value' => '2',
            'label' => '注销',
        ],
        3 => [
            'value' => '3',
            'label' => '黑名单',
        ],
        4 => [
            'value' => '4',
            'label' => '停发',
        ],
        9 => [
            'value' => '9',
            'label' => '永久关停',
        ],
    ],
    'bonusWalletType' => [
        'bonus' => [
            'name' => 'bonus',
            'label' => '会员账户奖金',
        ],
        'reconsume_points' => [
            'name' => 'bonus',
            'label' => '复消积分余额',
        ],
        'cash' => [
            'name' => 'cash',
            'label' => '会员账户余额',
        ],
//        'cf' => [
//            'name' => 'cf',
//            'label' => '车房养老奖余额',
//        ],
//        'lx' => [
//            'name' => 'lx',
//            'label' => '领袖分红奖余额',
//        ],
    ],
    'auditStatus' => [
        'un' => [
            'value' => 0,
            'label' => '未审核'
        ],
        'true' => [
            'value' => 1,
            'label' => '已审核'
        ],
        'false' => [
            'value' => 2,
            'label' => '审核失败'
        ],
        'reject' => [
            'value' => 3,
            'label' => '已拒绝'
        ],
    ],
    // 发货状态
    'deliveryStatus' => [
        '0' => [
            'value' => 0,
            'label' => '未发货'
        ],
        'notDelivery' => [
            'value' => 0,
            'label' => '未发货'
        ],
        '1' => [
            'value' => 1,
            'label' => '已发货'
        ],
        'delivered' => [
            'value' => 1,
            'label' => '已发货'
        ],
        '2' => [
            'value' => 2,
            'label' => '确认收货'
        ],
        'confirm' => [
            'value' => 2,
            'label' => '确认收货'
        ],
    ],
    'orderStatus' => [
        '0' => [
            'value' => 0,
            'label' => '待支付'
        ],
        'notPaid' => [
            'value' => 0,
            'label' => '待支付'
        ],
        '1' => [
            'value' => 1,
            'label' => '已支付'
        ],
        'paid' => [
            'value' => 1,
            'label' => '已支付'
        ],
        // 此时进入发货流程参考发货状态
        '3' => [
            'value' => 3,
            'label' => '物流状态'
        ],
        'delivery' => [
            'value' => 3,
            'label' => '物流状态'
        ],
        '4' => [
            'value' => 4,
            'label' => '订单完成'
        ],
        'complete' => [
            'value' => 4,
            'label' => '订单完成'
        ],
        '5' => [
            'value' => 5,
            'label' => '订单取消'
        ],
        'cancel' => [
            'value' => 5,
            'label' => '订单取消'
        ],
        '6' => [
            'value' => 6,
            'label' => '订单删除'
        ],
        'del' => [
            'value' => 6,
            'label' => '订单删除'
        ],
    ],
    'exportModule' => [
        'shop' => ['label' => '商城管理', 'value'=>'shop'],
        'user' => ['label' => '会员管理', 'value'=>'user'],
        'atlas' => ['label' => '网络图谱', 'value'=>'atlas'],
        'reconsume' => ['label' => '复销管理', 'value'=>'reconsume'],
        'bonus' => ['label' => '奖金管理', 'value'=>'bonus'],
        //'report' => ['label' => '报表管理', 'value'=>'report'],
        'finance' => ['label' => '财务管理', 'value'=>'finance'],
        //'log' => ['label' => '日志管理', 'value'=>'log'],
    ],
    'snowFake' => [
        'dataCenterId' => 1,//
        'workerId' => 1,
    ],
    'pageSnowFake' => [
        'dataCenterId' => 2,//
        'workerId' => 2,
    ],
];
