if (empty($id)) {
$diy = $this->request->param('diyurl/s', 0);
}
$page = $this->request->param('page/d', 1);
$page = max(1, $page);
//获取栏目数据
$category = getCategory($cat);
if (empty($category)) {
throw new \think\exception\HttpException(404, patch('PageNot'));
}
$catid = $category['id'];
$catname = $category['catname'];
//模型ID
$modelid = $category['modelid'];
$modelInfo = cache('Model')[$modelid];
if (empty($modelInfo)) {
throw new \think\exception\HttpException(404, patch('PageNot'));
think_var | zh-cn |
think_site_id | 1 |
USER | www |
HOME | /home/www |
HTTP_REFERER | http://www.yjdsj.com/index.php/qxsb/165.html |
HTTP_USER_AGENT | claudebot |
HTTP_ACCEPT | */* |
HTTP_HOST | www.yjdsj.com |
PATH_INFO | /qxsb/165.html |
REDIRECT_STATUS | 200 |
SERVER_NAME | yjdsj.com |
SERVER_PORT | 443 |
SERVER_ADDR | 10.0.8.6 |
REMOTE_PORT | 49716 |
REMOTE_ADDR | 3.85.211.2 |
SERVER_SOFTWARE | nginx/1.20.2 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/2.0 |
DOCUMENT_ROOT | /www/wwwroot/yjdsj_home/public |
DOCUMENT_URI | /index.php/qxsb/165.html |
REQUEST_URI | /index.php/qxsb/165.html |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | |
SCRIPT_FILENAME | /www/wwwroot/yjdsj_home/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php/qxsb/165.html |
REQUEST_TIME_FLOAT | 1711626823.2492 |
REQUEST_TIME | 1711626823 |
IF_PUBLIC | true |
ROOT_PATH | /www/wwwroot/yjdsj_home/public/../ |
APP_PATH | /www/wwwroot/yjdsj_home/public/../application/ |
DS | / |
ADDON_PATH | /www/wwwroot/yjdsj_home/public/../addons/ |
ROOT_URL | / |
TEMPLATE_PATH | /www/wwwroot/yjdsj_home/public/../templates/ |
FILTER_VALIDATE_BOOL | 258 |
PINYIN_DEFAULT | 4096 |
PINYIN_TONE | 2 |
PINYIN_NO_TONE | 4 |
PINYIN_ASCII_TONE | 8 |
PINYIN_NAME | 16 |
PINYIN_KEEP_NUMBER | 32 |
PINYIN_KEEP_ENGLISH | 64 |
PINYIN_UMLAUT_V | 128 |
PINYIN_KEEP_PUNCTUATION | 256 |