|
@@ -278,8 +278,6 @@ class Wxpay_client_pub extends Common_util_pub
|
|
$this->parameters["mch_id"] = Config::get('WECHAT_MCHID');//商户号
|
|
$this->parameters["mch_id"] = Config::get('WECHAT_MCHID');//商户号
|
|
$this->parameters["nonce_str"] = $this->createNoncestr();//随机字符串
|
|
$this->parameters["nonce_str"] = $this->createNoncestr();//随机字符串
|
|
$this->parameters["sign"] = $this->getSign($this->parameters);//签名
|
|
$this->parameters["sign"] = $this->getSign($this->parameters);//签名
|
|
- echo 11;
|
|
|
|
- print_r($this->parameters);exit;
|
|
|
|
return $this->arrayToXml($this->parameters);
|
|
return $this->arrayToXml($this->parameters);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -490,6 +488,7 @@ class Refund_pub extends Wxpay_client_pub
|
|
function getResult()
|
|
function getResult()
|
|
{
|
|
{
|
|
$this->postXmlSSL();
|
|
$this->postXmlSSL();
|
|
|
|
+ echo 111;exit;
|
|
$this->result = $this->xmlToArray($this->response);
|
|
$this->result = $this->xmlToArray($this->response);
|
|
return $this->result;
|
|
return $this->result;
|
|
}
|
|
}
|