diff --git a/application/crm/controller/Index.php b/application/crm/controller/Index.php index bec0384..8d3fa6b 100644 --- a/application/crm/controller/Index.php +++ b/application/crm/controller/Index.php @@ -713,7 +713,7 @@ class Index extends ApiCommon $param['user_id'] = $param['user_id'] ?: $userInfo['id']; $indexModel = new IndexLogic; if ($param['status_id'] == "10000" || $param['status_id'] == "10001") { - $data['funnel'] = $param['status_id']; + $param['funnel'] = $param['status_id']; } $data = $indexModel->businessList($param); diff --git a/application/crm/model/Business.php b/application/crm/model/Business.php index 993f1f7..081e576 100644 --- a/application/crm/model/Business.php +++ b/application/crm/model/Business.php @@ -66,6 +66,7 @@ class Business extends Common unset($request['overdue']); unset($request['isMessage']); unset($request['businessIdArray']); + unset($request['funnel']); $request = $this->fmtRequest($request); $requestMap = $request['map'] ?: []; $sceneModel = new \app\admin\model\Scene();