|
@@ -274,8 +274,6 @@ class Wxpay_client_pub extends Common_util_pub
|
|
|
*/
|
|
|
function createXml()
|
|
|
{
|
|
|
- echo 323;exit;
|
|
|
-
|
|
|
$this->parameters["appid"] = Config::get('WECHAT_APPID');//公众账号ID
|
|
|
$this->parameters["mch_id"] = Config::get('WECHAT_MCHID');//商户号
|
|
|
$this->parameters["nonce_str"] = $this->createNoncestr();//随机字符串
|
|
@@ -298,8 +296,8 @@ class Wxpay_client_pub extends Common_util_pub
|
|
|
*/
|
|
|
function postXmlSSL()
|
|
|
{
|
|
|
+ echo Config::get('WECHAT_APPID');exit;
|
|
|
$xml = $this->createXml();
|
|
|
- echo 22;exit;
|
|
|
$this->response = $this->postXmlSSLCurl($xml,$this->url,$this->curl_timeout);
|
|
|
return $this->response;
|
|
|
}
|