...
|
...
|
@@ -43,6 +43,7 @@ class WeixinPay { |
|
|
'trade_type' => 'JSAPI'//交易类型
|
|
|
);
|
|
|
//统一下单签名
|
|
|
dump($parameters);
|
|
|
$parameters['sign'] = $this->getSign($parameters);
|
|
|
$xmlData = $this->arrayToXml($parameters);
|
|
|
$return = $this->xmlToArray($this->postXmlCurl($xmlData, $url, 60));
|
...
|
...
|
|