阶段性提交代码
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
return [
|
||||
//分配的渠道号
|
||||
'msg_sender' => 01,
|
||||
'msg_sender' => '660134',
|
||||
//打印在小票上,由活动标题、优惠金额、原始金额组合而成
|
||||
'pos_receipt' => '',
|
||||
'pos_receipt' => '本时生活,优惠生活',
|
||||
//广告,用于打印在小票上
|
||||
'pos_ad' => '',
|
||||
//营销联盟广告,用于打印在小票上
|
||||
'pos_mkt_ad' => '',
|
||||
'pos_mkt_ad' => '本时生活,优惠生活',
|
||||
//银联渠道id
|
||||
'agent_id' => '299',
|
||||
//银联网点id
|
||||
@@ -17,6 +17,7 @@ return [
|
||||
'serv_chg' => 0,
|
||||
//佣金
|
||||
'commission' => 0,
|
||||
//证书
|
||||
'check' => [
|
||||
'self' => [
|
||||
'private' => storage_path('cert/unionpay/self/private_rsa.pem'),
|
||||
@@ -26,6 +27,18 @@ return [
|
||||
'public' => storage_path('cert/unionpay/public_rsa.pem'),
|
||||
],
|
||||
],
|
||||
'type' => [
|
||||
'002025' => '查询',
|
||||
'002100' => '交易',
|
||||
'002101' => '冲正',
|
||||
'002102' => '撤销',
|
||||
],
|
||||
'log_type' => [
|
||||
'002025' => 'query',
|
||||
'002100' => 'freezecoupon',
|
||||
'002101' => 'reversal',
|
||||
'002102' => 'annul',
|
||||
],
|
||||
//基础数据
|
||||
'regular' => [
|
||||
'002025' => [
|
||||
@@ -50,6 +63,8 @@ return [
|
||||
"msg_sys_sn",
|
||||
"msg_ver",
|
||||
"req_serial_no",//自己添加的基础数据
|
||||
"orig_req_serial_no",//自己添加的基础数据
|
||||
"sett_date",//自己添加的基础数据
|
||||
],
|
||||
'002101' => [
|
||||
"msg_type",
|
||||
@@ -61,6 +76,7 @@ return [
|
||||
"msg_sys_sn",
|
||||
"msg_ver",
|
||||
"req_serial_no",//自己添加的基础数据
|
||||
"orig_req_serial_no",//自己添加的基础数据
|
||||
],
|
||||
'002102' => [
|
||||
"msg_type",
|
||||
@@ -72,7 +88,7 @@ return [
|
||||
"msg_sys_sn",
|
||||
"msg_ver",
|
||||
"req_serial_no",//自己添加的基础数据
|
||||
|
||||
"orig_req_serial_no",//自己添加的基础数据
|
||||
],
|
||||
],
|
||||
'fields' => [
|
||||
|
||||
Reference in New Issue
Block a user