no message

doctree
zcy 2022-04-28 01:40:31 +08:00
parent c41f9b23dd
commit b2754311aa
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class Doc extends Model
public function top5Doc(){
$result = [];
$db = static::getDB();
$stmt = $db->query('select id,title,type from doc where doc.is_public = 0 order by update_time desc limit 5;');
$stmt = $db->query('select id,title,type from doc_copy1 where doc_copy1.is_public = 0 order by update_time desc limit 5;');
$recv = $stmt->fetchAll();
return $recv;
}