Browse Source

transform

zz 6 years ago
parent
commit
293c2a6cd7
1 changed files with 3 additions and 2 deletions
  1. 3 2
      app/Console/Commands/BookTest.php

+ 3 - 2
app/Console/Commands/BookTest.php

@@ -423,11 +423,12 @@ class BookTest extends Command
                 ->where('distribution_channel_id',384)
                 ->select('uid')
                 ->first();
-            Log::info('$froce_user user is :');
-            Log::info('$froce_user is: '.$froce_user->uid);
             if(!$froce_user){
                 continue;
             }
+            Log::info('$froce_user user is :');
+            Log::info('$froce_user is: '.$froce_user->uid);
+
             if($froce_user && $froce_user->uid != $v->id){
                 $chapter_model->setCurrentTable($froce_user->uid);
                 $data = [];