dever 5 years ago
parent
commit
b6026eb025
2 changed files with 3 additions and 0 deletions
  1. 2 0
      lib/Core.php
  2. 1 0
      lib/Wechat.php

+ 2 - 0
lib/Core.php

@@ -21,6 +21,8 @@ class Core
 			}
 			$this->log($msg, $info);
 			$db->update($param);
+		} else {
+			$this->log('支付失败', '错误的订单id:' . $order_id);
 		}
 	}
 

+ 1 - 0
lib/Wechat.php

@@ -25,6 +25,7 @@ class Wechat extends Core
 	 */
 	public function notify()
 	{
+		$this->log('支付回调', $_REQUEST);
 		$callback = new Callback();
 		$result = $callback->Handle($this->config, false);
 	}