阶段更新
This commit is contained in:
@@ -6,8 +6,31 @@ return [
|
||||
* 平安洗车券
|
||||
*/
|
||||
|
||||
'appId' => 122121,
|
||||
'appSecret' => '122121',
|
||||
'apiVersion' => 'v2',
|
||||
'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', ''),//免登陆跳转
|
||||
],
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user