中石油化基础文件

This commit is contained in:
2020-09-24 14:39:31 +08:00
parent e84e74268a
commit 1f178435a6
6 changed files with 278 additions and 33 deletions

42
config/sinopec.php Normal file
View File

@@ -0,0 +1,42 @@
<?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 => '过期',
],
];