tongshanglei 2 anos atrás
pai
commit
0ae21f1f87
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      catch/device/controller/Station.php

+ 1 - 1
catch/device/controller/Station.php

@@ -212,9 +212,9 @@ class Station extends CatchController
                 $arr['name'] = trim($sheet->getCell("D" . $j)->getFormattedValue());  
                 $arr['created_at']=time();
                 $arr['shortcode']=$shortcode;
+                array_push($data,$arr);
                 $arr['DATA_TYPE']='station_save';
                 pushDataToRedisList($arr);
-                array_push($data,$arr);
                
             }
         }