no message
parent
c41f9b23dd
commit
b2754311aa
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue