|
|
@@ -43,13 +43,10 @@ class PaySign {
|
|
|
// 商户号
|
|
|
$data['agencyId'] = $this->agencyId;
|
|
|
$data_content = json_encode($data);
|
|
|
- LoggerTool::info($data_content);
|
|
|
// 发送请求
|
|
|
$request_result = $this->httpPost($data_content, $url);
|
|
|
// 解密返回报文
|
|
|
$result_json = json_decode($request_result,true);
|
|
|
- LoggerTool::info($result_json);
|
|
|
-
|
|
|
// 用商户私钥解密aes密钥(是由平台随机生成的)
|
|
|
$result_aes_key = $this->rsaDecode($result_json['encryptKey'], $private_rsa_key);
|
|
|
// 用aes密钥解密报文
|