Commit f4393aff by yeran

feat: commit

1 parent e08bb392
{ {
"name": "ldy/payment", "name": "ldy/payment",
"type": "library", "type": "library",
"version": "3.6.2", "version": "3.6.1",
"description": "支付宝支付、微信支付、招商一网通支付、通联支付、米付支付、利楚扫呗、富友支付、联拓付、易生支付、银盛支付、微诺付、汇收钱 php SDK。", "description": "支付宝支付、微信支付、招商一网通支付、通联支付、米付支付、利楚扫呗、富友支付、联拓付、易生支付、银盛支付、微诺付、汇收钱 php SDK。",
"keywords": ["alipay", "weixin", "支付宝支付", "微信支付","通联支付", "集成支付接口SDK", "招商一网通", "一网通", "利楚扫呗", "富友支付","微诺付","汇收钱"], "keywords": ["alipay", "weixin", "支付宝支付", "微信支付","通联支付", "集成支付接口SDK", "招商一网通", "一网通", "利楚扫呗", "富友支付","微诺付","汇收钱"],
"homepage": "", "homepage": "",
......
...@@ -57,8 +57,7 @@ class HsqTransferNotify extends NotifyStrategy ...@@ -57,8 +57,7 @@ class HsqTransferNotify extends NotifyStrategy
//解密 //解密
$decrypt = BaoFooRsaUtil::decryptByCERFile($retData, $publicKey); $decrypt = BaoFooRsaUtil::decryptByCERFile($retData, $publicKey);
$data_content = DataParser::toArray($decrypt); $data_content = DataParser::toArray($decrypt);
$result = $data_content['trans_reqDatas']['trans_reqData'] ?? ''; return $data_content['trans_reqDatas']['trans_reqData'] ?? '';
return $result;
} }
/** /**
......
...@@ -52,7 +52,6 @@ abstract class NotifyStrategy ...@@ -52,7 +52,6 @@ abstract class NotifyStrategy
// 回调商户的业务逻辑 // 回调商户的业务逻辑
$flag = $this->callback($notify, $notifyData); $flag = $this->callback($notify, $notifyData);
if ($flag) { if ($flag) {
$msg = 'OK'; $msg = 'OK';
} else { } else {
...@@ -116,4 +115,4 @@ abstract class NotifyStrategy ...@@ -116,4 +115,4 @@ abstract class NotifyStrategy
* *
*/ */
abstract protected function replyNotify($flag, $msg = 'OK'); abstract protected function replyNotify($flag, $msg = 'OK');
} }
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!