first commit
This commit is contained in:
32
config/config.php
Normal file
32
config/config.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'merNo' => env('WO_UNICOM_MERNO', ''),//商户编号
|
||||
'storeName' => env('WO_UNICOM_STORENAME', ''),//商户名
|
||||
'key' => env('WO_UNICOM_KEY', ''),//商户密钥
|
||||
'signType' => 'RSA_SHA256',//签名方式
|
||||
'woproductcode' => '',//产品编码
|
||||
|
||||
//接口地址
|
||||
'uri' => [
|
||||
'unicom' => [
|
||||
//下单
|
||||
'order' => 'https://epay.10010.com/wappay3.0/httpservice/wapPayPageAction.do?reqcharset=UTF-8',
|
||||
//查询
|
||||
'query' => 'https://epay.10010.com/CashierWeb/query/order.htm?reqCharSet=UTF-8',
|
||||
//单笔退款
|
||||
'refund' => 'https://epay.10010.com/CashierWeb/trade/singleRefund.htm?reqCharSet=UTF-8',
|
||||
],
|
||||
'ysd' => [
|
||||
'order' => env('APP_URL', 'https://card.ysd-bs.com'),
|
||||
],
|
||||
|
||||
],
|
||||
|
||||
//证书地址
|
||||
'certificate' => [
|
||||
'private' => env('WO_YSD_KEY_PATH', ''),//本地私钥
|
||||
'public' => env('WO_YSD_CERT_PATH', ''),//本地公钥
|
||||
'unicom_public' => env('WO_CERT_PATH', ''),//沃钱包公钥
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user