牟新芬 4 years ago
parent
commit
64d47639bf
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/adminapi/controller/v1/article/Article.php

+ 2 - 1
app/adminapi/controller/v1/article/Article.php

@@ -37,7 +37,8 @@ class Article extends AuthController
             ['id', 0],
             ['title', ''],
             ['image', ''],
-            ['content', '']
+            ['content', ''],
+            ['is_show', 0]
         ]);
         $data['add_time'] = time();
         if ($data['id']) {