Commit 6efa2f16 authored by hujun's avatar hujun

city

parent 09760757
......@@ -249,8 +249,12 @@ class HomePageLog extends Basic
// $where_["f.city"] = $params['city'] ? $params['city'] : '上海市';
// }
if ($params['city'] != '全部' && !empty($params['city'])) {
$where_["f.city"] = $params['city'];
if ($params['city'] != '全部') {
if (empty($params['city'])) {
$where_["f.city"] = $this->city;
} else {
$where_["f.city"] = $params['city'];
}
}
if (!empty($params['disc'])) {
......
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