logic = (new BrandSeriesLogic()); } /** * 获取系统list */ public function getList($params) { if (empty($params['brand_id'])) throw new BusinessException('品牌id不能为空'); $where = []; if(isset($params['brand_id']) && $params['brand_id']) $where[] = ['brand_id', '=', $params['brand_id']]; return $this->logic->getList($where); } }