Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pay
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
bp
pay
Commits
a310948e
Commit
a310948e
authored
Sep 03, 2021
by
wanjilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add: metadata 增加pingxx_id
parent
8d17a557
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
0 deletions
+5
-0
PayService.php
application/services/pay/PayService.php
+1
-0
PingxxService.php
application/services/pingxx/PingxxService.php
+3
-0
RefundService.php
application/services/refund/RefundService.php
+1
-0
No files found.
application/services/pay/PayService.php
View file @
a310948e
...
@@ -64,6 +64,7 @@ class PayService
...
@@ -64,6 +64,7 @@ class PayService
$metadata
=
[
$metadata
=
[
'app_id'
=>
'merchant-c'
,
'app_id'
=>
'merchant-c'
,
'pingxx_id'
=>
PingxxService
::
getInstance
()
->
getAppId
(),
'environ'
=>
Application
::
app
()
->
environ
(),
'environ'
=>
Application
::
app
()
->
environ
(),
'order_id'
=>
$order_id
,
'order_id'
=>
$order_id
,
'goods'
=>
[],
'goods'
=>
[],
...
...
application/services/pingxx/PingxxService.php
View file @
a310948e
...
@@ -33,6 +33,9 @@ class PingxxService
...
@@ -33,6 +33,9 @@ class PingxxService
return
self
::
$instance
;
return
self
::
$instance
;
}
}
public
function
getAppId
()
{
return
Pingpp
::
getAppId
();
}
/**
/**
* @param $order_item_id
* @param $order_item_id
...
...
application/services/refund/RefundService.php
View file @
a310948e
...
@@ -64,6 +64,7 @@ class RefundService
...
@@ -64,6 +64,7 @@ class RefundService
'charge_amount'
=>
$data
[
'refund_order'
][
'refund_amount'
],
'charge_amount'
=>
$data
[
'refund_order'
][
'refund_amount'
],
'metadata'
=>
[
'metadata'
=>
[
'app_id'
=>
'merchant-c'
,
'app_id'
=>
'merchant-c'
,
'pingxx_id'
=>
PingxxService
::
getInstance
()
->
getAppId
(),
'environ'
=>
Application
::
app
()
->
environ
(),
'environ'
=>
Application
::
app
()
->
environ
(),
'refund_order_id'
=>
$data
[
'refund_order'
][
'refund_order_id'
],
'refund_order_id'
=>
$data
[
'refund_order'
][
'refund_order_id'
],
'order_item_id'
=>
$data
[
'order_item_id'
],
'order_item_id'
=>
$data
[
'order_item_id'
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment