* @Author: VieTrue* @Time: 2023/9/23 10:25*/public function listPage($cateDir, int $page = 1): string{// $page = $this->request->param('page/d', 1);$page = max(1, $page);$cateInfo = getCateInfo($cateDir);if (empty($cateInfo)) {throw new \think\Exception(lang('The page does not exist'), 404);}$catId = $cateInfo['id'];$templateName = $cateInfo['list_template_html'] ?: '';if ($this->request->isAjax() && !$this->request->isPjax()) {$templateName = $this->request->param('tpl') ?: $templateName;$templateName = 'ajax.' . $templateName . '-ajax';}$templatePath = 'list.' . $templateName;
| web_global_lang | zh-cn |
| USER | www |
| HOME | /home/www |
| SCRIPT_NAME | /index.php |
| REQUEST_URI | /SonList-1327062.html |
| QUERY_STRING | s=/SonList-1327062.html |
| REQUEST_METHOD | GET |
| SERVER_PROTOCOL | HTTP/1.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REDIRECT_QUERY_STRING | s=/SonList-1327062.html |
| REDIRECT_URL | /SonList-1327062.html |
| REMOTE_PORT | 53800 |
| SCRIPT_FILENAME | /home/wwwroot/new_web.cn/public/index.php |
| SERVER_ADMIN | webmaster@example.com |
| CONTEXT_DOCUMENT_ROOT | /home/wwwroot/new_web.cn/public |
| CONTEXT_PREFIX | |
| REQUEST_SCHEME | https |
| DOCUMENT_ROOT | /home/wwwroot/new_web.cn/public |
| REMOTE_ADDR | 23.231.77.74 |
| SERVER_PORT | 443 |
| SERVER_ADDR | 192.168.0.178 |
| SERVER_NAME | www.cnsszn.com |
| SERVER_SOFTWARE | Apache |
| SERVER_SIGNATURE | Apache Server at www.cnsszn.com Port 443 |
| LD_LIBRARY_PATH | /www/server/apache/lib |
| PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin |
| HTTP_COOKIE | web_global_lang=zh-cn |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT | */* |
| HTTP_HOST | www.cnsszn.com |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| proxy-nokeepalive | 1 |
| SSL_TLS_SNI | www.cnsszn.com |
| HTTPS | on |
| SCRIPT_URI | /SonList-1327062.html |
| SCRIPT_URL | /SonList-1327062.html |
| REDIRECT_STATUS | 200 |
| REDIRECT_SSL_TLS_SNI | www.cnsszn.com |
| REDIRECT_HTTPS | on |
| REDIRECT_SCRIPT_URI | /SonList-1327062.html |
| REDIRECT_SCRIPT_URL | /SonList-1327062.html |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1776817440.1193 |
| REQUEST_TIME | 1776817440 |