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