基本
文件
流程
错误
SQL
调试
- 请求信息 : 2026-01-26 17:10:32 HTTP/2.0 GET : wenboai.cn/portal/samecolor/index/color/%23FF7800.html
- 运行时间 : 2.540415s [ 吞吐率:0.39req/s ] 内存消耗:5,812.52kb 文件加载:145
- 查询信息 : 15 queries 0 writes
- 缓存信息 : 0 reads,0 writes
- 配置加载 : 67
- 会话信息 : SESSION_ID=55jj0lg8cj0hp3262kne1bp38s
- [ CACHE ] INIT memcached
- [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.003741s ]
- [ LANG ] /www/wwwroot/wenboai.cn/simplewind/thinkphp/lang/zh-cn.php
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'portal',
1 => 'samecolor',
2 => 'index',
),
)
- [ HEADER ] array (
'cookie' => 'PHPSESSID=55jj0lg8cj0hp3262kne1bp38s; SITE_TOTAL_ID=e13672da54d7a3300904372b80550a54',
'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 (
'color' => '#FF7800',
)
- [ 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.002540s ]
- [ LANG ] /www/wwwroot/wenboai.cn/public/../app/portal/lang/zh-cn.php
- [ BEHAVIOR ] Run cmf\behavior\InitAppHookBehavior @module_init [ RunTime:0.000399s ]
- [ 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.001408s ]
- [ RUN ] app\portal\controller\SamecolorController->index[ /www/wwwroot/wenboai.cn/app/portal/controller/SamecolorController.php ]
- [ VIEW ] /www/wwwroot/wenboai.cn/public/themes/Acme/portal/samecolor.html [ array (
0 => 'site_info',
1 => 'articles',
2 => 'color',
3 => 'page',
4 => 'theme_vars',
5 => 'theme_widgets',
) ]
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => 'think',
'type' => '',
'auto_start' => true,
)
- [ DB ] CONNECT:[ UseTime:0.009799s ] mysql:host=rm-uf6bj82tl6jioidb5co.mysql.rds.aliyuncs.com;port=3306;dbname=wenboaicn;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.006523s ]
- [ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'cdn_settings' LIMIT 1 [ RunTime:0.004594s ]
- [ 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.004488s ]
- [ 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.004512s ]
- [ 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_image_color` [ RunTime:0.005776s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_image_color` WHERE ( ( `h` BETWEEN 0 AND 88.24 OR `h` >= 328.24 ) AND `s` BETWEEN 70 AND 100 AND `v` BETWEEN 70 AND 100 ) AND EXISTS ( SELECT * FROM `cmf_portal_image_color` WHERE ( 1 - (
0.30 * LEAST(ABS(h - 28), 360 - ABS(h - 28)) / 180 +
0.30 * ABS(s - 100) / 100 +
0.40 * ABS(v - 100) / 100
) >= 0.4 ) ) LIMIT 1 [ RunTime:0.783548s ]
- [ 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' => 1067727,
'filtered' => 100.0,
'extra' => 'Using where; Using index; FirstMatch',
) ]
- [ SQL ] SELECT *,1 - (
0.30 * LEAST(ABS(h - 28), 360 - ABS(h - 28)) / 180 +
0.30 * ABS(s - 100) / 100 +
0.40 * ABS(v - 100) / 100
) AS weight FROM `cmf_portal_image_color` WHERE ( ( `h` BETWEEN 0 AND 88.24 OR `h` >= 328.24 ) AND `s` BETWEEN 70 AND 100 AND `v` BETWEEN 70 AND 100 ) AND EXISTS ( SELECT * FROM `cmf_portal_image_color` WHERE ( 1 - (
0.30 * LEAST(ABS(h - 28), 360 - ABS(h - 28)) / 180 +
0.30 * ABS(s - 100) / 100 +
0.40 * ABS(v - 100) / 100
) >= 0.4 ) ) ORDER BY `weight` DESC LIMIT 0,60 [ RunTime:1.452830s ]
- [ 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' => 1067727,
'filtered' => 100.0,
'extra' => 'Using where; Using index; Using temporary; Using filesort; FirstMatch',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_portal_post` [ RunTime:0.007006s ]
- [ SQL ] SELECT * FROM `cmf_portal_post` WHERE `id` IN (123274,36218,579282,180664,123344,136743,584977,123825,123284,123527,327972,328140,27766,123345,123923,125486,123921,585436,578104,39383,34729,323934,172871,127180,37651,574164,124007,50358,323678,90840,447261,428265,585453,450215,126093,123922,450228,172412,24906,446535,323759,323857,122705,9827,128850,39845,124011,35778,30820,125671,123886,579309,579284,142999,137161,11117,584956,579370) [ RunTime:0.049891s ]
- [ 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' => 58,
'filtered' => 100.0,
'extra' => 'Using where',
) ]
- [ SQL ] SHOW COLUMNS FROM `cmf_theme_file` [ RunTime:0.006098s ]
- [ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'Acme' AND ( `is_public` = 1 OR `file` = 'portal/samecolor' ) [ RunTime:0.004586s ]
- [ 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.006227s ]
- [ SQL ] SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.004547s ]
- [ 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.005793s ]
- [ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.007335s ]
- [ 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',
) ]

2.549443s