$this->getUserInfo('companyId') ] ) ->field('fromd name,id')->group('fromd')->select()->toArray(); } /** * 获取流量来源筛选列表 * * @return \think\response\Json */ public function index() { try { return ResponseHelper::success( $this->getSourceSectionCols() ); } catch (\Exception $e) { return ResponseHelper::error($e->getMessage(), $e->getCode()); } } }