|
@@ -94,7 +94,7 @@ class Wxfy
|
|
|
$a = "<?xml version=\"1.0\" encoding=\"GBK\" standalone=\"yes\"?><xml>" . $this->toXml($data) . "</xml>";
|
|
|
//
|
|
|
// //经过两次urlencode()之后的字符串
|
|
|
- // $b = "req=" .$a;
|
|
|
+ $b = "req=" .$a;
|
|
|
|
|
|
//通过curl的post方式发送接口请求
|
|
|
$url = "https://spay-mc.fuioupay.com/wxPreCreate";
|
|
@@ -110,7 +110,7 @@ class Wxfy
|
|
|
dump($a);
|
|
|
die(var_dump($data));
|
|
|
}
|
|
|
- return json_encode($data);
|
|
|
+ return $a;
|
|
|
return $this->SendDataByCurl($url, $b);
|
|
|
}
|
|
|
|