tongshanglei 2 年 前
コミット
4c8fd41169
共有1 個のファイルを変更した2 個の追加1 個の削除を含む
  1. 2 1
      catch/device/controller/Station.php

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

@@ -211,9 +211,10 @@ 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);
                
             }
         }