add uuid display in output action
This commit is contained in:
parent
f8b1504174
commit
bc29229463
|
@ -235,10 +235,11 @@ class ServiceController extends Zend_Controller_Action
|
|||
{
|
||||
$this->_helper->layout->disableLayout();
|
||||
$this->_helper->viewRenderer->setNoRender();
|
||||
$sql="select title,datatype,filesize,id from normalmetadata";
|
||||
$sql="select uuid,title,datatype,filesize,id from normalmetadata";
|
||||
$md=$this->db->fetchAll($sql);
|
||||
foreach($md as $m)
|
||||
{
|
||||
print $m["uuid"].",";
|
||||
print $m["title"].",";
|
||||
print ($m["datatype"]?"内部":"公开").",";
|
||||
print ($m["filesize"]==1?" ":$m["filesize"]).",";
|
||||
|
|
Loading…
Reference in New Issue