Commit 831511ee authored by hujun's avatar hujun

city

parent 6e23cb7e
...@@ -243,6 +243,10 @@ class HomePageLog extends Basic ...@@ -243,6 +243,10 @@ class HomePageLog extends Basic
$where_["f.create_time"] = array('between', array($start_time, $end_time)); $where_["f.create_time"] = array('between', array($start_time, $end_time));
} }
if (empty($params['city'])) {
$where_["f.city"] = trim($this->city) ? trim($this->city) : '上海市';
}
// if (empty($params['city'])) { // if (empty($params['city'])) {
// $where_["f.city"] = trim($this->city) ? trim($this->city) : '上海市'; // $where_["f.city"] = trim($this->city) ? trim($this->city) : '上海市';
// } else { // } else {
......
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