基本
文件
流程
错误
SQL
调试
- 请求信息 : 2025-05-26 04:49:34 HTTP/2.0 GET : www.caigc.cn/portal/article/index/id/381627.html
- 运行时间 : 0.390254s [ 吞吐率:2.56req/s ] 内存消耗:1,269.45kb 文件加载:152
- 查询信息 : 24 queries 1 writes
- 缓存信息 : 1 reads,0 writes
- 配置加载 : 67
- 会话信息 : SESSION_ID=9g50ekdvvv7scdbd5m4351tkl0
- [ CACHE ] INIT memcached
- [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.000897s ]
- [ LANG ] /www/wwwroot/caigc.cn/simplewind/thinkphp/lang/zh-cn.php
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'portal',
1 => 'article',
2 => 'index',
),
)
- [ HEADER ] array (
'cookie' => 'PHPSESSID=9g50ekdvvv7scdbd5m4351tkl0',
'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' => 'www.caigc.cn',
'content-type' => '',
'content-length' => '',
)
- [ PARAM ] array (
'id' => '381627',
)
- [ LANG ] /www/wwwroot/caigc.cn/simplewind/cmf/behavior/../lang/zh-cn.php
- [ LANG ] /www/wwwroot/caigc.cn/public/../app/admin/lang/zh-cn/common.php
- [ LANG ] /www/wwwroot/caigc.cn/public/../app/ai/lang/zh-cn/common.php
- [ LANG ] /www/wwwroot/caigc.cn/public/../app/order/lang/zh-cn/common.php
- [ LANG ] /www/wwwroot/caigc.cn/public/../app/portal/lang/zh-cn/common.php
- [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001160s ]
- [ LANG ] /www/wwwroot/caigc.cn/public/../app/portal/lang/zh-cn.php
- [ BEHAVIOR ] Run cmf\behavior\InitAppHookBehavior @module_init [ RunTime:0.000165s ]
- [ DB ] INIT mysql
- [ LANG ] /www/wwwroot/caigc.cn/public/../app/ai/lang/zh-cn/home.php
- [ LANG ] /www/wwwroot/caigc.cn/public/../app/order/lang/zh-cn/home.php
- [ LANG ] /www/wwwroot/caigc.cn/public/../app/portal/lang/zh-cn/home.php
- [ BEHAVIOR ] Run cmf\behavior\HomeLangBehavior @home_init [ RunTime:0.000800s ]
- [ RUN ] app\portal\controller\ArticleController->index[ /www/wwwroot/caigc.cn/app/portal/controller/ArticleController.php ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => 'think',
'type' => '',
'auto_start' => true,
)
- [ VIEW ] /www/wwwroot/caigc.cn/public/themes/Acme/portal/article.html [ array (
0 => 'site_info',
1 => 'articleId',
2 => 'category',
3 => 'article',
4 => 'description',
5 => 'entitys',
6 => 'title_tags',
7 => 'content_tags',
8 => 'userId',
9 => 'source',
10 => 'qrcode',
11 => 'isMobile',
12 => 'recommend_articles',
13 => 'theme_vars',
14 => 'theme_widgets',
) ]
- [ DB ] CONNECT:[ UseTime:0.011266s ] mysql:host=rm-uf6bj82tl6jioidb5co.mysql.rds.aliyuncs.com;port=3306;dbname=qydysyk;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.009876s ]
- [ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'cdn_settings' LIMIT 1 [ RunTime:0.007590s ]
- [ 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.007585s ]
- [ 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.009221s ]
- [ SQL ] SELECT `post`.* FROM `cmf_portal_post` `post` WHERE `post`.`delete_time` = 0 AND `post`.`id` = '381627' LIMIT 1 [ RunTime:0.007580s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'post',
'partitions' => NULL,
'type' => 'const',
'possible_keys' => 'PRIMARY,idx_delete_time,idx_query,idx_id',
'key' => 'PRIMARY',
'key_len' => '4',
'ref' => 'const',
'rows' => 1,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_category` [ RunTime:0.008544s ]
- [ SQL ] SELECT * FROM `cmf_portal_category` WHERE `id` = 102 AND `status` = 1 LIMIT 1 [ RunTime:0.007498s ]
- [ 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` = 381627 [ RunTime:0.008143s ]
- [ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'storage' LIMIT 1 [ RunTime:0.007458s ]
- [ 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_tag` [ RunTime:0.009445s ]
- [ SQL ] SELECT * FROM `cmf_portal_post_tag` WHERE `id` = 381627 [ RunTime:0.008164s ]
- [ 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' => 15,
'filtered' => 100.0,
'extra' => NULL,
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_post_entity` [ RunTime:0.008610s ]
- [ SQL ] SELECT `entity` FROM `cmf_portal_post_entity` WHERE `id` = 381627 LIMIT 1 [ RunTime:0.007994s ]
- [ 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 ] SELECT DISTINCT `tag` FROM `cmf_portal_post_tag` WHERE `id` = 381627 AND `type` = 1 AND `score` > 50 ORDER BY `score` DESC [ RunTime:0.007399s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_post_tag',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'PRIMARY,idx_tag,post_id',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 15,
'filtered' => 4.999998092651367,
'extra' => 'Using where; Using index; Using temporary; Using filesort',
) ]
- [ SQL ] SELECT DISTINCT `tag` FROM `cmf_portal_post_tag` WHERE `id` = 381627 AND `type` = 2 AND `score` > 50 ORDER BY `score` DESC [ RunTime:0.007462s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_post_tag',
'partitions' => NULL,
'type' => 'ref',
'possible_keys' => 'PRIMARY,idx_tag,post_id',
'key' => 'PRIMARY',
'key_len' => '8',
'ref' => 'const',
'rows' => 15,
'filtered' => 4.999998092651367,
'extra' => 'Using where; Using index; Using temporary; Using filesort',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_entity` [ RunTime:0.009771s ]
- [ SQL ] SELECT * FROM `cmf_portal_entity` WHERE `mention` = '榻' AND `baikevisible` = 1 LIMIT 1 [ RunTime:0.008501s ]
- [ 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_entity` WHERE `mention` = '右军' AND `baikevisible` = 1 LIMIT 1 [ RunTime:0.007458s ]
- [ 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_entity` WHERE `mention` = '王羲之' AND `baikevisible` = 1 LIMIT 1 [ RunTime:0.007349s ]
- [ 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_entity` WHERE `mention` = '行成' AND `baikevisible` = 1 LIMIT 1 [ RunTime:0.007384s ]
- [ 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_entity` WHERE `mention` = '帖' AND `baikevisible` = 1 LIMIT 1 [ RunTime:0.007277s ]
- [ 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` <> 381627 AND `delete_time` = 0 LIMIT 9 [ RunTime:0.011627s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_post',
'partitions' => NULL,
'type' => 'range',
'possible_keys' => 'PRIMARY,idx_author_category,idx_delete_time,idx_post_author,idx_author_museum,idx_query,idx_id,idx_author_category_museum',
'key' => 'idx_post_author',
'key_len' => '1026',
'ref' => NULL,
'rows' => 7028,
'filtered' => 49.99997329711914,
'extra' => 'Using index condition; Using where',
) ]
- [ SQL ] SELECT * FROM `cmf_portal_post` WHERE `post_age` = '魏晋' AND `post_category_id` = 102 AND `post_author` <> '王羲之' AND `id` <> 381627 AND `delete_time` = 0 LIMIT 100 [ RunTime:0.029665s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_post',
'partitions' => NULL,
'type' => 'range',
'possible_keys' => 'PRIMARY,idx_author_category,idx_category_museum_status,idx_delete_time,idx_category,idx_post_age,idx_post_author,idx_age_museum_category_status,idx_category_age_delete_id,idx_category_id,idx_author_museum,idx_category_museum,idx_age_category_delete_cover,idx_category_delete_time,idx_query,idx_age_category_delete,idx_category_age_delete,idx_id,idx_author_category_museum',
'key' => 'idx_category_age_delete_id',
'key_len' => '412',
'ref' => NULL,
'rows' => 17724,
'filtered' => 85.85900115966797,
'extra' => 'Using index condition; Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.008577s ]
- [ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'Acme' AND ( `is_public` = 1 OR `file` = 'portal/article' ) [ RunTime:0.007323s ]
- [ 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',
) ]

0.399361s