Commit 009600cd authored by liuyuzhen's avatar liuyuzhen

小程序微信支付paySign多出空格问题

parent 29868a76
...@@ -38,7 +38,7 @@ class WxLitePay extends \Payment\TencentPay{ ...@@ -38,7 +38,7 @@ class WxLitePay extends \Payment\TencentPay{
$wxApiObj["nonceStr"] = \Our\CommonExtension::createNoncestr(); $wxApiObj["nonceStr"] = \Our\CommonExtension::createNoncestr();
$wxApiObj['package'] = 'prepay_id='.$this->prepay_id; $wxApiObj['package'] = 'prepay_id='.$this->prepay_id;
$wxApiObj['signType'] = 'MD5'; $wxApiObj['signType'] = 'MD5';
$wxApiObj["paySign "] = $this->getSign($wxApiObj); $wxApiObj["paySign"] = $this->getSign($wxApiObj);
return $wxApiObj; return $wxApiObj;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment