正在显示
1 个修改的文件
包含
2 行增加
和
4 行删除
@@ -394,8 +394,7 @@ class AopClient { | @@ -394,8 +394,7 @@ class AopClient { | ||
394 | return $requestUrl; | 394 | return $requestUrl; |
395 | } else { | 395 | } else { |
396 | //拼接表单字符串 | 396 | //拼接表单字符串 |
397 | - return $requestUrl; | ||
398 | - //return $this->buildRequestForm($totalParams); | 397 | + return $this->buildRequestForm($totalParams); |
399 | } | 398 | } |
400 | 399 | ||
401 | 400 | ||
@@ -411,8 +410,7 @@ class AopClient { | @@ -411,8 +410,7 @@ class AopClient { | ||
411 | protected function buildRequestForm($para_temp) { | 410 | protected function buildRequestForm($para_temp) { |
412 | 411 | ||
413 | $sHtml = "<form id='alipaysubmit' name='alipaysubmit' action='".$this->gatewayUrl."?charset=".trim($this->postCharset)."' method='POST'>"; | 412 | $sHtml = "<form id='alipaysubmit' name='alipaysubmit' action='".$this->gatewayUrl."?charset=".trim($this->postCharset)."' method='POST'>"; |
414 | - //while (list ($key, $val) = each ($para_temp)) { | ||
415 | - foreach ($para_temp as $key => $val) { | 413 | + while (list ($key, $val) = each ($para_temp)) { |
416 | if (false === $this->checkEmpty($val)) { | 414 | if (false === $this->checkEmpty($val)) { |
417 | //$val = $this->characet($val, $this->postCharset); | 415 | //$val = $this->characet($val, $this->postCharset); |
418 | $val = str_replace("'","'",$val); | 416 | $val = str_replace("'","'",$val); |
-
请 注册 或 登录 后发表评论