基本
文件
流程
错误
SQL
调试
- 请求信息 : 2026-01-26 17:10:43 HTTP/2.0 GET : wenboai.cn/portal/samecolor/index/color/%23363636.html
- 运行时间 : 3.406467s [ 吞吐率:0.29req/s ] 内存消耗:5,434.35kb 文件加载: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.002747s ]
- [ 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' => '#363636',
)
- [ 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.002049s ]
- [ LANG ] /www/wwwroot/wenboai.cn/public/../app/portal/lang/zh-cn.php
- [ BEHAVIOR ] Run cmf\behavior\InitAppHookBehavior @module_init [ RunTime:0.000303s ]
- [ 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.001516s ]
- [ 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.010094s ] mysql:host=rm-uf6bj82tl6jioidb5co.mysql.rds.aliyuncs.com;port=3306;dbname=wenboaicn;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.006385s ]
- [ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'cdn_settings' LIMIT 1 [ RunTime:0.005130s ]
- [ 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.006331s ]
- [ 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.005498s ]
- [ 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.009523s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_image_color` WHERE ( ( `h` BETWEEN 0 AND 60 OR `h` >= 300 ) AND `s` BETWEEN 0 AND 30 AND `v` BETWEEN 0 AND 51.18 ) AND EXISTS ( SELECT * FROM `cmf_portal_image_color` WHERE ( 1 - (
0.30 * LEAST(ABS(h - 0), 360 - ABS(h - 0)) / 180 +
0.30 * ABS(s - 0) / 100 +
0.40 * ABS(v - 21) / 100
) >= 0.4 ) ) LIMIT 1 [ RunTime:0.826673s ]
- [ 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 - 0), 360 - ABS(h - 0)) / 180 +
0.30 * ABS(s - 0) / 100 +
0.40 * ABS(v - 21) / 100
) AS weight FROM `cmf_portal_image_color` WHERE ( ( `h` BETWEEN 0 AND 60 OR `h` >= 300 ) AND `s` BETWEEN 0 AND 30 AND `v` BETWEEN 0 AND 51.18 ) AND EXISTS ( SELECT * FROM `cmf_portal_image_color` WHERE ( 1 - (
0.30 * LEAST(ABS(h - 0), 360 - ABS(h - 0)) / 180 +
0.30 * ABS(s - 0) / 100 +
0.40 * ABS(v - 21) / 100
) >= 0.4 ) ) ORDER BY `weight` DESC LIMIT 0,60 [ RunTime:2.077399s ]
- [ 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.007720s ]
- [ SQL ] SELECT * FROM `cmf_portal_post` WHERE `id` IN (33525,44643,32213,44779,44722,43175,31856,45856,31852,40907,32038,46389,46617,46845,44726,40306,46064,44878,45335,45877,46329,45220,42774,40191,45484,40249,43239,45865,33110,45231,46596,32008,45771,43884,44567,33588,43443,46688,45423,44205,44419,43692,43681,28226,46057,45444,40227,44143,44277,46907,45307,44454,46833,31987,44708,43266,43185,44423,44283,43454) [ RunTime:0.029144s ]
- [ 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_theme_file` [ RunTime:0.012961s ]
- [ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'Acme' AND ( `is_public` = 1 OR `file` = 'portal/samecolor' ) [ RunTime:0.006123s ]
- [ 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.006609s ]
- [ SQL ] SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.008022s ]
- [ 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.007952s ]
- [ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.006506s ]
- [ 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',
) ]

3.417790s