nana_sen 1 anno fa
parent
commit
1be73b072f
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      catch/api/controller/Api.php

+ 3 - 2
catch/api/controller/Api.php

@@ -1127,8 +1127,7 @@ class Api extends CatchController
                 # code...
                 return $info;
             }
-            //推送进
-            $info['status'] = 1;
+
 
             // // 临时功能代码
             // var_dump($info["id"]);
@@ -1151,6 +1150,8 @@ class Api extends CatchController
             $expInt =$info["time"]-$info["first_time"];
             
             if ($expInt >= 120 && !key_exists('pushTime', $info)) {
+                //推送进
+                $info['status'] = 1;
                 # code...
                 // var_dump('-------------expint------',$info["id"],$expInt);
                 $url_data = [