12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <?php
- // +----------------------------------------------------------------------
- // | ThinkAdmin
- // +----------------------------------------------------------------------
- // | 版权所有 2014~2019 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
- // +----------------------------------------------------------------------
- // | 官方网站: http://demo.thinkadmin.top
- // +----------------------------------------------------------------------
- // | 开源协议 ( https://mit-license.org )
- // +----------------------------------------------------------------------
- // | gitee 代码仓库:https://gitee.com/zoujingli/ThinkAdmin
- // | github 代码仓库:https://github.com/zoujingli/ThinkAdmin
- // +----------------------------------------------------------------------
- return [
- // 应用调试模式
- 'app_debug' => true,
- // 应用Trace调试
- 'app_trace' => true,
- // 0按名称成对解析 1按顺序解析
- 'url_param_type' => 1,
- // 当前 ThinkAdmin 版本号
- 'thinkadmin_ver' => 'v5',
- 'jwt' => 'collect',
- 'jwt_time' => 311040000,
- //小程序
- 'mini_program' => [
- 'app_id' => env('WECHAT_MINI_PROGRAM_APPID', 'wx747acc10bf45d80d'),
- 'secret' => env('WECHAT_MINI_PROGRAM_SECRET','a1a88e0f254c10e8d9135f561ad6c586'),
- 'token' => env('WECHAT_MINI_PROGRAM_TOKEN', ''),
- 'aes_key' => env('WECHAT_MINI_PROGRAM_AES_KEY', ''),
- ],
- 'wx_pay'=>[
- 'app_id'=>'wxd95c7581bdc2d102',//微信appid
- 'mch_id'=>'1623872697',//商户号
- 'key' =>'BqHXesgP6GHzBmaNWlJShkSsPh2FqgpO',//秘钥
- 'cert_path'=>'wx_cert/apiclient_cert.pem', //证书地址
- 'key_path' =>'wx_cert/apiclient_key.pem', //证书地址
- ],
- 'official_account' => [
- // AppID
- 'appid' => env('WECHAT_OFFICIAL_ACCOUNT_APPID', 'wxd95c7581bdc2d102'),
- // AppSecret
- 'secret' => env('WECHAT_OFFICIAL_ACCOUNT_SECRET', '886a89d0e92c38afcce0908006570f9f'),
- // Token
- 'token' => env('WECHAT_OFFICIAL_ACCOUNT_TOKEN', 'your-token'),
- // EncodingAESKey
- 'aes_key' => env('WECHAT_OFFICIAL_ACCOUNT_AES_KEY', ''),
- 'oauth' => [
- 'scopes' => array_map('trim',
- explode(',', env('WECHAT_OFFICIAL_ACCOUNT_OAUTH_SCOPES', 'snsapi_userinfo'))),
- 'callback' => env('WECHAT_OFFICIAL_ACCOUNT_OAUTH_CALLBACK', ''),
- ],
- ]
- ];
|