This repository has been archived on 2021-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pingan_unionpay/config/sinopec.php
2020-09-24 14:39:31 +08:00

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 => '过期',
],
];