Commit 318f8803 authored by zw's avatar zw

隐藏

parent 662f112f
...@@ -664,11 +664,7 @@ class AAgents extends BaseModel ...@@ -664,11 +664,7 @@ class AAgents extends BaseModel
*/ */
public function searchAgentsByKeyword($field, $params) public function searchAgentsByKeyword($field, $params)
{ {
if(isset($params["status"]) && $params["status"] == "-1"){
unset($params["status"]);
}else{
$params["status"] = array("in","0,3"); $params["status"] = array("in","0,3");
}
$result = Db::table($this->table) $result = Db::table($this->table)
->field($field) ->field($field)
->where($params) ->where($params)
......
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