37 lines
1.1 KiB
PHP
37 lines
1.1 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/**
|
|
* 平安洗车券
|
|
*/
|
|
|
|
'this_type' => 'test',
|
|
/**
|
|
* 测试环境参数
|
|
*/
|
|
'test' => [
|
|
'client_id' => env('WASH_CAR_APPID', ''),//就是 appId
|
|
'client_secret' => env('WASH_CAR_SECRET', ''),// 就是 client_secret
|
|
'apiVersion' => 'v2',
|
|
'grant_type' => 'client_credentials',
|
|
'tokenUri' => 'https://open.cyzl.com/beta/api/auth/oauth/token',
|
|
'baseUri' => 'https://open.cyzl.com/beta/api',
|
|
'urlKey' => env('WASH_CAR_URLKEY', ''),//免登陆跳转
|
|
],
|
|
|
|
/**
|
|
* 生产环境参数
|
|
*/
|
|
'dev' => [
|
|
'client_id' => env('WASH_CAR_APPID', ''),//就是 appId
|
|
'client_secret' => env('WASH_CAR_SECRET', ''),// 就是 client_secret
|
|
'apiVersion' => 'v2',
|
|
'grant_type' => 'client_credentials',
|
|
'tokenUri' => 'https://open.cyzl.com/api/auth/oauth/token',
|
|
'baseUri' => 'https://open.cyzl.com/api',
|
|
'urlKey' => env('WASH_CAR_URLKEY', ''),//免登陆跳转
|
|
],
|
|
|
|
];
|