*/public function fetch($template, $data = [], $config = []){if ('' == pathinfo($template, PATHINFO_EXTENSION)) {// 获取模板文件名$template = $this->parseTemplate($template);}// 模板不存在 抛出异常if (!is_file($template)) {throw new TemplateNotFoundException('template not exists:' . $template, $template);}// 记录视图信息App::$debug && Log::record('[ VIEW ] ' . $template . ' [ ' . var_export(array_keys($data), true) . ' ]', 'info');$this->template->fetch($template, $data, $config);}/*** 渲染模板内容* @access public
| USER | www |
| HOME | /home/www |
| HTTP_CONNECTION | keep-alive |
| HTTP_CACHE_CONTROL | max-age=259200 |
| HTTP_X_FORWARDED_FOR | 10.3.57.239 |
| HTTP_VIA | 1.1 squid-proxy-5b96dc6d46-8jcjb (squid/6.13) |
| HTTP_HOST | peigenhr.com |
| HTTP_ACCEPT_ENCODING | gzip, br, zstd, deflate |
| HTTP_USER_AGENT | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| HTTP_ACCEPT | */* |
| PATH_INFO | /lists/48.html |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | peigenhr.com |
| SERVER_PORT | 80 |
| SERVER_ADDR | 172.30.132.133 |
| REMOTE_PORT | 34829 |
| REMOTE_ADDR | 216.73.217.173 |
| SERVER_SOFTWARE | nginx/1.22.0 |
| GATEWAY_INTERFACE | CGI/1.1 |
| REQUEST_SCHEME | http |
| SERVER_PROTOCOL | HTTP/1.1 |
| DOCUMENT_ROOT | /www/wwwroot/peigenhr.com |
| DOCUMENT_URI | /index.php |
| REQUEST_URI | /lists/48.html |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | s=/lists/48.html |
| SCRIPT_FILENAME | /www/wwwroot/peigenhr.com/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php |
| REQUEST_TIME_FLOAT | 1784458626.529 |
| REQUEST_TIME | 1784458626 |
| APP_PATH | /www/wwwroot/peigenhr.com/app/ |
| THINK_VERSION | 5.0.0 |
| THINK_START_TIME | 1784458626.5293 |
| THINK_START_MEM | 367224 |
| EXT | .php |
| DS | / |
| THINK_PATH | /www/wwwroot/peigenhr.com/thinkphp/ |
| LIB_PATH | /www/wwwroot/peigenhr.com/thinkphp/library/ |
| CORE_PATH | /www/wwwroot/peigenhr.com/thinkphp/library/think/ |
| TRAIT_PATH | /www/wwwroot/peigenhr.com/thinkphp/library/traits/ |
| ROOT_PATH | /www/wwwroot/peigenhr.com/ |
| EXTEND_PATH | /www/wwwroot/peigenhr.com/extend/ |
| VENDOR_PATH | /www/wwwroot/peigenhr.com/vendor/ |
| RUNTIME_PATH | /www/wwwroot/peigenhr.com/runtime/ |
| LOG_PATH | /www/wwwroot/peigenhr.com/runtime/log/ |
| CACHE_PATH | /www/wwwroot/peigenhr.com/runtime/cache/ |
| TEMP_PATH | /www/wwwroot/peigenhr.com/runtime/temp/ |
| CONF_PATH | /www/wwwroot/peigenhr.com/app/ |
| CONF_EXT | .php |
| ENV_PREFIX | PHP_ |
| IS_CLI | false |
| IS_WIN | false |
| url | /lists/48.html |
| ref | Resource |
| ent | Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com) |
| url8 | http://peigenhr.com |
| road | /lists/48.html |
| regs | @baiduspider|yisou|360|Sogou@i |
| area | false |