* @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;
| filename | b743fca7-baec-434e-8bf1-eabad09a0c6b |
| PHPSESSID | a77e2b657c6029f1e013929c32cc6400 |
| web_global_lang | zh-cn |
| __token__ | 51d509c998b06d71323b3054de780253 |
| USER | www |
| HOME | /home/www |
| HTTP_COOKIE | PHPSESSID=a77e2b657c6029f1e013929c32cc6400; web_global_lang=zh-cn |
| HTTP_ACCEPT_ENCODING | gzip |
| HTTP_ACCEPT | */* |
| HTTP_USER_AGENT | Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html) |
| 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 | 46562 |
| REMOTE_ADDR | 107.158.193.234 |
| 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 | /download-center.html?filename=b743fca7-baec-434e-8bf1-eabad09a0c6b |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=/download-center.html&filename=b743fca7-baec-434e-8bf1-eabad09a0c6b |
| SCRIPT_FILENAME | /home/wwwroot/new_web.cn/public/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1789087659.6576 |
| REQUEST_TIME | 1789087659 |