diff --git a/webht/third_party/pay/controllers/AlipayTradeService.php b/webht/third_party/pay/controllers/AlipayTradeService.php index 0d4a916f..f4ffba33 100644 --- a/webht/third_party/pay/controllers/AlipayTradeService.php +++ b/webht/third_party/pay/controllers/AlipayTradeService.php @@ -93,6 +93,7 @@ class AlipayTradeService extends CI_Controller public function alipay_notice() { $resp_arr = $this->input->post(); + log_message('error','Alipay Original Notice :'.json_encode($resp_arr)); $asyns_resp = $this->check($resp_arr); // 未得到结果 if (empty($asyns_resp->data->out_trade_no)) { diff --git a/webht/third_party/pay/models/AlipayTradeQueryContentBuilder.php b/webht/third_party/pay/models/AlipayTradeQueryContentBuilder.php index 6929da92..ed892a77 100644 --- a/webht/third_party/pay/models/AlipayTradeQueryContentBuilder.php +++ b/webht/third_party/pay/models/AlipayTradeQueryContentBuilder.php @@ -24,7 +24,7 @@ class AlipayTradeQueryContentBuilder extends CI_Model public function getBizContent() { if(!empty($this->bizContentarr)){ - $this->bizContent = json_encode($this->bizContentarr,JSON_UNESCAPED_UNICODE); + $this->bizContent = json_encode($this->bizContentarr); // 5.4增加的常量 JSON_UNESCAPED_UNICODE } return $this->bizContent; }