基本
文件
流程
错误
SQL
调试
- 请求信息 : 2026-01-26 07:01:51 HTTP/2.0 GET : wenboai.cn/portal/samecolor/index/color/%23FFA54F.html
- 运行时间 : 5.137934s [ 吞吐率:0.19req/s ] 内存消耗:5,797.12kb 文件加载:145
- 查询信息 : 15 queries 0 writes
- 缓存信息 : 0 reads,0 writes
- 配置加载 : 67
- 会话信息 : SESSION_ID=3s58qaj9aiem9d514c67bkcrds
- [ CACHE ] INIT memcached
- [ BEHAVIOR ] Run cmf\behavior\InitHookBehavior @app_init [ RunTime:0.002973s ]
- [ 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=3s58qaj9aiem9d514c67bkcrds; SITE_TOTAL_ID=f55eaf96c03532438618e513f26ab57f',
'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' => '#FFA54F',
)
- [ 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.001921s ]
- [ LANG ] /www/wwwroot/wenboai.cn/public/../app/portal/lang/zh-cn.php
- [ BEHAVIOR ] Run cmf\behavior\InitAppHookBehavior @module_init [ RunTime:0.000256s ]
- [ 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.001493s ]
- [ 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.007466s ] mysql:host=rm-uf6bj82tl6jioidb5co.mysql.rds.aliyuncs.com;port=3306;dbname=wenboaicn;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `cmf_option` [ RunTime:0.005719s ]
- [ SQL ] SELECT `option_value` FROM `cmf_option` WHERE `option_name` = 'cdn_settings' LIMIT 1 [ RunTime:0.004659s ]
- [ 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.005847s ]
- [ 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.004624s ]
- [ 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.006184s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `cmf_portal_image_color` WHERE ( ( `h` BETWEEN 0 AND 89.32 OR `h` >= 329.32 ) AND `s` BETWEEN 39.02 AND 99.02 AND `v` BETWEEN 70 AND 100 ) AND EXISTS ( SELECT * FROM `cmf_portal_image_color` WHERE ( 1 - (
0.30 * LEAST(ABS(h - 29), 360 - ABS(h - 29)) / 180 +
0.30 * ABS(s - 69) / 100 +
0.40 * ABS(v - 100) / 100
) >= 0.4 ) ) LIMIT 1 [ RunTime:1.890271s ]
- [ 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 - 29), 360 - ABS(h - 29)) / 180 +
0.30 * ABS(s - 69) / 100 +
0.40 * ABS(v - 100) / 100
) AS weight FROM `cmf_portal_image_color` WHERE ( ( `h` BETWEEN 0 AND 89.32 OR `h` >= 329.32 ) AND `s` BETWEEN 39.02 AND 99.02 AND `v` BETWEEN 70 AND 100 ) AND EXISTS ( SELECT * FROM `cmf_portal_image_color` WHERE ( 1 - (
0.30 * LEAST(ABS(h - 29), 360 - ABS(h - 29)) / 180 +
0.30 * ABS(s - 69) / 100 +
0.40 * ABS(v - 100) / 100
) >= 0.4 ) ) ORDER BY `weight` DESC LIMIT 0,60 [ RunTime:2.640006s ]
- [ 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.007251s ]
- [ SQL ] SELECT * FROM `cmf_portal_post` WHERE `id` IN (144575,137680,73,340922,61080,20451,14202,577162,155650,37501,36394,159003,4548,323130,436787,62203,30784,577121,71742,137151,20209,577287,579257,577119,604344,56911,577288,388946,90238,577585,96323,137677,577144,13498,35801,443397,427994,90818,172860,172859,443384,16470,577147,324963,14211,577362,35174,24961,42391,608223,577173,137676,577114,577361,65627,609936,97436,155472,442985,16555) [ RunTime:0.079648s ]
- [ 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.007642s ]
- [ SQL ] SELECT `more` FROM `cmf_theme_file` WHERE `theme` = 'Acme' AND ( `is_public` = 1 OR `file` = 'portal/samecolor' ) [ RunTime:0.004918s ]
- [ 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.008474s ]
- [ SQL ] SELECT `id` FROM `cmf_nav` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.004963s ]
- [ 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.007060s ]
- [ SQL ] SELECT * FROM `cmf_nav_menu` WHERE `nav_id` = 1 AND `status` = 1 ORDER BY `list_order` ASC [ RunTime:0.004761s ]
- [ 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',
) ]

5.146916s