基本
文件
流程
错误
SQL
调试
- 请求信息 : 2026-11-26 15:04:47 HTTP/2.0 GET : www.hongmengyishu.com/portal/samecolor/index/color/%23336633.html
- 运行时间 : 1.789186s [ 吞吐率:0.56req/s ] 内存消耗:5,586.72kb 文件加载:155
- 查询信息 : 9 queries 0 writes
- 缓存信息 : 0 reads,0 writes
- 配置加载 : 67
- 会话信息 : SESSION_ID=m75gv20q5u38cuq3p5ocgqjpb5
- [ CACHE ] INIT File
- [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.001511s ]
- [ LANG ] /www/wwwroot/hongmengyishu_update8.2/simplewind/thinkphp/lang/zh-cn.php
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'portal',
1 => 'samecolor',
2 => 'index',
),
)
- [ HEADER ] array (
'cookie' => 'PHPSESSID=m75gv20q5u38cuq3p5ocgqjpb5; server_session_54ad6e13=5cfa5779eafb8c79524ba91956f51e1d',
'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.hongmengyishu.com',
'content-length' => '',
'content-type' => '',
)
- [ PARAM ] array (
'color' => '#336633',
)
- [ LANG ] /www/wwwroot/hongmengyishu_update8.2/simplewind/cmf/behavior/../lang/zh-cn.php
- [ LANG ] /www/wwwroot/hongmengyishu_update8.2/public/../app/admin/lang/zh-cn/common.php
- [ LANG ] /www/wwwroot/hongmengyishu_update8.2/public/../app/ai/lang/zh-cn/common.php
- [ LANG ] /www/wwwroot/hongmengyishu_update8.2/public/../app/order/lang/zh-cn/common.php
- [ LANG ] /www/wwwroot/hongmengyishu_update8.2/public/../app/portal/lang/zh-cn/common.php
- [ BEHAVIOR ] Run cmf\behavior\LangBehavior @app_begin [ RunTime:0.001047s ]
- [ LANG ] /www/wwwroot/hongmengyishu_update8.2/public/../app/portal/lang/zh-cn.php
- [ BEHAVIOR ] Run cmf\behavior\InitAppHookBehavior @module_init [ RunTime:0.000169s ]
- [ LANG ] /www/wwwroot/hongmengyishu_update8.2/public/../app/ai/lang/zh-cn/home.php
- [ LANG ] /www/wwwroot/hongmengyishu_update8.2/public/../app/order/lang/zh-cn/home.php
- [ LANG ] /www/wwwroot/hongmengyishu_update8.2/public/../app/portal/lang/zh-cn/home.php
- [ BEHAVIOR ] Run cmf\behavior\HomeLangBehavior @home_init [ RunTime:0.000635s ]
- [ RUN ] app\portal\controller\SamecolorController->index[ /www/wwwroot/hongmengyishu_update8.2/app/portal/controller/SamecolorController.php ]
- [ DB ] INIT mysql
- [ VIEW ] /www/wwwroot/hongmengyishu_update8.2/public/themes/Acme/portal/samecolor.html [ array (
0 => 'site_info',
1 => 'articles',
2 => 'color',
3 => 'page',
4 => 'theme_vars',
5 => 'tuku_name',
6 => 'theme_widgets',
) ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => 'think',
'type' => '',
'auto_start' => true,
)
- [ DB ] CONNECT:[ UseTime:0.001030s ] mysql:host=172.19.20.206;port=3306;dbname=ysyk;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_image_color` [ RunTime:0.002066s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_image_color` WHERE ( ( `h` BETWEEN 60 AND 180 ) AND `s` BETWEEN 20 AND 80 AND `v` BETWEEN 10 AND 70 ) AND EXISTS ( SELECT * FROM `cmf_portal_image_color` WHERE ( 1 - (
0.30 * LEAST(ABS(h - 120), 360 - ABS(h - 120)) / 180 +
0.30 * ABS(s - 50) / 100 +
0.40 * ABS(v - 40) / 100
) >= 0.4 ) ) LIMIT 1 [ RunTime:0.180792s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_image_color',
'partitions' => NULL,
'type' => 'index',
'possible_keys' => NULL,
'key' => 'idx_hsv',
'key_len' => '15',
'ref' => NULL,
'rows' => 1073548,
'filtered' => 100.0,
'extra' => 'Using where; Using index; FirstMatch',
) ]
- [ SQL ] SELECT *,1 - (
0.30 * LEAST(ABS(h - 120), 360 - ABS(h - 120)) / 180 +
0.30 * ABS(s - 50) / 100 +
0.40 * ABS(v - 40) / 100
) AS weight FROM `cmf_portal_image_color` WHERE ( ( `h` BETWEEN 60 AND 180 ) AND `s` BETWEEN 20 AND 80 AND `v` BETWEEN 10 AND 70 ) AND EXISTS ( SELECT * FROM `cmf_portal_image_color` WHERE ( 1 - (
0.30 * LEAST(ABS(h - 120), 360 - ABS(h - 120)) / 180 +
0.30 * ABS(s - 50) / 100 +
0.40 * ABS(v - 40) / 100
) >= 0.4 ) ) ORDER BY `weight` DESC LIMIT 0,60 [ RunTime:1.512491s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_image_color',
'partitions' => NULL,
'type' => 'index',
'possible_keys' => NULL,
'key' => 'idx_hsv',
'key_len' => '15',
'ref' => NULL,
'rows' => 1073548,
'filtered' => 100.0,
'extra' => 'Using where; Using index; Using temporary; Using filesort; FirstMatch',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.003927s ]
- [ SQL ] SELECT * FROM `cmf_portal_post` WHERE `id` IN (110998,360853,17949,124875,125010,1059,160700,360830,360833,360821,323323,429892,18377,152738,361274,360615,586670,584369,603888,157832,361387,435213,360819,360816,124682,360875,112232,360124,322954,322886,110117,10036,152733,428235,360675,327916,328085,58,323417,124874,157159,602630,428363,323413,356247,361298,323344,152743,602620,360685,358303,355310,137022,145305,145346,172430,172429,98209,428401,575360) [ RunTime:0.017039s ]
- [ EXPLAIN : array (
'id' => 1,
'select_type' => 'SIMPLE',
'table' => 'cmf_portal_post',
'partitions' => NULL,
'type' => 'range',
'possible_keys' => 'PRIMARY,idx_id',
'key' => 'PRIMARY',
'key_len' => '4',
'ref' => NULL,
'rows' => 60,
'filtered' => 100.0,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_nav` [ RunTime:0.002797s ]
- [ SQL ] SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.000938s ]
- [ 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.001388s ]
- [ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.000600s ]
- [ 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',
) ]

1.802475s