public function downapkAction() { $date = reqstr('date', ''); $stationid = reqnum('stationid', 1); if (!$date) { return array('code' => 0); } $nt = new Psys_StationModel(); $list = $nt->downapkCount($date, $stationid); return array('code' => 1, 'allrow' => $list); }