console.php 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <?php
  2. return [
  3. 'apiMaxTime' => 15 * 60, // api请求最大时间差
  4. 'apiAppid' => 'Abge#42*Nve^96', // api请求验证时使用
  5. 'checkApiAuth' => env('CHECK_API_AUth', TRUE), // 是否启用api请求认证
  6. //统一微信入口
  7. 'thirdWx' => [
  8. 'url' => 'http://wechat.qingerai.com/index.php', // 第三方微信请求URL
  9. 'weid' => env('THIRDWX_WEID'), //公众号ID
  10. 'key' => env('THIRDWX_KEY'), //公钥
  11. 'backUrl' => env('THIRDWX_BACKURL'), //授权成功后返回的url
  12. ],
  13. //统一量表
  14. 'thirdScale' => [
  15. // 'url' => 'http://master-hz.qingerai.com/api.php',
  16. // 'url' => 'http://ac.qingerai.com/api.php',
  17. // 'appid' => env('THIRDSCALE_APPID'),
  18. // 'key' => env('THIRDSCALE_KEY'),
  19. //
  20. //// 'do_url' => 'http://mjg-psy.qingerai.com/index.php?ap=mobile&op=core&task=appLogin',
  21. // 'do_url' => 'http://mac.qingerai.com/index.php?ap=mobile&op=core&task=appLogin',
  22. 'url' => 'http://bjcy-psy.qingerai.com/api.php',
  23. 'appid' => env('THIRDSCALE_APPID'),
  24. 'key' => env('THIRDSCALE_KEY'),
  25. 'do_url' => 'http://mbjcy-psy.qingerai.com/index.php?ap=mobile&op=core&task=appLogin',
  26. ],
  27. //统一用户名密码登陆
  28. 'thirdUP' => [
  29. 'url' => 'http://hotline.qingerai.com/api.php',
  30. 'appid' => env('THIRDUP_APPID'),
  31. 'key' => env('THIRDUP_KEY')
  32. ],
  33. //统一H5聊天
  34. 'thirdH5Chat' => [
  35. 'url' => 'http://mhotline.qingerai.com?task=onlineConsultation',
  36. 'appid' => env('THIRDH5CHAT_APPID'),
  37. 'secret' => env('THIRDH5CHAT_SECRET')
  38. ],
  39. //在线咨询
  40. 'third_consult' => [
  41. 'url' => env('THIRDCONSULT_URL'),
  42. 'appid' => env('THIRDCONSULT_APPID'),
  43. 'secret' => env('THIRDCONSULT_SECRET'),
  44. 'scoket_address' => env('THIRDCONSULT_SCOKET_ADDRESS'),
  45. 'upload_url' => env('THIRDCONSULT_UPLOAD_URL'),
  46. 'scale_url' => 'https://mstx-sync-psy.qingerai.com/index.php',
  47. ],
  48. //小程序聊天
  49. 'AI' => [
  50. 'url' => env('AI_URL'),
  51. 'appid' => env('AI_APPID'),
  52. 'secret' => env('AI_SECRET'),
  53. ],
  54. //远程授权访问
  55. 'remote_sso' => [
  56. 'url' => env('REMOTE_SSO_URL'),
  57. 'appid' => env('REMOTE_SSO_APPID'),
  58. 'secret' => env('REMOTE_SSO_SECRET'),
  59. ],
  60. //远程授权访问
  61. 'wg_map' => [
  62. 'url' => env('WG_MAP_URL'),
  63. 'appid' => env('WG_MAP_APPID'),
  64. 'secret' => env('WG_MAP_SECRET'),
  65. ],
  66. 'redis_key' => [
  67. 'api_auth' => 'api:sign:',
  68. 'access_token' => 'wx_service:access_token', //微信公众号 access_token
  69. 'jsapi_ticket' => 'wx_service:jsapi', //微信 jsapi_ticket
  70. 'auth_access_token' => 'wx_user:access_token:openid_', //微信用户 access_token
  71. 'auth_refresh_token' => 'wx_user:refresh_token:openid_', //微信用户 refresh_token
  72. 'weather' => 'weather', //天气预报
  73. ],
  74. 'release_date' => '2020-07-08', //发布日期
  75. 'pic_path' => env('PIC_PATH').'storage/', //pic地址
  76. 'weather' => env('WEATHER_URL'), //天气预报
  77. ];