Commit a8c10d50 authored by zhuwei's avatar zhuwei

1

parent 2fd98b63
......@@ -203,9 +203,10 @@ class Shop extends Basic
$ids = $verifyService->getPanpartyByAgentId($params['agent_id']);
//$conditions['upload_id'] = array( "eq", $params['agent_id'] );
$conditions['id'] = array("in", $ids);
if (isset($params['site_name']) && $params['site_name']) {
//城市筛选
$conditions['city'] = $params['site_name'];
if(empty($params["city"])){
$conditions["city"] = trim($this->city);
}else{
$conditions["city"] = $params["city"];
}
}
......
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