renderSuccess(compact('detail')); } return $this->renderError('餐桌/包间不存在'); } /** * 列表 */ public function lists($dataType = 0) { $model = new TableModel; $list = $model->getList($this->shop_id,$dataType); return $this->renderSuccess(compact('list')); } }