<?php
return [
    'user.passwordResetTokenExpire' => 3600,
    'webuploader_driver' => env('WEBUPLOADER_DRIVER', 'local'),
    'webuploader_qiniu_config' => [
        'domain' => env('WEBUPLOADER_QINIU_DOMAIN'),
        'bucket' => env('WEBUPLOADER_QINIU_BUCKET'),
        'accessKey' => env('WEBUPLOADER_QINIU_ACCESS'),
        'secretKey' => env('WEBUPLOADER_QINIU_SECRET'),
    ],
    'wx'=>[
        //  公众号信息
        'mp'=>[
            /**
             * 账号基本信息，请从微信公众平台
             */
            'app_id'  => '',         // AppID
            'secret'  => '',     // AppSecret
            'token'   => '',          // Token
            'encodingAESKey'=>'',// 消息加解密密钥,该选项需要和公众号后台设置保持一直
            'safeMode'=>0,//0-明文 1-兼容 2-安全，该选项需要和公众号后台设置保持一直

            'payment'=>[
                'mch_id'        =>  '',
                'key'           =>  '',
                'notify_url'    =>  '',
                'cert_path'     => '', // XXX: 绝对路径！！！！
                'key_path'      => '',      // XXX: 绝对路径！！！！
            ],

            'oauth' => [
                'scopes'   => 'snsapi_userinfo',
                'callback' => urlencode(''),// 授权回调
            ],
        ],
        'mini'=>[
            'app_id'  => '',
            'secret'  => '',
            'payment' => [
                'mch_id'        => '',
                'key'           => '',
                'sp' =>[
                    //服务商参数
                    'appid' => '',
                    'mch_id' => '',
                    'key' => '',
                    //特约商户参数
                    'sub_appid' => '',
                    'sub_mch_id' => '',
                ]
            ],
        ]
    ],
];
