From cfe6f030fce53c09cdc222768c8005a59091ddc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E8=90=8C?= <494089941@qq.com> Date: Mon, 27 Mar 2023 15:49:18 +0800 Subject: [PATCH] bug fix --- application/crm/controller/Index.php | 2 +- application/crm/model/Business.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 eedac18..5696db0 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();