$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": 4, "province_id": 2, "name": "\u73e0\u6d77", "alias": "zh", "pid": 0, "spid": null, "ordid": 6, "status": 1, "seo_title": "", "seo_keys": "", "seo_desc": "", "img": null, "domain": "zh", "is_hot": 1, "is_default": 0, "is_index": 0, "lat": "22.177986184445373", "lng": "113.53308384450332", "data": { "phone": "", "address": "", "online_consulting": "", "pc_js": "", "mobile_js": "" }, "city_code": null, "hits": 310 } |
city_id | 4 |
city_ids | think:["946","947","948","950","951","3439","5975","4"] |
USER | www |
HOME | /home/www |
HTTP_HOST | zh.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 | 57322 |
REMOTE_ADDR | 3.218.247.159 |
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 | /esf/jinwan/0-4-0-0-0-0-0-0-0-0-0-1/ |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//esf/jinwan/0-4-0-0-0-0-0-0-0-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 | 1711727735.7112 |
REQUEST_TIME | 1711727735 |
QINIU_FUNCTIONS_VERSION | 7.2.7 |