基本
文件
流程
错误
SQL
调试
- 请求信息 : 2026-01-26 17:10:50 HTTP/2.0 GET : wenboai.cn/portal/samecolor/index/color/%235D4433.html
- 运行时间 : 3.652730s [ 吞吐率:0.27req/s ] 内存消耗:5,807.03kb 文件加载: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.002978s ]
- [ 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' => '#5D4433',
)
- [ 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.002629s ]
- [ LANG ] /www/wwwroot/wenboai.cn/public/../app/portal/lang/zh-cn.php
- [ BEHAVIOR ] Run cmf\behavior\InitAppHookBehavior @module_init [ RunTime:0.000324s ]
- [ 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.001464s ]
- [ 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.012195s ] mysql:host=rm-uf6bj82tl6jioidb5co.mysql.rds.aliyuncs.com;port=3306;dbname=wenboaicn;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.009352s ]
- [ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'cdn_settings' LIMIT 1 [ RunTime:0.010283s ]
- [ 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.007945s ]
- [ 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.004636s ]
- [ 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.007856s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_image_color` WHERE ( ( `h` BETWEEN 0 AND 84.29 OR `h` >= 324.29 ) AND `s` BETWEEN 15.16 AND 75.16 AND `v` BETWEEN 6.47 AND 66.47 ) AND EXISTS ( SELECT * FROM `cmf_portal_image_color` WHERE ( 1 - (
0.30 * LEAST(ABS(h - 24), 360 - ABS(h - 24)) / 180 +
0.30 * ABS(s - 45) / 100 +
0.40 * ABS(v - 36) / 100
) >= 0.4 ) ) LIMIT 1 [ RunTime:0.913891s ]
- [ 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 - 24), 360 - ABS(h - 24)) / 180 +
0.30 * ABS(s - 45) / 100 +
0.40 * ABS(v - 36) / 100
) AS weight FROM `cmf_portal_image_color` WHERE ( ( `h` BETWEEN 0 AND 84.29 OR `h` >= 324.29 ) AND `s` BETWEEN 15.16 AND 75.16 AND `v` BETWEEN 6.47 AND 66.47 ) AND EXISTS ( SELECT * FROM `cmf_portal_image_color` WHERE ( 1 - (
0.30 * LEAST(ABS(h - 24), 360 - ABS(h - 24)) / 180 +
0.30 * ABS(s - 45) / 100 +
0.40 * ABS(v - 36) / 100
) >= 0.4 ) ) ORDER BY `weight` DESC LIMIT 0,60 [ RunTime:2.362741s ]
- [ 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.008235s ]
- [ SQL ] SELECT * FROM `cmf_portal_post` WHERE `id` IN (605664,368598,156558,455074,577660,444902,468158,173557,78847,78885,609712,582754,97545,444180,78985,605762,126430,453710,69829,67190,26760,345213,149933,122618,179579,89885,342783,179814,609915,149681,149887,141719,149685,449846,82744,456894,146168,593372,151100,8099,452806,171237,28986,7511,79073,469781,130895,174165,79968,138745,86567,344819,452073,595859,107654,58789,167780,595406,11352,164402) [ RunTime:0.096863s ]
- [ 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.006640s ]
- [ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'Acme' AND ( `is_public` = 1 OR `file` = 'portal/samecolor' ) [ RunTime:0.004801s ]
- [ 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.006854s ]
- [ SQL ] SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.005037s ]
- [ 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.007162s ]
- [ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.005633s ]
- [ 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.662843s