From dda9c2b484f8539edd4c357530606cdd02b36332 Mon Sep 17 00:00:00 2001 From: kroutony Date: Wed, 26 Feb 2020 11:06:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=94=A2=E7=94=9F=E6=96=87?= =?UTF-8?q?=E7=AB=A0=E5=85=A7=E5=AE=B9=E7=9A=84=E6=8C=87=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Console/Commands/GeneratePosts.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Console/Commands/GeneratePosts.php b/app/Console/Commands/GeneratePosts.php index bb07487..df85d23 100644 --- a/app/Console/Commands/GeneratePosts.php +++ b/app/Console/Commands/GeneratePosts.php @@ -68,6 +68,7 @@ class GeneratePosts extends Command $post->fill([ 'title' => $this->randomTextLength($faker, 10, 25), 'excerpt' => $this->randomTextLength($faker, 10, 30), + 'content' => $faker->paragraph($faker->numberBetween(3, 50)), 'introduction' => $faker->realText($faker->numberBetween(20, 400)), 'user_id' => $user->id ]);