소스 검색

article模块提交

huanglei 3 달 전
부모
커밋
33e533ba93
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;
     }