if (empty($modelInfo)) {
throw new \think\Exception(lang('The page does not exist'), 404);
}
if (!is_numeric($cmsDir)) {
$info = getCateContentInfo($catId, $cmsDir, 'custom_url');
} else {
$info = getCateContentInfo($catId, $cmsDir);
}
if (empty($info) || !$info['status']) {
throw new \think\Exception(lang('The page does not exist'), 404);
}
setCateContentInfoClick($catId, $info);
//内容页模板
$templateName = $cateInfo['show_template_html'] ?: '';
if ($this->request->isAjax()) {
$templateName = $this->request->param('tpl') ?: $templateName;
$templateName = 'ajax.' . $templateName . '-ajax';
}
$templatePath = 'show.' . $templateName;
PHPSESSID | 2516349aea9c800cf76b199a6d561b5b |
web_global_lang | zh-cn |
__token__ | f9bd5c4d43fb03bebfd9a051d49b604e |
USER | www |
HOME | /home/www |
HTTP_COOKIE | PHPSESSID=2516349aea9c800cf76b199a6d561b5b; web_global_lang=zh-cn |
HTTP_ACCEPT_ENCODING | gzip |
HTTP_ACCEPT | */* |
HTTP_HOST | www.fu-rui.com |
HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
SCRIPT_FILENAME | /gwdata/newfurui/cn/public/index.php |
PATH_INFO | / |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.fu-rui.com |
SERVER_PORT | 80 |
SERVER_ADDR | 172.17.177.58 |
REMOTE_PORT | 48134 |
REMOTE_ADDR | 170.130.206.2 |
SERVER_SOFTWARE | nginx/1.9.7 |
GATEWAY_INTERFACE | CGI/1.1 |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /gwdata/newfurui/cn/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | /news/kind2 |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | s=//news/kind2 |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php/ |
REQUEST_TIME_FLOAT | 1758010878.4332 |
REQUEST_TIME | 1758010878 |