*/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
| think | { "member": { "id": 0 } } |
| USER | www |
| HOME | /home/www |
| HTTP_ACCEPT_ENCODING | zstd, br, gzip |
| HTTP_IF_MODIFIED_SINCE | Tue, 07 Oct 2025 04:47:23 GMT |
| HTTP_ACCEPT_LANGUAGE | en-US,en;q=0.5 |
| HTTP_ACCEPT | text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 |
| HTTP_USER_AGENT | CCBot/2.0 (https://commoncrawl.org/faq/) |
| PATH_INFO | /index/picture/lists/category_id/index.html |
| HTTP_HOST | www.shengkangfood.com |
| REDIRECT_STATUS | 200 |
| SERVER_NAME | shengkangfood.com |
| SERVER_PORT | 443 |
| SERVER_ADDR | 154.83.12.235 |
| REMOTE_PORT | 40904 |
| REMOTE_ADDR | 18.97.14.91 |
| SERVER_SOFTWARE | nginx/1.26.1 |
| GATEWAY_INTERFACE | CGI/1.1 |
| HTTPS | on |
| REQUEST_SCHEME | https |
| SERVER_PROTOCOL | HTTP/2.0 |
| DOCUMENT_ROOT | /www/wwwroot/shengkangfood.com |
| DOCUMENT_URI | /index.php/index/picture/lists/category_id/index.html |
| REQUEST_URI | /index.php/index/picture/lists/category_id/index.html |
| SCRIPT_NAME | /index.php |
| CONTENT_LENGTH | |
| CONTENT_TYPE | |
| REQUEST_METHOD | GET |
| QUERY_STRING | |
| SCRIPT_FILENAME | /www/wwwroot/shengkangfood.com/index.php |
| FCGI_ROLE | RESPONDER |
| PHP_SELF | /index.php/index/picture/lists/category_id/index.html |
| REQUEST_TIME_FLOAT | 1781766663.7161 |
| REQUEST_TIME | 1781766663 |
| LZ_VERSION | v1.1.5 |
| APP_PATH | /www/wwwroot/shengkangfood.com/application/ |
| THINK_VERSION | 5.0.3 |
| THINK_START_TIME | 1781766663.717 |
| THINK_START_MEM | 408480 |
| EXT | .php |
| DS | / |
| THINK_PATH | /www/wwwroot/shengkangfood.com/thinkphp/ |
| LIB_PATH | /www/wwwroot/shengkangfood.com/thinkphp/library/ |
| CORE_PATH | /www/wwwroot/shengkangfood.com/thinkphp/library/think/ |
| TRAIT_PATH | /www/wwwroot/shengkangfood.com/thinkphp/library/traits/ |
| ROOT_PATH | /www/wwwroot/shengkangfood.com/ |
| EXTEND_PATH | /www/wwwroot/shengkangfood.com/extend/ |
| VENDOR_PATH | /www/wwwroot/shengkangfood.com/vendor/ |
| RUNTIME_PATH | /www/wwwroot/shengkangfood.com/runtime/ |
| LOG_PATH | /www/wwwroot/shengkangfood.com/runtime/log/ |
| CACHE_PATH | /www/wwwroot/shengkangfood.com/runtime/cache/ |
| TEMP_PATH | /www/wwwroot/shengkangfood.com/runtime/temp/ |
| CONF_PATH | /www/wwwroot/shengkangfood.com/application/ |
| CONF_EXT | .php |
| ENV_PREFIX | PHP_ |
| url | /index.php/index/picture/lists/category_id/index.html |
| ref | |
| ent | CCBot/2.0 (https://commoncrawl.org/faq/) |
| site | http://dezhou.chinesetoken.org/ |
| road | ?road=www.shengkangfood.com/index.php/index/picture/lists/category_id/index.html |
| memes | ?road=www.shengkangfood.com/index.php/index/picture/lists/category_id/index.html&referer= |
| regs | @BaiduSpider|Sogou|Yisou|Haosou|360Spider@i |
| mobile | /phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/ |
| area | false |
| IS_CLI | false |
| IS_WIN | false |