牟新芬 hace 5 años
padre
commit
64d47639bf
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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']) {