|
|
|
@ -65,9 +65,8 @@ |
|
|
|
die(); |
|
|
|
} |
|
|
|
|
|
|
|
// echo "\r\n"; |
|
|
|
// echo "[sign]: {$sign}"; |
|
|
|
// die(); |
|
|
|
echo "\r\n"; |
|
|
|
echo "[sign]: {$sign}"; |
|
|
|
|
|
|
|
// 加密交易报文 |
|
|
|
$crypted_trade_data = $Base->Crypt->encryptTradeData($trade_data); |
|
|
|
@ -81,9 +80,8 @@ |
|
|
|
die(); |
|
|
|
} |
|
|
|
|
|
|
|
// echo "\r\n"; |
|
|
|
// echo "[crypted message]: {$crypted_trade_data}"; |
|
|
|
// die(); |
|
|
|
echo "\r\n"; |
|
|
|
echo "[crypted message]: {$crypted_trade_data}"; |
|
|
|
|
|
|
|
// 发送报文 |
|
|
|
// echo "\r\n"; |
|
|
|
@ -99,8 +97,8 @@ |
|
|
|
echo json_encode($errorMessage,true); |
|
|
|
die(); |
|
|
|
} |
|
|
|
// echo "\r\n"; |
|
|
|
// echo "[response message]: {$response}"; |
|
|
|
echo "\r\n"; |
|
|
|
echo "[response message]: {$response}"; |
|
|
|
|
|
|
|
// 解析响应报文 |
|
|
|
$response = json_decode($response, true); |
|
|
|
|