Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ldy
/
payment
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d0622ee2
authored
Jul 01, 2019
by
wangyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 调整小程序支付
1 parent
a70fca30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
src/Common/Fu/Data/BackPubChargeData.php
src/Common/FuConfig.php
src/Common/Fu/Data/BackPubChargeData.php
View file @
d0622ee
...
@@ -21,6 +21,7 @@ class BackPubChargeData extends FuBaseData
...
@@ -21,6 +21,7 @@ class BackPubChargeData extends FuBaseData
'nonceStr'
=>
$this
->
sdk_noncestr
,
'nonceStr'
=>
$this
->
sdk_noncestr
,
'package'
=>
$this
->
sdk_package
,
'package'
=>
$this
->
sdk_package
,
'signType'
=>
$this
->
sdk_signtype
,
'signType'
=>
$this
->
sdk_signtype
,
'paySign'
=>
$this
->
sdk_paysign
];
];
break
;
break
;
case
'FWC'
:
case
'FWC'
:
...
...
src/Common/FuConfig.php
View file @
d0622ee
...
@@ -102,5 +102,7 @@ final class FuConfig extends ConfigInterface
...
@@ -102,5 +102,7 @@ final class FuConfig extends ConfigInterface
if
(
key_exists
(
'base_url'
,
$config
)
&&
!
empty
(
$config
[
'base_url'
]))
$this
->
base_url
=
rtrim
(
$config
[
'base_url'
],
'/'
);
if
(
key_exists
(
'base_url'
,
$config
)
&&
!
empty
(
$config
[
'base_url'
]))
$this
->
base_url
=
rtrim
(
$config
[
'base_url'
],
'/'
);
$this
->
startTime
=
time
();
$this
->
startTime
=
time
();
$this
->
trade_type
=
$this
->
order_type
=
$config
[
'trade_type'
]
??
(
$config
[
'order_type'
]
??
''
);
}
}
}
}
Write
Preview
Markdown
is supported
Attach a file
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 post a comment