$postData = array(
'amount'=>10, 'jspay_flag'=>4, 'merchant_id'=>$config['merchantId'], 'nonce_str'=>123, 'notify_url'=>'htts://www.baidu.com', 'pay_way'=>'WXZF', 'service'=>'get_tdcode', 'third_order_id'=>"DJ20180606095731449", ); $str = ""; foreach($postData as $key=>$val){ $str.= '&'.$key.'='.$val; } &amount=10&jspay_flag=4&merchant_id=0000000018&nonce_str=123¬ify_url=htts://www.baidu.com&pay_way=WXZF&service=get_tdcode&third_order_id=DJ20180606095731449 notify_url 乱码????????? |
|
沙发#
发布于:2018-06-06 10:48
notify_url数值htts://www.baidu.com应该是https://www.baidu.com,你少了一个p
|
|