/** 获取列表搜索信息 **/ public function getList() { $obj = new Demo(); $search = new DemoSearch(); $search->Status = $this->Status; $search->ProjectId = $this->ProjectId; $search->PageIndex = $this->PageIndex; $search->PageSize = $this->PageSize; $search->NeedCount = $this->NeedCount; $res = $obj->getList($search); echo json_encode($res); exit; }