From c8c2e54bd0e4ab1b152622b30ba4c174d9307ab7 Mon Sep 17 00:00:00 2001 From: cctx <543577508@qq.com> Date: Tue, 28 Jan 2020 12:24:05 +0800 Subject: [PATCH 1/5] t --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4c72ba66..58d0516d 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ ----- -# JetBrains OS licenses + `payment` had been being developed with PhpStorm under the free JetBrains Open Source license(s) granted by JetBrains s.r.o., hence I would like to express by thanks here. From cd3f0dec0820f532d200ed72db6538052c03f649 Mon Sep 17 00:00:00 2001 From: cctx <543577508@qq.com> Date: Tue, 28 Jan 2020 12:28:20 +0800 Subject: [PATCH 2/5] t't't --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 58d0516d..190ea9ea 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Monthly installs][ico-downloads-monthly]][link-downloads] ----- - +test `payment` had been being developed with PhpStorm under the free JetBrains Open Source license(s) granted by JetBrains s.r.o., hence I would like to express by thanks here. From adf04bece52f5bfb2dcc87155d64db161fbd8b61 Mon Sep 17 00:00:00 2001 From: cctx <543577508@qq.com> Date: Tue, 28 Jan 2020 12:37:21 +0800 Subject: [PATCH 3/5] t --- composer.json | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/composer.json b/composer.json index a8ea8cb2..c2993d36 100644 --- a/composer.json +++ b/composer.json @@ -1,17 +1,9 @@ { - "name": "riverslei/payment", + "name": "521daichen/payment", "type": "library", "description": "支付宝支付、微信支付、招商一网通支付php SDK。方便快速接入,最完整的开源支付 php sdk", "keywords": ["alipay", "weixin", "支付宝支付", "微信支付", "集成支付接口SDK", "招商一网通", "一网通"], - "homepage": "https://helei112g.github.io/categories/payment-3/", "license": "MIT", - "authors": [ - { - "name": "helei", - "email": "dayugog@gmail.com", - "homepage": "https://helei112g.github.io/categories/payment-3/" - } - ], "require": { "php": ">=5.6", "ext-bcmath": "*", From 1581b52d79d31e576b03abe778f617e5807a0054 Mon Sep 17 00:00:00 2001 From: cctx <543577508@qq.com> Date: Tue, 28 Jan 2020 12:52:42 +0800 Subject: [PATCH 4/5] t --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 190ea9ea..57a3a830 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![Monthly installs][ico-downloads-monthly]][link-downloads] ----- -test +test! `payment` had been being developed with PhpStorm under the free JetBrains Open Source license(s) granted by JetBrains s.r.o., hence I would like to express by thanks here. From 701a65fc04459b9d813a4f97e7c79d8a54b3f09e Mon Sep 17 00:00:00 2001 From: cctx <543577508@qq.com> Date: Tue, 28 Jan 2020 13:16:07 +0800 Subject: [PATCH 5/5] t --- src/Common/Weixin/Data/Charge/PubChargeData.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Common/Weixin/Data/Charge/PubChargeData.php b/src/Common/Weixin/Data/Charge/PubChargeData.php index ed277099..d842fed7 100644 --- a/src/Common/Weixin/Data/Charge/PubChargeData.php +++ b/src/Common/Weixin/Data/Charge/PubChargeData.php @@ -31,9 +31,9 @@ protected function checkDataParam() $subMchId = $this->sub_mch_id;// 如果是服务商模式,则 sub_openid 必须提供 $subOpenid = $this->sub_openid; - if ($subMchId && empty($subOpenid)) { - throw new PayException('公众号的服务商模式,必须提供 sub_openid 参数.'); - } +// if ($subMchId && empty($subOpenid)) { +// throw new PayException('公众号的服务商模式,必须提供 sub_openid 参数.'); +// } } protected function buildData()