基本
文件
流程
错误
SQL
调试
- 请求信息 : 2025-05-01 22:20:49 HTTP/1.0 GET : http://www.catpetfood.com/staplegrain/index4.html
- 运行时间 : 0.115945s [ 吞吐率:8.62req/s ] 内存消耗:7,661.00kb 文件加载:180
- 查询信息 : 24 queries 9 writes
- 缓存信息 : 9 reads,0 writes
- [ LANG ] /www/web/catpetfood_com/vendor/thinkphp/lang/zh-cn.php
- [ LANG ] /www/web/catpetfood_com/app/portal//lang/zh-cn.php
- [ ROUTE ] array (
'rule' => 'staplegrain/index<id>',
'route' => 'portal/Article/index?cid=2',
'option' =>
array (
'merge_rule_regex' => false,
),
'var' =>
array (
'id' => '4',
),
)
- [ HEADER ] array (
'host' => 'www.catpetfood.com',
'x-real-ip' => '3.139.64.23',
'connection' => 'close',
'accept' => '*/*',
'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
)
- [ PARAM ] array (
'/staplegrain/index4_html' => '',
'cid' => '2',
'id' => '4',
)
- [ LANG ] /www/web/catpetfood_com/vendor/thinkcmf/cmf/src/behavior/../lang/zh-cn.php
- [ LANG ] /www/web/catpetfood_com/vendor/thinkcmf/cmf-app/src/admin/lang/zh-cn.php
- [ LANG ] /www/web/catpetfood_com/vendor/thinkcmf/cmf-app/src/admin/lang/zh-cn/common.php
- [ LANG ] /www/web/catpetfood_com/vendor/thinkcmf/cmf-app/src/user/lang/zh-cn.php
- [ LANG ] /www/web/catpetfood_com/app/portal/lang/zh-cn/common.php
- [ DB ] INIT mysql
- [ LANG ] /www/web/catpetfood_com/app/portal/lang/zh-cn/home.php
- [ VIEW ] /www/web/catpetfood_com/public_html/themes/theme_cat/portal/productshow.html [ array (
0 => 'site_info',
1 => 'customvar',
2 => 'category',
3 => 'article',
4 => 'prev_article',
5 => 'next_article',
6 => 'theme_vars',
7 => 'theme_widgets',
) ]
- [ DB ] CONNECT:[ UseTime:0.000507s ] mysql:host=127.0.0.1;port=3306;dbname=catpetfood;charset=utf8
- [ SQL ] SHOW COLUMNS FROM `maycms_plugin` [ RunTime:0.000994s ]
- [ SQL ] SELECT `config` FROM `maycms_plugin` WHERE `name` = 'ErrorPage' LIMIT 1 [ RunTime:0.000285s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'maycms_plugin',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 18,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `maycms_portal_post` [ RunTime:0.001619s ]
- [ SQL ] SELECT `post`.* FROM `maycms_portal_post` `post` INNER JOIN `maycms_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = '1' AND `post`.`post_status` = '1' AND `post`.`delete_time` = '0' AND `relation`.`category_id` = '2' AND `relation`.`post_id` = '4' AND ( `post`.`published_time` < '1746109249' and `post`.`published_time` > '0' ) LIMIT 1 [ RunTime:0.001085s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'post',
'type' => 'const',
'possible_keys' => 'PRIMARY,type_status_date',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'extra' => '',
) ]
- [ SQL ] SHOW COLUMNS FROM `maycms_portal_tag` [ RunTime:0.001086s ]
- [ SQL ] SELECT * FROM `maycms_portal_tag` INNER JOIN `maycms_portal_tag_post` `pivot` ON `pivot`.`tag_id`=`maycms_portal_tag`.`id` WHERE `pivot`.`post_id` = '4' [ RunTime:0.000446s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => NULL,
'type' => NULL,
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => NULL,
'extra' => 'Impossible WHERE noticed after reading const tables',
) ]
- [ SQL ] SELECT `post`.* FROM `maycms_portal_post` `post` INNER JOIN `maycms_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = '1' AND `post`.`post_status` = '1' AND `post`.`delete_time` = '0' AND `relation`.`category_id` = '2' AND `relation`.`post_id` < '4' AND ( `post`.`published_time` < '1746109249' and `post`.`published_time` > '0' ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000845s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'relation',
'type' => 'ref',
'possible_keys' => 'term_taxonomy_id',
'key' => 'term_taxonomy_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 7,
'extra' => 'Using where; Using temporary; Using filesort',
) ]
- [ SQL ] SELECT `post`.* FROM `maycms_portal_post` `post` INNER JOIN `maycms_portal_category_post` `relation` ON `post`.`id`=`relation`.`post_id` WHERE `post`.`post_type` = '1' AND `post`.`post_status` = '1' AND `post`.`delete_time` = '0' AND `relation`.`category_id` = '2' AND `relation`.`post_id` > '4' AND ( `post`.`published_time` < '1746109249' and `post`.`published_time` > '0' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000881s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'relation',
'type' => 'ref',
'possible_keys' => 'term_taxonomy_id',
'key' => 'term_taxonomy_id',
'key_len' => '8',
'ref' => 'const',
'rows' => 7,
'extra' => 'Using where; Using temporary; Using filesort',
) ]
- [ SQL ] SHOW COLUMNS FROM `maycms_portal_category` [ RunTime:0.000765s ]
- [ SQL ] SELECT * FROM `maycms_portal_category` WHERE `id` = 2 AND `status` = 1 LIMIT 1 [ RunTime:0.000219s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'maycms_portal_category',
'type' => 'const',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'extra' => '',
) ]
- [ SQL ] UPDATE `maycms_portal_post` SET `post_hits` = `post_hits` + 1 WHERE `id` = 4 [ RunTime:0.000555s ]
- [ SQL ] SHOW COLUMNS FROM `maycms_theme_file` [ RunTime:0.001020s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND `file` = 'portal/about' LIMIT 1 [ RunTime:0.000360s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'maycms_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 7,
'extra' => 'Using where',
) ]
- [ SQL ] UPDATE `maycms_theme_file` SET `theme` = 'theme_cat' , `action` = 'portal/Page/index' , `file` = 'portal/about' , `name` = '关于我们模板文件' , `more` = '{\"vars\":[],\"widgets\":[]}' , `config_more` = '{\"vars\":[],\"widgets\":[]}' , `description` = '关于我们模板文件' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'theme_cat' AND `file` = 'portal/about' [ RunTime:0.000383s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND `file` = 'portal/contact' LIMIT 1 [ RunTime:0.000313s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'maycms_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 7,
'extra' => 'Using where',
) ]
- [ SQL ] UPDATE `maycms_theme_file` SET `theme` = 'theme_cat' , `action` = 'portal/Page/index' , `file` = 'portal/contact' , `name` = '联系我们模板文件' , `more` = '{\"vars\":[],\"widgets\":[]}' , `config_more` = '{\"vars\":[],\"widgets\":[]}' , `description` = '联系我们模板文件' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'theme_cat' AND `file` = 'portal/contact' [ RunTime:0.000405s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND `file` = 'portal/index' LIMIT 1 [ RunTime:0.000206s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'maycms_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 7,
'extra' => 'Using where',
) ]
- [ SQL ] UPDATE `maycms_theme_file` SET `theme` = 'theme_cat' , `action` = 'portal/Index/index' , `file` = 'portal/index' , `name` = '首页' , `more` = '{\"vars\":[],\"widgets\":[]}' , `config_more` = '{\"vars\":[],\"widgets\":[]}' , `description` = '首页模板文件' , `is_public` = 0 , `list_order` = 5 WHERE `theme` = 'theme_cat' AND `file` = 'portal/index' [ RunTime:0.000504s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND `file` = 'portal/news' LIMIT 1 [ RunTime:0.000210s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'maycms_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 7,
'extra' => 'Using where',
) ]
- [ SQL ] UPDATE `maycms_theme_file` SET `theme` = 'theme_cat' , `action` = 'portal/List/index' , `file` = 'portal/news' , `name` = '新闻' , `more` = '{\"vars\":[],\"widgets\":[]}' , `config_more` = '{\"vars\":[],\"widgets\":[]}' , `description` = '新闻模板文件' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'theme_cat' AND `file` = 'portal/news' [ RunTime:0.000294s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND `file` = 'portal/newsshow' LIMIT 1 [ RunTime:0.000350s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'maycms_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 7,
'extra' => 'Using where',
) ]
- [ SQL ] UPDATE `maycms_theme_file` SET `theme` = 'theme_cat' , `action` = 'portal/Article/index' , `file` = 'portal/newsshow' , `name` = '新闻详情' , `more` = '{\"vars\":[],\"widgets\":[]}' , `config_more` = '{\"vars\":[],\"widgets\":[]}' , `description` = '新闻详情模板文件' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'theme_cat' AND `file` = 'portal/newsshow' [ RunTime:0.000313s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND `file` = 'portal/product' LIMIT 1 [ RunTime:0.000259s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'maycms_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 7,
'extra' => 'Using where',
) ]
- [ SQL ] UPDATE `maycms_theme_file` SET `theme` = 'theme_cat' , `action` = 'portal/List/index' , `file` = 'portal/product' , `name` = '产品' , `more` = '{\"vars\":[],\"widgets\":[]}' , `config_more` = '{\"vars\":[],\"widgets\":[]}' , `description` = '产品模板文件' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'theme_cat' AND `file` = 'portal/product' [ RunTime:0.000400s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND `file` = 'portal/productshow' LIMIT 1 [ RunTime:0.000261s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'maycms_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 7,
'extra' => 'Using where',
) ]
- [ SQL ] UPDATE `maycms_theme_file` SET `theme` = 'theme_cat' , `action` = 'portal/Article/index' , `file` = 'portal/productshow' , `name` = '产品详情' , `more` = '{\"vars\":[],\"widgets\":[]}' , `config_more` = '{\"vars\":[],\"widgets\":[]}' , `description` = '产品详情模板文件' , `is_public` = 0 , `list_order` = 10 WHERE `theme` = 'theme_cat' AND `file` = 'portal/productshow' [ RunTime:0.000386s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' [ RunTime:0.000238s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'maycms_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 7,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `maycms_theme` [ RunTime:0.000998s ]
- [ SQL ] UPDATE `maycms_theme` SET `name` = '猫博士' , `version` = '1.0.2' , `demo_url` = 'https://www.catpetfood.com/' , `author` = 'MayCMS' , `lang` = 'zh-cn' , `author_url` = 'https://www.catpetfood.com/' , `keywords` = '猫博士' , `description` = '猫博士' WHERE `theme` = 'theme_cat' [ RunTime:0.000352s ]
- [ SQL ] SELECT `more` FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND ( `is_public` = 1 OR `file` = 'portal/productshow' ) [ RunTime:0.000300s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'maycms_theme_file',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 7,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `maycms_nav_menu` [ RunTime:0.000901s ]
- [ SQL ] SELECT * FROM `maycms_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000270s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'maycms_nav_menu',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 34,
'extra' => 'Using where; Using filesort',
) ]
- [ SQL ] SELECT * FROM `maycms_nav_menu` WHERE `nav_id` = 2 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000449s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'maycms_nav_menu',
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 34,
'extra' => 'Using where; Using filesort',
) ]

0.117527s