visuddhinanda 3 lat temu
rodzic
commit
9a3c1e0c13
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      app/Console/Commands/UpgradeCompound.php

+ 3 - 0
app/Console/Commands/UpgradeCompound.php

@@ -163,6 +163,9 @@ class UpgradeCompound extends Command
                 $new->creator_id = 1;
                 $new->creator_id = 1;
                 $new->flag = 1;
                 $new->flag = 1;
                 $new->save();
                 $new->save();
+            }
+            if(env('APP_ENV','local') !== 'local'){
+                sleep(1);
             }
             }
 		}
 		}
 		//删除旧数据
 		//删除旧数据