|
@@ -197,7 +197,7 @@ class InitCourseCommand extends Command
|
|
|
$courses = [13, 14];
|
|
|
foreach ($courses as $i) {
|
|
|
$t = Video::query()->where('course_id', $i)->count();
|
|
|
-
|
|
|
+ $this->line("total:{$t}");
|
|
|
$data = file_get_contents(base_path('data/youjihuaxueshuangyu.json'));
|
|
|
$data = json_decode($data, true);
|
|
|
foreach ($data['Videos'] as $k => $v) {
|