Merge pull request 'bug fix' (#31) from zm into master

Reviewed-on: mengfucius/wkcrm#31
pull/40/head
张萌 2 years ago
commit 59eb058bc1

@ -713,7 +713,7 @@ class Index extends ApiCommon
$param['user_id'] = $param['user_id'] ?: $userInfo['id']; $param['user_id'] = $param['user_id'] ?: $userInfo['id'];
$indexModel = new IndexLogic; $indexModel = new IndexLogic;
if ($param['status_id'] == "10000" || $param['status_id'] == "10001") { if ($param['status_id'] == "10000" || $param['status_id'] == "10001") {
$data['funnel'] = $param['status_id']; $param['funnel'] = $param['status_id'];
} }
$data = $indexModel->businessList($param); $data = $indexModel->businessList($param);

@ -66,6 +66,7 @@ class Business extends Common
unset($request['overdue']); unset($request['overdue']);
unset($request['isMessage']); unset($request['isMessage']);
unset($request['businessIdArray']); unset($request['businessIdArray']);
unset($request['funnel']);
$request = $this->fmtRequest($request); $request = $this->fmtRequest($request);
$requestMap = $request['map'] ?: []; $requestMap = $request['map'] ?: [];
$sceneModel = new \app\admin\model\Scene(); $sceneModel = new \app\admin\model\Scene();

Loading…
Cancel
Save