//栏目ID
$cat = $this->request->param('catid/d', 0);
if (empty($cat)) {
$cat = $this->request->param('catdir/s', '');
}
//获取栏目数据
$category = getCategory($cat);
// 栏目ID
$catid = $category['id'];
//模型ID
$modelid = $category['modelid'];
$modelInfo = __getModel($modelid);
if (empty($modelInfo)) {
$this->error('模型不存在'); //模型不存在
}
// 浏览量+1
PHPSESSID | 6010e41a4293659adfee3389da5ee489 |
think_lang | zh-cn |
USER | nobody |
HOME | / |
HTTP_COOKIE | PHPSESSID=6010e41a4293659adfee3389da5ee489; think_lang=zh-cn |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.81lcd.com |
HTTP_USER_AGENT | CCBot/2.0 (https://commoncrawl.org/faq/) |
REDIRECT_STATUS | 200 |
SERVER_NAME | wh-nbd277u84j5grcjxzyj.my3w.com |
SERVER_PORT | 80 |
SERVER_ADDR | 10.21.211.213 |
REMOTE_PORT | 55784 |
REMOTE_ADDR | 107.158.144.110 |
SERVER_SOFTWARE | nginx/1.18.0 |
GATEWAY_INTERFACE | CGI/1.1 |
REQUEST_SCHEME | http |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /data/user/htdocs |
DOCUMENT_URI | /index.php |
REQUEST_URI | /news/25.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=/news/25.html |
PATH_INFO | |
SCRIPT_FILENAME | /data/user/htdocs/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1728891502.3095 |
REQUEST_TIME | 1728891502 |