基本
文件
流程
错误
SQL
调试
- 请求信息 : 2025-05-02 06:38:30 HTTP/1.0 GET : http://www.catpetfood.com/snacks/index3.html
- 运行时间 : 0.112113s [ 吞吐率:8.92req/s ] 内存消耗:7,652.67kb 文件加载: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' => 'snacks/index<id>',
'route' => 'portal/Article/index?cid=3',
'option' =>
array (
'merge_rule_regex' => false,
),
'var' =>
array (
'id' => '3',
),
)
- [ HEADER ] array (
'host' => 'www.catpetfood.com',
'x-real-ip' => '18.189.143.114',
'connection' => 'close',
'accept' => '*/*',
'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
)
- [ PARAM ] array (
'/snacks/index3_html' => '',
'cid' => '3',
'id' => '3',
)
- [ 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.000447s ] mysql:host=127.0.0.1;port=3306;dbname=catpetfood;charset=utf8
- [ SQL ] SHOW COLUMNS FROM `maycms_plugin` [ RunTime:0.001110s ]
- [ SQL ] SELECT `config` FROM `maycms_plugin` WHERE `name` = 'ErrorPage' LIMIT 1 [ RunTime:0.000363s ]
- [ 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.001250s ]
- [ 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` = '3' AND `relation`.`post_id` = '3' AND ( `post`.`published_time` < '1746139110' and `post`.`published_time` > '0' ) LIMIT 1 [ RunTime:0.000732s ]
- [ 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.000837s ]
- [ 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` = '3' [ RunTime:0.000360s ]
- [ 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` = '3' AND `relation`.`post_id` < '3' AND ( `post`.`published_time` < '1746139110' and `post`.`published_time` > '0' ) ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000827s ]
- [ 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' => 5,
'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` = '3' AND `relation`.`post_id` > '3' AND ( `post`.`published_time` < '1746139110' and `post`.`published_time` > '0' ) ORDER BY `id` ASC LIMIT 1 [ RunTime:0.000953s ]
- [ 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' => 5,
'extra' => 'Using where; Using temporary; Using filesort',
) ]
- [ SQL ] SHOW COLUMNS FROM `maycms_portal_category` [ RunTime:0.000855s ]
- [ SQL ] SELECT * FROM `maycms_portal_category` WHERE `id` = 3 AND `status` = 1 LIMIT 1 [ RunTime:0.000421s ]
- [ 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` = 3 [ RunTime:0.000501s ]
- [ SQL ] SHOW COLUMNS FROM `maycms_theme_file` [ RunTime:0.001129s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND `file` = 'portal/about' LIMIT 1 [ RunTime:0.000485s ]
- [ 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.001184s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND `file` = 'portal/contact' LIMIT 1 [ RunTime:0.000383s ]
- [ 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.000447s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND `file` = 'portal/index' LIMIT 1 [ RunTime:0.000301s ]
- [ 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.000351s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND `file` = 'portal/news' LIMIT 1 [ RunTime:0.000222s ]
- [ 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.000305s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND `file` = 'portal/newsshow' LIMIT 1 [ RunTime:0.000303s ]
- [ 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.000385s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND `file` = 'portal/product' LIMIT 1 [ RunTime:0.000354s ]
- [ 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.000394s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND `file` = 'portal/productshow' LIMIT 1 [ RunTime:0.000376s ]
- [ 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.000357s ]
- [ SQL ] SELECT * FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' [ RunTime:0.000286s ]
- [ 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.000872s ]
- [ 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.000332s ]
- [ SQL ] SELECT `more` FROM `maycms_theme_file` WHERE `theme` = 'theme_cat' AND ( `is_public` = 1 OR `file` = 'portal/productshow' ) [ RunTime:0.000197s ]
- [ 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.001030s ]
- [ SQL ] SELECT * FROM `maycms_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000286s ]
- [ 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.000514s ]
- [ 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.113817s