阶段更新

This commit is contained in:
2021-06-04 14:53:29 +08:00
parent 12f5f71817
commit 25ff64defe
8 changed files with 273 additions and 60 deletions

View File

@@ -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', ''),//免登陆跳转
],
];