public function show() { $wid = I('param.wid', ''); $work = new \Admin\Model\WorkModel(); $this->ajaxReturn($work->getDetail($wid), "json"); }