12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?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' => false,
- // 0按名称成对解析 1按顺序解析
- 'url_param_type' => 1,
- // 当前 ThinkAdmin 版本号
- 'thinkadmin_ver' => 'v5',
- 'jwt' => 'siyu',
- 'jwt_time' => 311040000,
- //小程序
- 'mini_program' => [
- 'app_id' => env('WECHAT_MINI_PROGRAM_APPID', 'wxdd2e1227977087e5'),
- 'secret' => env('WECHAT_MINI_PROGRAM_SECRET','cdb69731d3441ed7d640ea04fe1dd72a'),
- 'token' => env('WECHAT_MINI_PROGRAM_TOKEN', ''),
- 'aes_key' => env('WECHAT_MINI_PROGRAM_AES_KEY', ''),
- ],
- 'wx_pay'=>[
- 'app_id'=>'wx4ccfaf737dd24004',//微信appid
- 'mch_id'=>'1615211824',//商户号
- 'key' =>'XAAuAAmXlaJRzkyUTtet6QO3bHkSvAy4',//秘钥
- 'cert_path'=>'wx_cert/apiclient_cert.pem', //证书地址
- 'key_path' =>'wx_cert/apiclient_key.pem', //证书地址
- ],
- //移动端
- 'app_program' => [
- 'app_id' => env('WECHAT_MINI_PROGRAM_APPID', 'wxb161fb51a7e531e7'),
- 'secret' => env('WECHAT_MINI_PROGRAM_SECRET','bf183325732519887db05056558881dc'),
- 'token' => env('WECHAT_MINI_PROGRAM_TOKEN', ''),
- 'aes_key' => env('WECHAT_MINI_PROGRAM_AES_KEY', ''),
- ],
- // 私域订阅公众中号
- 'sy_wechat' => [
- 'app_id' => env('WECHAT_MINI_PROGRAM_APPID', ''),
- 'secret' => env('WECHAT_MINI_PROGRAM_SECRET',''),
- 'token' => env('WECHAT_MINI_PROGRAM_TOKEN', ''),
- 'aes_key' => env('WECHAT_MINI_PROGRAM_AES_KEY', ''),
- ],
- ];
|