支付宝接口优化

feat/task1-c-wallet
devil_gong 2019-03-15 11:14:55 +08:00
parent e4287b9b57
commit b3832b6753
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ class Alipay
private function BuildRequestForm($params)
{
$html = "<form id='alipaysubmit' name='alipaysubmit' action='https://openapi.alipay.com/gateway.do?charset=utf-8' method='POST'>";
while(list ($key, $val) = each($params))
foreach($params as $key=>$val)
{
if(!empty($val))
{