Browse Source

sunguidong

zhangguidong 2 years ago
parent
commit
7446aa1933
2 changed files with 2 additions and 1 deletions
  1. 1 1
      app/common.php
  2. 1 0
      app/event/BalancePayNotify.php

+ 1 - 1
app/common.php

@@ -526,7 +526,7 @@ function addon_is_exit($name)
  */
 function event($event, $args = [], $once = false)
 {
-    print_r(111);
+    print_r($event);
 	$res = Event::trigger($event, $args);
     print_r($res);
 

+ 1 - 0
app/event/BalancePayNotify.php

@@ -32,6 +32,7 @@ class BalancePayNotify
 	// 行为扩展的执行入口必须是run
 	public function handle($data)
 	{
+        print_r(222);die;
         file_put_contents('pay1_log.log', $data["out_trade_no"]);
 
         $order = new BalanceRecharge();