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 fdb80714
authored
Nov 24, 2020
by
yeran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update ltpay notify
1 parent
a1cfbb91
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
composer.json
src/Notify/LTFNotify.php
composer.json
View file @
fdb8071
{
{
"name"
:
"ldy/payment"
,
"name"
:
"ldy/payment"
,
"type"
:
"library"
,
"type"
:
"library"
,
"version"
:
"3.3.
5
"
,
"version"
:
"3.3.
6
"
,
"description"
:
"支付宝支付、微信支付、招商一网通支付、通联支付、米付支付、利楚扫呗、富友支付 php SDK。"
,
"description"
:
"支付宝支付、微信支付、招商一网通支付、通联支付、米付支付、利楚扫呗、富友支付 php SDK。"
,
"keywords"
:
[
"alipay"
,
"weixin"
,
"支付宝支付"
,
"微信支付"
,
"通联支付"
,
"集成支付接口SDK"
,
"招商一网通"
,
"一网通"
,
"利楚扫呗"
,
"富友支付"
],
"keywords"
:
[
"alipay"
,
"weixin"
,
"支付宝支付"
,
"微信支付"
,
"通联支付"
,
"集成支付接口SDK"
,
"招商一网通"
,
"一网通"
,
"利楚扫呗"
,
"富友支付"
],
"homepage"
:
""
,
"homepage"
:
""
,
...
...
src/Notify/LTFNotify.php
View file @
fdb8071
...
@@ -36,7 +36,8 @@ class LTFNotify extends NotifyStrategy{
...
@@ -36,7 +36,8 @@ class LTFNotify extends NotifyStrategy{
//支持直接读取input流
//支持直接读取input流
$data
=
@
file_get_contents
(
'php://input'
);
$data
=
@
file_get_contents
(
'php://input'
);
if
(
!
empty
(
$data
)){
if
(
!
empty
(
$data
)){
$inputArray
=
json_decode
(
$data
,
true
);
// $inputArray = json_decode($data, true);
parse_str
(
$data
,
$inputArray
);
$params
=
array_merge
(
$params
,
$inputArray
);
$params
=
array_merge
(
$params
,
$inputArray
);
}
}
...
...
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