Commit fdb80714 by yeran

update ltpay notify

1 parent a1cfbb91
Showing with 3 additions and 2 deletions
{ {
"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": "",
......
...@@ -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);
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!