12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <?php
- return [
- 'apiMaxTime' => 15 * 60, // api请求最大时间差
- 'apiAppid' => 'Abge#42*Nve^96', // api请求验证时使用
- 'checkApiAuth' => env('CHECK_API_AUth', TRUE), // 是否启用api请求认证
- //统一微信入口
- 'thirdWx' => [
- 'url' => 'http://wechat.qingerai.com/index.php', // 第三方微信请求URL
- 'weid' => env('THIRDWX_WEID'), //公众号ID
- 'key' => env('THIRDWX_KEY'), //公钥
- 'backUrl' => env('THIRDWX_BACKURL'), //授权成功后返回的url
- ],
- //统一量表
- 'thirdScale' => [
- // 'url' => 'http://master-hz.qingerai.com/api.php',
- // 'url' => 'http://ac.qingerai.com/api.php',
- // 'appid' => env('THIRDSCALE_APPID'),
- // 'key' => env('THIRDSCALE_KEY'),
- //
- //// 'do_url' => 'http://mjg-psy.qingerai.com/index.php?ap=mobile&op=core&task=appLogin',
- // 'do_url' => 'http://mac.qingerai.com/index.php?ap=mobile&op=core&task=appLogin',
- 'url' => 'http://bjcy-psy.qingerai.com/api.php',
- 'appid' => env('THIRDSCALE_APPID'),
- 'key' => env('THIRDSCALE_KEY'),
- 'do_url' => 'http://mbjcy-psy.qingerai.com/index.php?ap=mobile&op=core&task=appLogin',
- ],
- //统一用户名密码登陆
- 'thirdUP' => [
- 'url' => 'http://hotline.qingerai.com/api.php',
- 'appid' => env('THIRDUP_APPID'),
- 'key' => env('THIRDUP_KEY')
- ],
- //统一H5聊天
- 'thirdH5Chat' => [
- 'url' => 'http://mhotline.qingerai.com?task=onlineConsultation',
- 'appid' => env('THIRDH5CHAT_APPID'),
- 'secret' => env('THIRDH5CHAT_SECRET')
- ],
- //在线咨询
- 'third_consult' => [
- 'url' => env('THIRDCONSULT_URL'),
- 'appid' => env('THIRDCONSULT_APPID'),
- 'secret' => env('THIRDCONSULT_SECRET'),
- 'scoket_address' => env('THIRDCONSULT_SCOKET_ADDRESS'),
- 'upload_url' => env('THIRDCONSULT_UPLOAD_URL'),
- 'scale_url' => 'https://mstx-sync-psy.qingerai.com/index.php',
- ],
- //小程序聊天
- 'AI' => [
- 'url' => env('AI_URL'),
- 'appid' => env('AI_APPID'),
- 'secret' => env('AI_SECRET'),
- ],
- //远程授权访问
- 'remote_sso' => [
- 'url' => env('REMOTE_SSO_URL'),
- 'appid' => env('REMOTE_SSO_APPID'),
- 'secret' => env('REMOTE_SSO_SECRET'),
- ],
- //远程授权访问
- 'wg_map' => [
- 'url' => env('WG_MAP_URL'),
- 'appid' => env('WG_MAP_APPID'),
- 'secret' => env('WG_MAP_SECRET'),
- ],
- 'redis_key' => [
- 'api_auth' => 'api:sign:',
- 'access_token' => 'wx_service:access_token', //微信公众号 access_token
- 'jsapi_ticket' => 'wx_service:jsapi', //微信 jsapi_ticket
- 'auth_access_token' => 'wx_user:access_token:openid_', //微信用户 access_token
- 'auth_refresh_token' => 'wx_user:refresh_token:openid_', //微信用户 refresh_token
- 'weather' => 'weather', //天气预报
- ],
- 'release_date' => '2020-07-08', //发布日期
- 'pic_path' => env('PIC_PATH').'storage/', //pic地址
- 'weather' => env('WEATHER_URL'), //天气预报
- ];
|