|
|
|
@ -100,7 +100,6 @@ class dalianpay{ |
|
|
|
|
|
|
|
// 加密交易报文 |
|
|
|
$crypted_trade_data = $Base->Crypt->encryptTradeData($trade_data); |
|
|
|
return $crypted_trade_data; // sc_test |
|
|
|
if($crypted_trade_data === false) |
|
|
|
{ |
|
|
|
// echo $Base->Crypt->err_msg; |
|
|
|
@ -118,7 +117,7 @@ class dalianpay{ |
|
|
|
// echo "\r\n"; |
|
|
|
// var_dump($api_url); |
|
|
|
$response = $Base->Request->send($api_url, $crypted_trade_data, $sign); |
|
|
|
// echo $response; |
|
|
|
return $response; // sc_test |
|
|
|
if($response === false) |
|
|
|
{ |
|
|
|
// echo $Base->Request->err_msg; |
|
|
|
|