1
0
mirror of https://gitee.com/zoujingli/WeChatDeveloper.git synced 2025-04-06 03:58:03 +08:00

Update BasicWePay.php

This commit is contained in:
邹景立 2023-06-19 14:04:13 +08:00
parent 9f236c374c
commit b84cc6d54f

@ -161,7 +161,6 @@ abstract class BasicWePay
{
list($time, $nonce) = [time(), uniqid() . rand(1000, 9999)];
$signstr = join("\n", [$method, $pathinfo, $time, $nonce, $jsondata, '']);
echo $pathinfo . PHP_EOL;
// 生成数据签名TOKEN
$token = sprintf('mchid="%s",nonce_str="%s",timestamp="%d",serial_no="%s",signature="%s"',