dever 6 years ago
parent
commit
c3138820fb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      sdk/cmbc/Api/Notify.php

+ 3 - 0
sdk/cmbc/Api/Notify.php

@@ -13,6 +13,7 @@ class Notify extends Core
 	public function request($request, $tool = false)
 	public function request($request, $tool = false)
 	{
 	{
 		$this->data = $request;
 		$this->data = $request;
+		$tool->log('支付回调-初始化11', $request);
 		$this->setParam('mhtOrderNo');
 		$this->setParam('mhtOrderNo');
 		$this->setParam('mhtOrderName');
 		$this->setParam('mhtOrderName');
 		$this->setParam('mhtOrderType');
 		$this->setParam('mhtOrderType');
@@ -39,6 +40,8 @@ class Notify extends Core
 		if ($error) {
 		if ($error) {
 			return $tool->updateOrder($this->param['mhtOrderNo'], $this->param['mhtOrderAmt'], $error);
 			return $tool->updateOrder($this->param['mhtOrderNo'], $this->param['mhtOrderAmt'], $error);
 		}
 		}
+
+		$tool->log('支付回调-初始化22', $this->param);
 		$signature = $this->createSignature($this->param['signType']);
 		$signature = $this->createSignature($this->param['signType']);
 		if ($signature != $this->data['signature']) {
 		if ($signature != $this->data['signature']) {
 			$tool->updateOrder($this->param['mhtOrderNo'], $this->param['mhtOrderAmt'], '签名错误');
 			$tool->updateOrder($this->param['mhtOrderNo'], $this->param['mhtOrderAmt'], '签名错误');