Commit dbe9cad6 authored by hujun's avatar hujun

where

parent e66cab98
...@@ -77,9 +77,9 @@ class VerifyService ...@@ -77,9 +77,9 @@ class VerifyService
$arr_list = []; $arr_list = [];
if (count($result) > 0) { if (count($result) > 0) {
$params["district_id"] = $result[0]["district_id"]; $where["district_id"] = $result[0]["district_id"];
$params["level"] = ['in', '30,40']; $where["level"] = ['in', '30,40'];
$arr_list = $this->agentModel->searchAgentsByKeyword("id",$params); $arr_list = $this->agentModel->searchAgentsByKeyword("id", $where);
} }
if(count($arr_list) > 0){ if(count($arr_list) > 0){
return $arr_list[0]["id"]; return $arr_list[0]["id"];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment