Commit 380d15fc authored by zhuwei's avatar zhuwei

1

parent bc1aecf7
......@@ -128,6 +128,15 @@ class User extends Basic
$conditions['user_phone'] = array( "like", "%" . trim($params['user_phone']) . "%" );
}
//具体业态搜索
if (isset($params['concrete_industry']) ) {
if (strlen($params['concrete_industry']) > 20) {
return $this->response(101, '输入内容长度超限');
}
$conditions['concrete_industry'] = [ 'LIKE', '%' . $params['concrete_industry'] . '%' ];
}
break;
case 2:
$conditions['agent_id'] = $params['agent_id'];
......@@ -223,10 +232,7 @@ class User extends Basic
if(isset($params['entrust_type']) && is_numeric($params['entrust_type'])){
$conditions['entrust_type'] =$params['entrust_type'];
}
//具体业态搜索
if (isset($params['concrete_industry']) ) {
$conditions['concrete_industry'] = [ 'LIKE', '%' . $params['concrete_industry'] . '%' ];
}
}
......
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