基本
文件
流程
错误
SQL
调试
- 请求信息 : 2024-11-10 09:39:11 HTTP/1.1 GET : youthra.cn/ask/group/ccececec.html?type=question
- 运行时间 : 0.050164s [ 吞吐率:19.93req/s ] 内存消耗:5,195.32kb 文件加载:161
- 查询信息 : 20 queries 0 writes
- 缓存信息 : 1 reads,1 writes
- 配置加载 : 74
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000013s ]
- [ CACHE ] INIT File
- [ BEHAVIOR ] Run \addons\xunsearch\Xunsearch @app_init [ RunTime:0.001967s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.001989s ]
- [ LANG ] /www/wwwroot/www.youthra.cn/thinkphp/lang/zh-cn.php
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000180s ]
- [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\think\\addons\\Route',
1 => 'execute',
),
'var' =>
array (
'addon' => 'ask',
'controller' => 'group',
'action' => 'show',
),
)
- [ HEADER ] array (
'host' => 'youthra.cn',
'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' => '*/*',
'content-type' => '',
'content-length' => '',
)
- [ PARAM ] array (
'type' => 'question',
'name' => 'ccececec',
)
- [ RUN ] think\addons\Route->execute[ /www/wwwroot/www.youthra.cn/vendor/karsonzhang/fastadmin-addons/src/addons/Route.php ]
- [ LANG ] /www/wwwroot/www.youthra.cn/public/../application/common/lang/zh-cn/addon.php
- [ BEHAVIOR ] Run app\common\behavior\Common @addon_begin [ RunTime:0.001031s ]
- [ LANG ] /www/wwwroot/www.youthra.cn/addons/ask/lang/zh-cn.php
- [ DB ] INIT mysql
- [ VIEW ] /www/wwwroot/www.youthra.cn/addons/ask/view/group/show.html [ array (
0 => 'config',
1 => 'user',
2 => 'site',
3 => 'isAdmin',
4 => 'askConfig',
5 => 'topZoneList',
6 => 'questionList',
7 => 'userContributeList',
8 => 'group_admin_userList',
9 => 'groupType',
10 => '__group__',
11 => '__groupTag__',
12 => 'title',
) ]
- [ BEHAVIOR ] Run \addons\ask\Ask @view_filter [ RunTime:0.000096s ]
- [ DB ] CONNECT:[ UseTime:0.000337s ] mysql:host=127.0.0.1;port=3306;dbname=www_youthra_cn;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `fa_ask_group` [ RunTime:0.000637s ]
- [ SQL ] SELECT * FROM `fa_ask_group` WHERE `name` = 'ccececec' LIMIT 1 [ RunTime:0.000192s ]
- [ SQL ] SHOW COLUMNS FROM `fa_ask_question` [ RunTime:0.000563s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `fa_ask_question` INNER JOIN `fa_ask_group_content_map` `pivot` ON `pivot`.`source_id`=`fa_ask_question`.`id` WHERE ( `pivot`.`type` = 'question' AND `pivot`.`group_id` = 27 ) AND `fa_ask_question`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000571s ]
- [ SQL ] SHOW COLUMNS FROM `fa_ask_article` [ RunTime:0.000542s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `fa_ask_article` INNER JOIN `fa_ask_group_content_map` `pivot` ON `pivot`.`source_id`=`fa_ask_article`.`id` WHERE ( `pivot`.`type` = 'article' AND `pivot`.`group_id` = 27 ) AND `fa_ask_article`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000289s ]
- [ SQL ] SHOW COLUMNS FROM `fa_ask_group_activity` [ RunTime:0.000481s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `fa_ask_group_activity` WHERE `group_id` = 27 LIMIT 1 [ RunTime:0.000132s ]
- [ SQL ] SHOW COLUMNS FROM `fa_ask_user` [ RunTime:0.000497s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `fa_ask_user` INNER JOIN `fa_ask_group_admin_map` `pivot` ON `pivot`.`user_id`=`fa_ask_user`.`user_id` WHERE `pivot`.`user_id` IS NULL AND `pivot`.`group_id` = 27 LIMIT 1 [ RunTime:0.000230s ]
- [ SQL ] SHOW COLUMNS FROM `fa_ask_group_content_map` [ RunTime:0.000495s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `fa_ask_question` INNER JOIN `fa_ask_group_content_map` `pivot` ON `pivot`.`source_id`=`fa_ask_question`.`id` WHERE ( `pivot`.`type` = 'question' AND `pivot`.`group_id` = 27 AND `status` <> 'hidden' ) AND `fa_ask_question`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.000330s ]
- [ SQL ] SELECT `fa_ask_question`.*,pivot.id AS pivot__id,pivot.group_id AS pivot__group_id,pivot.user_id AS pivot__user_id,pivot.type AS pivot__type,pivot.source_id AS pivot__source_id,pivot.best AS pivot__best,pivot.top AS pivot__top FROM `fa_ask_question` INNER JOIN `fa_ask_group_content_map` `pivot` ON `pivot`.`source_id`=`fa_ask_question`.`id` WHERE ( `pivot`.`type` = 'question' AND `pivot`.`group_id` = 27 AND `status` <> 'hidden' ) AND `fa_ask_question`.`deletetime` IS NULL ORDER BY `createtime` DESC LIMIT 0,30 [ RunTime:0.000581s ]
- [ SQL ] SHOW COLUMNS FROM `fa_ask_attention` [ RunTime:0.000468s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(*) FROM `fa_ask_attention` `a` LEFT JOIN `fa_ask_group_content_map` `m` ON `a`.`source_id`=`m`.`group_id` LEFT JOIN (SELECT user_id, COUNT(*) AS count FROM fa_ask_group_content_map t GROUP BY user_id) t ON `a`.`user_id`=`t`.`user_id` LEFT JOIN `fa_user` `u` ON `u`.`id`=`a`.`user_id` LEFT JOIN (SELECT source_id FROM fa_ask_attention WHERE user_id = 1 AND type = 'user') n ON `a`.`user_id`=`n`.`source_id` WHERE `a`.`type` = 'group' AND `a`.`source_id` = 27 GROUP BY a.user_id, a.source_id ) `_group_count_` LIMIT 1 [ RunTime:0.000435s ]
- [ SQL ] SELECT a.user_id, a.source_id, NVL(t.count,0) as count, u.username,u.nickname,u.avatar, NVL2(n.source_id, 1, 0) followed FROM `fa_ask_attention` `a` LEFT JOIN `fa_ask_group_content_map` `m` ON `a`.`source_id`=`m`.`group_id` LEFT JOIN (SELECT user_id, COUNT(*) AS count FROM fa_ask_group_content_map t GROUP BY user_id) t ON `a`.`user_id`=`t`.`user_id` LEFT JOIN `fa_user` `u` ON `u`.`id`=`a`.`user_id` LEFT JOIN (SELECT source_id FROM fa_ask_attention WHERE user_id = 1 AND type = 'user') n ON `a`.`user_id`=`n`.`source_id` WHERE `a`.`type` = 'group' AND `a`.`source_id` = 27 GROUP BY a.user_id, a.source_id ORDER BY `count` DESC LIMIT 0,100 [ RunTime:0.000495s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `fa_ask_group` `t` LEFT JOIN `fa_ask_tag` `tag` ON `t`.`task_tag_id`=`tag`.`id` LEFT JOIN `fa_ask_tag` `tag2` ON `t`.`method_tag_id`=`tag2`.`id` WHERE ( 1=1 ) AND `t`.`name` = 'ccececec' LIMIT 1 [ RunTime:0.000261s ]
- [ SQL ] SELECT `t`.*,tag.name task_tag_name,tag2.name method_tag_name FROM `fa_ask_group` `t` LEFT JOIN `fa_ask_tag` `tag` ON `t`.`task_tag_id`=`tag`.`id` LEFT JOIN `fa_ask_tag` `tag2` ON `t`.`method_tag_id`=`tag2`.`id` WHERE ( 1=1 ) AND `t`.`name` = 'ccececec' LIMIT 0,100 [ RunTime:0.000552s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `fa_ask_group` `t` LEFT JOIN `fa_ask_group_admin_map` `a` ON `t`.`id`=`a`.`group_id` LEFT JOIN `fa_user` `u` ON `u`.`id`=`a`.`user_id` WHERE ( 1=1 ) AND `t`.`name` = 'ccececec' LIMIT 1 [ RunTime:0.000936s ]
- [ SQL ] SELECT `t`.*,`u`.`username`,`u`.`nickname`,`u`.`avatar`,`a`.`user_id` FROM `fa_ask_group` `t` LEFT JOIN `fa_ask_group_admin_map` `a` ON `t`.`id`=`a`.`group_id` LEFT JOIN `fa_user` `u` ON `u`.`id`=`a`.`user_id` WHERE ( 1=1 ) AND `t`.`name` = 'ccececec' LIMIT 0,100 [ RunTime:0.000386s ]
0.055167s