if(!empty($s['type'])){
$where[] = ['','exp',\think\Db::raw("find_in_set({$s['type']},house_type)")];
$type_val = getLinkMenuName(9,$s['type']);
$seo_keys .= '_'.$type_val;
$name['type'] = $type_val;
}
if(!empty($s['price'])){
$where[] = getEstatePrice($s['price'],'price');
$s_price = config('filter.second_price');
$seo_keys .= '_'.$s_price[$s['price']]['name'].'万/套';
$name['price'] = $s_price[$s['price']]['name'];
}
if(!empty($s['years'])){
$s_years = config('filter.years');
$y_val = $s_years[$s['years']]['value'];
$years = date('Y',time());
$start_years = $years - $y_val[0];
$end_years = $start_years - $y_val[1];
$where[] = ['years','elt',$start_years];
city_info | { "id": 174, "province_id": 16, "name": "\u6cf0\u5b89", "alias": "ta", "pid": 0, "spid": null, "ordid": 21, "status": 1, "seo_title": "", "seo_keys": "", "seo_desc": "", "img": null, "domain": "ta", "is_hot": 0, "is_default": 0, "is_index": 0, "lat": "117.042288", "lng": "36.178175", "data": { "phone": "", "address": "", "online_consulting": "", "pc_js": "", "mobile_js": "" }, "city_code": null, "hits": 0, "old_parentid": 0 } |
city_id | 174 |
city_ids | think:["174"] |
USER | www |
HOME | /home/www |
HTTP_HOST | ta.lp.cn |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | old.lp.cn |
SERVER_PORT | 80 |
SERVER_ADDR | 222.187.227.46 |
REMOTE_PORT | 54354 |
REMOTE_ADDR | 35.175.113.125 |
SERVER_SOFTWARE | nginx/1.22.1 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /home/www22145/weblist/fangcms/old.lp.cn/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /xiaoqu/chuzu-29698.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//xiaoqu/chuzu-29698.html |
SCRIPT_FILENAME | /home/www22145/weblist/fangcms/old.lp.cn/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711707048.2661 |
REQUEST_TIME | 1711707048 |
QINIU_FUNCTIONS_VERSION | 7.2.7 |