nana_sen 1 rok pred
rodič
commit
1be73b072f
1 zmenil súbory, kde vykonal 3 pridanie a 2 odobranie
  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 = [