Exemplo n.º 1
0
 public function getIdcsAction()
 {
     $idcs = ZkConf::getAllZk();
     foreach ($idcs as $key => $value) {
         if ($key !== "test") {
             $data[] = $key;
         }
     }
     $res = array("errno" => "0", "errmsg" => "", "data" => $data);
     $json = json_encode($res);
     echo $json;
 }