Commit a8c10d50 authored by zhuwei's avatar zhuwei

1

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