app.php 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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' => 'ddsc',
  24. 'jwt_time' => 144000 * 7,
  25. // 阿里云配置
  26. 'ali_set' => [
  27. 'Key' => 'LTAI5tEEfowhMkLu8auo6n6G',
  28. 'secret' =>'ch94CL3TEwNAxXNREweZl3gfk8jQ84',
  29. 'host' => 'https:xieshouxiongmao.oss-cn-beijing.aliyuncs.com',
  30. ],
  31. //小程序
  32. 'mini_program' => [
  33. 'app_id' => env('WECHAT_MINI_PROGRAM_APPID', 'wxd7c4343315424795'),
  34. 'secret' => env('WECHAT_MINI_PROGRAM_SECRET','56f40e98d9420beeca12ff133eaea3c6'),
  35. 'token' => env('WECHAT_MINI_PROGRAM_TOKEN', ''),
  36. 'aes_key' => env('WECHAT_MINI_PROGRAM_AES_KEY', ''),
  37. ],
  38. // 小程序微信支付
  39. 'wx_pay'=>[
  40. 'app_id'=>'wxd7c4343315424795',//微信appid
  41. 'mch_id'=>'1624129317',//商户号
  42. 'key' =>'eHNqU0P1wCcNyULQPzOljBKx7BinXC3Y',//秘钥
  43. 'cert_path'=>'wx_cert/apiclient_cert.pem', //证书地址
  44. 'key_path' =>'wx_cert/apiclient_key.pem', //证书地址
  45. ],
  46. // app 微信
  47. 'app_wx' => [
  48. 'app_id' => 'wx65ad4e9ef462a9ef',
  49. 'secret' => 'b5d2c4782aee5b645364c97ec0120c16',
  50. 'mch_id'=>'1624129317',//商户号
  51. 'token' =>'',
  52. 'aes_key' =>'',
  53. 'key' =>'eHNqU0P1wCcNyULQPzOljBKx7BinXC3Y',//秘钥
  54. 'cert_path'=>'wx_cert/apiclient_cert.pem', //证书地址
  55. 'key_path' =>'wx_cert/apiclient_key.pem', //证书地址
  56. ],
  57. // pc 微信
  58. 'pc_wx' => [
  59. 'app_id' => 'wxb8d3d659c30867e2',
  60. 'secret' => '58919f08c3cef1e878288b2841e232c3',
  61. 'mch_id'=>'1624129317',//商户号
  62. 'token' =>'',
  63. 'aes_key' =>'',
  64. 'key' =>'eHNqU0P1wCcNyULQPzOljBKx7BinXC3Y',//秘钥
  65. 'cert_path'=>'wx_cert/apiclient_cert.pem', //证书地址
  66. 'key_path' =>'wx_cert/apiclient_key.pem', //证书地址
  67. ],
  68. //
  69. 'qq_move'=>[
  70. 'app_id' => '102006624',
  71. 'secret' => 'cDqIbgX9XgbIm28z',
  72. 'key' =>'eHNqU0P1wCcNyULQPzOljBKx7BinXC3Y',//秘钥
  73. 'cert_path'=>'wx_cert/apiclient_cert.pem', //证书地址
  74. 'key_path' =>'wx_cert/apiclient_key.pem', //证书地址
  75. ],
  76. ];