mirror of
https://gitee.com/zoujingli/WeChatDeveloper.git
synced 2025-04-06 03:58:03 +08:00
[更新]修正微信支付通知签名
This commit is contained in:
parent
d366343af4
commit
f716e8e3cc
@ -210,6 +210,7 @@ class Pay
|
|||||||
*/
|
*/
|
||||||
public function getPaySign(array $data)
|
public function getPaySign(array $data)
|
||||||
{
|
{
|
||||||
|
unset($data['sign']);
|
||||||
ksort($data);
|
ksort($data);
|
||||||
list($key, $str) = [$this->config->get('mch_key'), ''];
|
list($key, $str) = [$this->config->get('mch_key'), ''];
|
||||||
foreach ($data as $k => $v) {
|
foreach ($data as $k => $v) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user