public function webAppDetailAction() { $date = str_replace('-', '_', reqstr('date', '')); $stationid = reqnum('stationid', 1); $select = reqnum('select', 1); if (!$date) { return array('code' => 0); } $nt = new Psys_StationModel(); $list = $nt->webAppDetail($date, $stationid, $select); $ret = array('code' => 1, 'allrow' => $list); //var_dump($list); //echo json_encode($list['app']); return $ret; }