rabin 1 năm trước cách đây
mục cha
commit
15e2853a9b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/bao/connect/api/Notify.php

+ 1 - 1
src/bao/connect/api/Notify.php

@@ -8,7 +8,6 @@ class Notify extends Api
         //$param = '{"s":"132dcszvteLAx3r5eKrjarbGyJilBFECGu2F7mCX-H6K2_w","appid":"app483393213726","order_id":"Q202401040798155761553480","merchant_order_id":"yk18f2401040253000002","status":2,"cash":1000,"msg":"充值成功","actual_cash":1004.9999999999999,"time":1704308034101,"nonce":"fa0912fcfeb3ddfec4e821c26","signature":"d58295706e069e61a4a4ef9428ae0d155b36fae6"}';
         //$input = Dever::json_decode($param);
         $input = Dever::input();
-        Dever::log($input, 'notify');
         if (!isset($input['s'])) {
             $this->error('error');
         }
@@ -31,6 +30,7 @@ class Notify extends Api
         if (!$input) {
             $this->error('error');
         }
+        Dever::log($input, 'notify');
         $this->load($input, $connect_id, $api_id, $order_id);
     }