ok($result); }else{ $this->error("没有查询到数据"); } } public function update(){ $result = SentPr::find($_GET["id"]); echo $result["content"]; } public function delete(){ $result = SentPr::find($_GET["id"]); echo $result["content"]; } }