params['sku_id']) ? $this->params['sku_id'] : 0; if (empty($sku_id)) { return $this->response($this->error('', 'REQUEST_SKU_ID')); } $bundling_model = new BundlingModel(); $info = $bundling_model->getBundlingGoods($sku_id); return $this->response($info); } /** * 详情信息 */ public function detail() { $bl_id = isset($this->params['bl_id']) ? $this->params['bl_id'] : 0; if (empty($bl_id)) { return $this->response($this->error('', 'REQUEST_BL_ID')); } $bundling_model = new BundlingModel(); $info = $bundling_model->getBundlingDetail([ [ 'bl_id', '=', $bl_id ] ]); return $this->response($info); } }