* @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;
| PHPSESSID | 3e1181d3e2f7b90448b9ffb46f23d085 |
| web_global_lang | zh-cn |
| __token__ | 067c1e12d57bf44492215873e9257207 |
| USER | www |
| HOME | /home/www |
| HTTP_COOKIE | PHPSESSID=3e1181d3e2f7b90448b9ffb46f23d085; web_global_lang=zh-cn |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT | */* |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| PATH_INFO | |
| HTTP_HOST | www.cnsszn.com |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | new_web.com |
| SERVER_PORT | 443 |
| SERVER_ADDR | 192.168.0.178 |
| REMOTE_PORT | 34838 |
| REMOTE_ADDR | 23.231.77.74 |
| SERVER_SOFTWARE | nginx/1.26.3 |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| REQUEST_SCHEME | https |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /home/wwwroot/new_web.cn/public |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /newsinfo98.html |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=/newsinfo98.html |
| SCRIPT_FILENAME | /home/wwwroot/new_web.cn/public/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1788150013.5228 |
| REQUEST_TIME | 1788150013 |