基本
文件
流程
错误
SQL
调试
- 请求信息 : 2024-11-10 13:46:49 HTTP/1.1 GET : youthra.cn/u/21/question?type=hot&user_id=21
- 运行时间 : 0.056839s [ 吞吐率:17.59req/s ] 内存消耗:5,396.39kb 文件加载:159
- 查询信息 : 12 queries 0 writes
- 缓存信息 : 1 reads,1 writes
- 配置加载 : 74
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.000014s ]
- [ CACHE ] INIT File
- [ BEHAVIOR ] Run \addons\xunsearch\Xunsearch @app_init [ RunTime:0.001978s ]
- [ BEHAVIOR ] Run Closure @app_init [ RunTime:0.002001s ]
- [ LANG ] /www/wwwroot/www.youthra.cn/thinkphp/lang/zh-cn.php
- [ BEHAVIOR ] Run app\common\behavior\Common @app_dispatch [ RunTime:0.000162s ]
- [ ROUTE ] array (
'type' => 'method',
'method' =>
array (
0 => '\\think\\addons\\Route',
1 => 'execute',
),
'var' =>
array (
'addon' => 'ask',
'controller' => 'user',
'action' => 'dispatch',
),
)
- [ 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' => 'hot',
'user_id' => '21',
'id' => '21',
'dispatch' => 'question',
)
- [ 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.001023s ]
- [ LANG ] /www/wwwroot/www.youthra.cn/addons/ask/lang/zh-cn.php
- [ DB ] INIT mysql
- [ VIEW ] /www/wwwroot/www.youthra.cn/addons/ask/view/user/question.html [ array (
0 => 'config',
1 => 'user',
2 => 'site',
3 => 'isAdmin',
4 => '__user__',
5 => 'askConfig',
6 => 'topZoneList',
7 => 'action',
8 => 'questionList',
9 => 'questionType',
10 => 'title',
) ]
- [ BEHAVIOR ] Run \addons\ask\Ask @view_filter [ RunTime:0.000174s ]
- [ DB ] CONNECT:[ UseTime:0.000319s ] mysql:host=127.0.0.1;port=3306;dbname=www_youthra_cn;charset=utf8mb4
- [ SQL ] SHOW COLUMNS FROM `fa_ask_user` [ RunTime:0.000651s ]
- [ SQL ] SELECT * FROM `fa_ask_user` WHERE `user_id` = 21 LIMIT 1 [ RunTime:0.001091s ]
- [ SQL ] SHOW COLUMNS FROM `fa_user` [ RunTime:0.000564s ]
- [ SQL ] SELECT * FROM `fa_user` WHERE `id` = 21 LIMIT 1 [ RunTime:0.000225s ]
- [ SQL ] SHOW COLUMNS FROM `fa_ask_question` [ RunTime:0.000531s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `fa_ask_question` WHERE ( `status` <> 'hidden' AND ( `user_id` = 21 ) ) AND `fa_ask_question`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.002173s ]
- [ SQL ] SELECT * FROM `fa_ask_question` WHERE ( `status` <> 'hidden' AND ( `user_id` = 21 ) ) AND `fa_ask_question`.`deletetime` IS NULL ORDER BY `answers` DESC LIMIT 0,30 [ RunTime:0.004580s ]
- [ SQL ] SHOW COLUMNS FROM `fa_ask_category` [ RunTime:0.000573s ]
- [ SQL ] SELECT * FROM `fa_ask_category` WHERE `id` IN (0) [ RunTime:0.000174s ]
- [ SQL ] SELECT * FROM `fa_user` WHERE `id` IN (21) [ RunTime:0.000175s ]
- [ SQL ] SHOW COLUMNS FROM `fa_ask_taggable` [ RunTime:0.000445s ]
- [ SQL ] SELECT `t`.*,`ta`.`source_id` FROM `fa_ask_taggable` `ta` LEFT JOIN `fa_ask_tag` `t` ON `ta`.`tag_id`=`t`.`id` WHERE `source_id` IN (512,768,8448,9984,769,7937,8705,770,2306,8194,9218,9474,9730,515,771,3331,7683,8963,9987,772,2308,8196,8708,517,773,8453,9221,9477,774,7430) AND `type` = 'question' AND `t`.`deletetime` IS NULL [ RunTime:0.000281s ]
0.064403s