$key = $this->getCacheKey($name);
$expire = $this->getExpireTime($expire);
$value = $this->serialize($value);
if ($expire) {
$result = $this->handler->setex($key, $expire, $value);
} else {
$result = $this->handler->set($key, $value);
}
isset($first) && $this->setTagItem($key);
return $result;
}
/**
* 自增缓存(针对数值缓存)
city_info | { "id": 128, "province_id": 2, "name": "\u5e7f\u5dde", "alias": "gz", "pid": 0, "spid": null, "ordid": 1, "status": 1, "seo_title": "", "seo_keys": "", "seo_desc": "", "img": null, "domain": "gz", "is_hot": 0, "is_default": 0, "is_index": 0, "lat": "23.112222774059774", "lng": "113.3310844896273", "data": { "phone": "", "address": "", "online_consulting": "", "pc_js": "", "mobile_js": "" }, "city_code": null, "hits": 478 } |
city_id | 128 |
city_ids | think:["791","792","793","794","795","796","797","798","799","800","801","128"] |
USER | www |
HOME | /home/www |
HTTP_HOST | gz.f.cx |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
PATH_INFO | |
REDIRECT_STATUS | 200 |
SERVER_NAME | cn.f.cx |
SERVER_PORT | 80 |
SERVER_ADDR | 222.187.221.42 |
REMOTE_PORT | 55748 |
REMOTE_ADDR | 3.88.211.227 |
SERVER_SOFTWARE | nginx/1.24.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /home/www22142/weblist/fangcms/cn.f.cx/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /xinfang/baiyun/0-0-0-212-0-0-1/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//xinfang/baiyun/0-0-0-212-0-0-1/ |
SCRIPT_FILENAME | /home/www22142/weblist/fangcms/cn.f.cx/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1711711433.198 |
REQUEST_TIME | 1711711433 |
QINIU_FUNCTIONS_VERSION | 7.2.7 |