diff --git a/application/default/controllers/ServiceController.php b/application/default/controllers/ServiceController.php index 3372173b..c2bf6698 100644 --- a/application/default/controllers/ServiceController.php +++ b/application/default/controllers/ServiceController.php @@ -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"]).",";