add three data thumb
This commit is contained in:
parent
980a086833
commit
1157141d5a
|
@ -11,6 +11,8 @@ class HeiheController extends DataController
|
||||||
|
|
||||||
function indexAction()
|
function indexAction()
|
||||||
{
|
{
|
||||||
|
$sql="select m.uuid,m.title,m.id,m.description from normalmetadata m left join thumbnail t on m.id=t.id where m.source='e3ad32dc-f573-11e0-aa7b-b768cfd88d80' and length(t.data)>2 order by random() limit 3";
|
||||||
|
$this->view->meatdata=$this->db->fetchAll($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue