This commit is contained in:
devil_gong 2019-07-12 19:27:35 +08:00
parent 9e11a85fc4
commit ddd8942ea0

View File

@ -143,7 +143,6 @@ class MafubaoWeixin
$sign = '';
$urls = '';
ksort($params);
reset($params);
foreach($params AS $key => $val)
{
@ -159,7 +158,7 @@ class MafubaoWeixin
$sign .= "&";
$urls .= "&";
}
$sign .= "$key=$val"; //拼接为url参数形式
$sign .= "$key=".urldecode($val); //拼接为url参数形式
$urls .= "$key=" . urlencode($val); //拼接为url参数形式并URL编码参数值
}