作者 lihan
1 个管道 的构建 通过 耗费 0 秒

支付宝

... ... @@ -394,8 +394,7 @@ class AopClient {
return $requestUrl;
} else {
//拼接表单字符串
return $requestUrl;
//return $this->buildRequestForm($totalParams);
return $this->buildRequestForm($totalParams);
}
... ... @@ -411,8 +410,7 @@ class AopClient {
protected function buildRequestForm($para_temp) {
$sHtml = "<form id='alipaysubmit' name='alipaysubmit' action='".$this->gatewayUrl."?charset=".trim($this->postCharset)."' method='POST'>";
//while (list ($key, $val) = each ($para_temp)) {
foreach ($para_temp as $key => $val) {
while (list ($key, $val) = each ($para_temp)) {
if (false === $this->checkEmpty($val)) {
//$val = $this->characet($val, $this->postCharset);
$val = str_replace("'","&apos;",$val);
... ...