Browse Source

test

master
用户名 3 years ago
parent
commit
a19e6bae85
  1. 9
      mobile/dalianpay/demo/pay.php

9
mobile/dalianpay/demo/pay.php

@ -84,11 +84,14 @@
// echo "\r\n";
// var_dump($api_url);
$response = $Base->Request->send($api_url, $crypted_trade_data, $sign);
$response = json_decode($response, true);
if($response['retcode'] == 'FAIL')
echo $response;
if($response === false)
{
// echo $Base->Request->err_msg;
echo $response;
$errorMessage = array(
"data"=>"send error..."
);
echo json_encode($errorMessage,true);
die();
}
// echo "\r\n";

Loading…
Cancel
Save