Browse Source

article模块提交

huanglei 3 months ago
parent
commit
33e533ba93
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Models/Article.php

+ 1 - 0
app/Models/Article.php

@@ -34,6 +34,7 @@ class Article extends Model
         $data['update_time']				= time();
         // 写入数据表
         $id						            = $this->query()->insertGetId($data);
+        
         // 返回结果
         return                              $id;
     }