国通支付
This commit is contained in:
parent
f4a5809e6b
commit
9fdffbc296
@ -262,13 +262,13 @@ MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwRUsPpbQPhBWrxFhG00k9VBgnHc7dCZyTQYI
|
||||
ksort($params);
|
||||
reset($params);
|
||||
$str = "";
|
||||
$t = array();
|
||||
foreach($params as $key=>$value){
|
||||
if($key==0){
|
||||
$str = $key."=".$value;
|
||||
}else{
|
||||
$str.= "&".$key."=".$value;
|
||||
}
|
||||
$t[] = $key."=".$value;
|
||||
}
|
||||
print_r($t);
|
||||
$str = implode("&",$t);
|
||||
var_dump($str);
|
||||
// $str = http_build_query($params,'','&');
|
||||
return $str;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user