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:
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"',
|
||||
|
Loading…
x
Reference in New Issue
Block a user