基本
文件
流程
错误
SQL
调试
- 请求信息 : 2026-01-26 07:20:40 HTTP/2.0 GET : wenboai.cn/portal/article/index/id/22915.html
- 运行时间 : 1.319149s [ 吞吐率:0.76req/s ] 内存消耗:6,320.76kb 文件加载:166
- 查询信息 : 33 queries 1 writes
- 缓存信息 : 1 reads,0 writes
- 配置加载 : 67
- 会话信息 : SESSION_ID=m6bfsq0dfbigmjhps25immnjri
- [ CACHE ] INIT memcached
- [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.001883s ]
- [ LANG ] /www/wwwroot/wenboai.cn/simplewind/thinkphp/lang/zh-cn.php
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'portal',
1 => 'article',
2 => 'index',
),
)
- [ HEADER ] array (
'cookie' => 'PHPSESSID=m6bfsq0dfbigmjhps25immnjri; SITE_TOTAL_ID=2249ce2086796fee7af6978fb9909aa7',
'accept-encoding' => 'gzip, br, zstd, deflate',
'user-agent' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
'accept' => '*/*',
'host' => 'wenboai.cn',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'id' => '22915',
)
- [ LANG ] /www/wwwroot/wenboai.cn/simplewind/cmf/behavior/../lang/zh-cn.php
- [ LANG ] /www/wwwroot/wenboai.cn/public/../app/admin/lang/zh-cn/common.php
- [ LANG ] /www/wwwroot/wenboai.cn/public/../app/ai/lang/zh-cn/common.php
- [ LANG ] /www/wwwroot/wenboai.cn/public/../app/order/lang/zh-cn/common.php
- [ LANG ] /www/wwwroot/wenboai.cn/public/../app/portal/lang/zh-cn/common.php
- [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001633s ]
- [ LANG ] /www/wwwroot/wenboai.cn/public/../app/portal/lang/zh-cn.php
- [ BEHAVIOR ] Run cmf\behavior\InitAppHookBehavior @module_init [ RunTime:0.000255s ]
- [ DB ] INIT mysql
- [ LANG ] /www/wwwroot/wenboai.cn/public/../app/ai/lang/zh-cn/home.php
- [ LANG ] /www/wwwroot/wenboai.cn/public/../app/order/lang/zh-cn/home.php
- [ LANG ] /www/wwwroot/wenboai.cn/public/../app/portal/lang/zh-cn/home.php
- [ BEHAVIOR ] Run cmf\behavior\HomeLangBehavior @home_init [ RunTime:0.001301s ]
- [ RUN ] app\portal\controller\ArticleController->index[ /www/wwwroot/wenboai.cn/app/portal/controller/ArticleController.php ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => 'think',
'type' => '',
'auto_start' => true,
)
- [ VIEW ] /www/wwwroot/wenboai.cn/public/themes/Acme/portal/article.html [ array (
0 => 'site_info',
1 => 'articleId',
2 => 'category',
3 => 'description',
4 => 'colors',
5 => 'processed_post_content',
6 => 'entitys',
7 => 'title_tags',
8 => 'content_tags',
9 => 'userId',
10 => 'source',
11 => 'qrcode',
12 => 'isMobile',
13 => 'article',
14 => 'recommend_articles',
15 => 'theme_vars',
16 => 'theme_widgets',
) ]
- [ DB ] CONNECT:[ UseTime:0.006813s ] mysql:host=rm-uf6bj82tl6jioidb5co.mysql.rds.aliyuncs.com;port=3306;dbname=wenboaicn;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.006059s ]
- [ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'cdn_settings' LIMIT 1 [ RunTime:0.005143s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_option',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'option_name',
'key' => 'option_name',
'key_len' => '258',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'function_settings' LIMIT 1 [ RunTime:0.004091s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_option',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'option_name',
'key' => 'option_name',
'key_len' => '258',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'site_info' LIMIT 1 [ RunTime:0.004138s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_option',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'option_name',
'key' => 'option_name',
'key_len' => '258',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.005934s ]
- [ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` WHERE `post`.`delete_time` = 0 AND `post`.`id` = '22915' LIMIT 1 [ RunTime:0.004322s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'post',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'PRIMARY,idx_delete_time,idx_id,idx_query',
'key' => 'PRIMARY',
'key_len' => '4',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.005532s ]
- [ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 120 AND `status` = 1 LIMIT 1 [ RunTime:0.004316s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] UPDATE `cmf_portal_post` SET `post_hits`=`post_hits`+1 WHERE `id` = 22915 [ RunTime:0.006393s ]
- [ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.004498s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_option',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'option_name',
'key' => 'option_name',
'key_len' => '258',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_plugin` [ RunTime:0.005534s ]
- [ SQL ] SELECT `config` FROM `cmf_plugin` WHERE `name` = 'Oss' LIMIT 1 [ RunTime:0.004058s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_plugin',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 21,
'filtered' => 10.0,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_image_color` [ RunTime:0.005417s ]
- [ SQL ] SELECT * FROM `cmf_portal_image_color` WHERE `post_id` = 22915 [ RunTime:0.004191s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_image_color',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'idx_post_id',
'key' => 'idx_post_id',
'key_len' => '4',
'ref' => 'const',
'rows' => 3,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_post_tag` [ RunTime:0.005223s ]
- [ SQL ] SELECT * FROM `cmf_portal_post_tag` WHERE `id` = 22915 [ RunTime:0.004179s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_post_tag',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 2,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_post_entity` [ RunTime:0.005103s ]
- [ SQL ] SELECT `entity` FROM `cmf_portal_post_entity` WHERE `id` = 22915 LIMIT 1 [ RunTime:0.004082s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_post_entity',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '4',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_post_aitag` [ RunTime:0.005360s ]
- [ SQL ] SELECT `tag` FROM `cmf_portal_post_aitag` WHERE `post_id` = 22915 ORDER BY `importance_score` DESC [ RunTime:0.004174s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_post_aitag',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'idx_post_id_score',
'key' => 'idx_post_id_score',
'key_len' => '4',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => 'Backward index scan',
) ]
- [ SQL ] SELECT DISTINCT `tag` FROM `cmf_portal_post_tag` WHERE `id` = 22915 AND `type` = 1 AND `score` > 50 ORDER BY `score` DESC [ RunTime:0.004321s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_post_tag',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'PRIMARY,post_id,idx_tag',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 2,
'filtered' => 5.0,
'extra' => 'Using where; Using index; Using temporary; Using filesort',
) ]
- [ SQL ] SELECT DISTINCT `tag` FROM `cmf_portal_post_tag` WHERE `id` = 22915 AND `type` = 2 AND `score` > 50 ORDER BY `score` DESC [ RunTime:0.004337s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_post_tag',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'PRIMARY,post_id,idx_tag',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 2,
'filtered' => 5.0,
'extra' => 'Using where; Using index; Using temporary; Using filesort',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_entity` [ RunTime:0.005494s ]
- [ SQL ] SELECT * FROM `cmf_portal_entity` WHERE `mention` = '雷震子' AND `baikevisible` = 1 LIMIT 1 [ RunTime:0.004253s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_entity',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'idx_mention_baikevisible',
'key' => 'idx_mention_baikevisible',
'key_len' => '772',
'ref' => 'const,const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] SELECT * FROM `cmf_portal_post` WHERE `post_author` = '徐竹初' AND `id` <> 22915 AND `delete_time` = 0 LIMIT 9 [ RunTime:0.004915s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_post',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'PRIMARY,idx_post_author,idx_delete_time,idx_id,idx_query,idx_author_category_museum,idx_author_museum,idx_author_category',
'key' => 'idx_author_category_museum',
'key_len' => '1022',
'ref' => 'const',
'rows' => 346,
'filtered' => 31.475704193115234,
'extra' => 'Using index condition; Using where',
) ]
- [ SQL ] SELECT * FROM `cmf_portal_post` WHERE `post_age` = '近现代' AND `post_category_id` = 120 AND `post_author` <> '徐竹初' AND `id` <> 22915 AND `delete_time` = 0 LIMIT 100 [ RunTime:0.016884s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_post',
'partitions' => NULL,
'type' => 'range',
'possible_keys' => 'PRIMARY,idx_post_age,idx_post_author,idx_delete_time,idx_category_id,idx_id,idx_category_delete_time,idx_age_category_delete,idx_age_category_delete_cover,idx_category_age_delete,idx_category_age_delete_id,idx_query,idx_category,idx_author_category_museum,idx_author_museum,idx_author_category,idx_category_museum,idx_category_museum_status,idx_age_museum_category_status',
'key' => 'idx_age_category_delete',
'key_len' => '412',
'ref' => NULL,
'rows' => 1614,
'filtered' => 99.99978637695312,
'extra' => 'Using index condition; Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.005670s ]
- [ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'Acme' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.004273s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_theme_file',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'idx_theme_file_public',
'key' => 'idx_theme_file_public',
'key_len' => '62',
'ref' => 'const',
'rows' => 15,
'filtered' => 19.0,
'extra' => 'Using index condition',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_nav` [ RunTime:0.005206s ]
- [ SQL ] SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.004218s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_nav',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'idx_is_main',
'key' => 'idx_is_main',
'key_len' => '1',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => 'Using index',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_nav_menu` [ RunTime:0.005096s ]
- [ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.004293s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_nav_menu',
'partitions' => NULL,
'type' => 'ALL',
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => 14,
'filtered' => 7.142856597900391,
'extra' => 'Using where; Using filesort',
) ]
- [ SQL ] SELECT `path` FROM `cmf_portal_category` WHERE `id` = 120 LIMIT 1 [ RunTime:0.004085s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_category',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'PRIMARY',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` IN (0) ORDER BY `path` ASC [ RunTime:0.004051s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => NULL,
'partitions' => NULL,
'type' => NULL,
'possible_keys' => NULL,
'key' => NULL,
'key_len' => NULL,
'ref' => NULL,
'rows' => NULL,
'filtered' => NULL,
'extra' => 'no matching row in const table',
) ]

1.328857s