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

支付宝

... ... @@ -410,7 +410,8 @@ 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)) {
//while (list ($key, $val) = each ($para_temp)) {
foreach ($para_temp as $key => $val) {
if (false === $this->checkEmpty($val)) {
//$val = $this->characet($val, $this->postCharset);
$val = str_replace("'","&apos;",$val);
... ...