request->param('id',0,'intval'); //判断该信息是否存在 $info=Db::name("admin_push")->where("id={$id}")->find(); if(!$info){ $this->assign("reason",lang('信息不存在')); return $this->fetch(':error'); } $this->assign("info",$info); return $this->fetch(); } }