43 lines
1.2 KiB
PHP
43 lines
1.2 KiB
PHP
<?php
|
|
|
|
return [
|
|
/**
|
|
* 平安接口参数
|
|
*/
|
|
'this_type' => 'dev',
|
|
/**
|
|
* 测试环境参数
|
|
*/
|
|
'test' => [
|
|
'client_id' => 'P_YISHIDAI',
|
|
'grant_type' => 'client_credentials',
|
|
'client_secret' => 'zGg9e6J5',
|
|
'userName' => '18804518018',
|
|
'AES_CODE' => '61DA0376BEBCFE1F',
|
|
'tokenUri' => 'https://test-api.pingan.com.cn:20443/oauth/oauth2/access_token',
|
|
'Uri' => 'http://test-api.pingan.com.cn:20080/open/vassPartner/appsvr/property/api/new/',
|
|
],
|
|
|
|
/**
|
|
* 生产环境参数
|
|
*/
|
|
'dev' => [
|
|
'client_id' => 'P_YISHIDAI',
|
|
'grant_type' => 'client_credentials',
|
|
'client_secret' => 'F3j5J7bx',
|
|
'userName' => '13936166646',
|
|
'AES_CODE' => '108DD27AB83252DB',
|
|
'tokenUri' => 'http://api.pingan.com.cn/oauth/oauth2/access_token',
|
|
'Uri' => 'http://api.pingan.com.cn/open/vassPartner/appsvr/property/api/new/',
|
|
],
|
|
|
|
'coupon_status' => [
|
|
1 => '新建',
|
|
2 => '未生效',
|
|
3 => '生效',
|
|
4 => '失效',
|
|
5 => '过期',
|
|
],
|
|
|
|
];
|