app.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | ThinkAdmin
  4. // +----------------------------------------------------------------------
  5. // | 版权所有 2014~2019 广州楚才信息科技有限公司 [ http://www.cuci.cc ]
  6. // +----------------------------------------------------------------------
  7. // | 官方网站: http://demo.thinkadmin.top
  8. // +----------------------------------------------------------------------
  9. // | 开源协议 ( https://mit-license.org )
  10. // +----------------------------------------------------------------------
  11. // | gitee 代码仓库:https://gitee.com/zoujingli/ThinkAdmin
  12. // | github 代码仓库:https://github.com/zoujingli/ThinkAdmin
  13. // +----------------------------------------------------------------------
  14. return [
  15. // 应用调试模式
  16. 'app_debug' => true,
  17. // 应用Trace调试
  18. 'app_trace' => false,
  19. // 0按名称成对解析 1按顺序解析
  20. 'url_param_type' => 1,
  21. // 当前 ThinkAdmin 版本号
  22. 'thinkadmin_ver' => 'v5',
  23. 'jwt' => 'feisu',
  24. 'jwt_time' => 2592000,
  25. //小程序
  26. 'mini_program' => [
  27. 'app_id' => env('WECHAT_MINI_PROGRAM_APPID', 'wx2f0aa4e6e8f32ee7'),
  28. 'secret' => env('WECHAT_MINI_PROGRAM_SECRET','d4dd80bcddf185fa9e74b8e89aec82ff'),
  29. 'token' => env('WECHAT_MINI_PROGRAM_TOKEN', ''),
  30. 'aes_key' => env('WECHAT_MINI_PROGRAM_AES_KEY', ''),
  31. ],
  32. 'wx_pay'=>[
  33. 'app_id'=>'wx5028d1cb311213c1',//微信appid
  34. 'mch_id'=>'1538469721',//商户号
  35. 'key' =>'hbhqWegmTLkOvDNES35T9OnQ3cpa1Uyl',//秘钥
  36. 'cert_path'=>'wx_cert/apiclient_cert.pem', //证书地址
  37. 'key_path' =>'wx_cert/apiclient_key.pem', //证书地址
  38. ],
  39. ];