配置参数
This commit is contained in:
@@ -6,28 +6,28 @@ return [
|
|||||||
* 平安洗车券
|
* 平安洗车券
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'this_type' => 'test',
|
'this_type' => env('WASH_TYPE'),
|
||||||
/**
|
/**
|
||||||
* 测试环境参数
|
* 测试环境参数
|
||||||
*/
|
*/
|
||||||
'test' => [
|
'test' => [
|
||||||
'client_id' => env('WASH_CAR_APPID', ''),//就是 appId
|
'client_id' => env('WASH_CAR_TEST_APPID', ''),//就是 appId
|
||||||
'client_secret' => env('WASH_CAR_SECRET', ''),// 就是 client_secret
|
'client_secret' => env('WASH_CAR_TEST_SECRET', ''),// 就是 client_secret
|
||||||
'apiVersion' => 'v2',
|
'apiVersion' => 'v2',
|
||||||
'grant_type' => 'client_credentials',
|
'grant_type' => 'client_credentials',
|
||||||
'tokenUri' => 'https://open.cyzl.com/beta/auth/oauth/token',
|
'tokenUri' => 'https://open.cyzl.com/beta/auth/oauth/token',
|
||||||
'baseUri' => 'https://open.cyzl.com/beta/api',
|
'baseUri' => 'https://open.cyzl.com/beta/api',
|
||||||
'indexUri' => 'https://v.cyzl.com/beta/activity/helongjiangWashCar/index.html?activityId={{activityId}}#/?accessToken={{accessToken}}',
|
'indexUri' => 'https://v.cyzl.com/beta/activity/helongjiangWashCar/index.html?activityId={{activityId}}#/?accessToken={{accessToken}}',
|
||||||
//优惠券详情地址
|
//优惠券详情地址
|
||||||
'infoUri' => 'https://v.cyzl.com/beta/xtz-v2/portal/index.html?activityId={{activityId}}&activityNo=heilongjiang#/car-ticketInfo?ticketCode={{ticketCode}}&isShowHead=1&accessToken={{accessToken}}',
|
'infoUri' => 'https://v.cyzl.com/beta/xtz-v2/portal/index.html?activityId={{activityId}}&activityNo=default#/car-ticketInfo?ticketCode={{ticketCode}}&isShowHead=1&accessToken={{accessToken}}',
|
||||||
],
|
],
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 生产环境参数
|
* 生产环境参数
|
||||||
*/
|
*/
|
||||||
'dev' => [
|
'dev' => [
|
||||||
'client_id' => env('WASH_CAR_APPID', ''),//就是 appId
|
'client_id' => env('WASH_CAR_DEV_APPID', ''),//就是 appId
|
||||||
'client_secret' => env('WASH_CAR_SECRET', ''),// 就是 client_secret
|
'client_secret' => env('WASH_CAR_DEV_SECRET', ''),// 就是 client_secret
|
||||||
'apiVersion' => 'v2',
|
'apiVersion' => 'v2',
|
||||||
'grant_type' => 'client_credentials',
|
'grant_type' => 'client_credentials',
|
||||||
'tokenUri' => 'https://open.cyzl.com/api/auth/oauth/token',
|
'tokenUri' => 'https://open.cyzl.com/api/auth/oauth/token',
|
||||||
@@ -35,7 +35,7 @@ return [
|
|||||||
//首页购买页
|
//首页购买页
|
||||||
'indexUri' => 'https://v.cyzl.com/activity/helongjiangWashCar/index.html?activityId={{activityId}}#/?accessToken={{accessToken}}',
|
'indexUri' => 'https://v.cyzl.com/activity/helongjiangWashCar/index.html?activityId={{activityId}}#/?accessToken={{accessToken}}',
|
||||||
//优惠券详情地址
|
//优惠券详情地址
|
||||||
'infoUri' => 'https://v.cyzl.com/xtz-v2/portal/index.html?activityId={{activityId}}&activityNo=heilongjiang#/car-ticketInfo?ticketCode={{ticketCode}}&isShowHead=1&accessToken={{accessToken}}',
|
'infoUri' => 'https://v.cyzl.com/xtz-v2/portal/index.html?activityId={{activityId}}&activityNo=default#/car-ticketInfo?ticketCode={{ticketCode}}&isShowHead=1&accessToken={{accessToken}}',
|
||||||
],
|
],
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user