基本
文件
流程
错误
SQL
调试
- 请求信息 : 2025-08-01 07:25:50 HTTP/2.0 GET : www.kastgc.cn//Home/Index/optimization
- 运行时间 : 0.128603s [ 吞吐率:7.78req/s ] 内存消耗:5,316.98kb 文件加载:73
- 查询信息 : 47 queries 0 writes
- 缓存信息 : 59 reads,7 writes
- 配置加载 : 109
- 会话信息 : SESSION_ID=8jsjeu6e4kit5fa7heciednlg0
- /home/wwwroot/kst.tpsns.com/index.php ( 3.33 KB )
- /home/wwwroot/kst.tpsns.com/saas.php ( 5.34 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/start.php ( 0.72 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/base.php ( 2.60 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Loader.php ( 20.23 KB )
- /home/wwwroot/kst.tpsns.com/vendor/composer/autoload_namespaces.php ( 0.29 KB )
- /home/wwwroot/kst.tpsns.com/vendor/composer/autoload_psr4.php ( 0.89 KB )
- /home/wwwroot/kst.tpsns.com/vendor/composer/autoload_classmap.php ( 44.14 KB )
- /home/wwwroot/kst.tpsns.com/vendor/composer/autoload_files.php ( 0.43 KB )
- /home/wwwroot/kst.tpsns.com/vendor/symfony/polyfill-mbstring/bootstrap.php ( 3.96 KB )
- /home/wwwroot/kst.tpsns.com/vendor/topthink/think-captcha/src/helper.php ( 1.59 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Route.php ( 58.86 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Config.php ( 6.38 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Validate.php ( 40.54 KB )
- /home/wwwroot/kst.tpsns.com/vendor/topthink/think-testing/src/config.php ( 0.65 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Console.php ( 22.65 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Error.php ( 3.79 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/convention.php ( 10.10 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/App.php ( 22.16 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Request.php ( 48.59 KB )
- /home/wwwroot/kst.tpsns.com/application/config.php ( 17.79 KB )
- /home/wwwroot/kst.tpsns.com/application/database.php ( 2.12 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Hook.php ( 4.71 KB )
- /home/wwwroot/kst.tpsns.com/application/tags.php ( 0.09 KB )
- /home/wwwroot/kst.tpsns.com/application/common.php ( 102.16 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Env.php ( 1.21 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/helper.php ( 22.04 KB )
- /home/wwwroot/kst.tpsns.com/application/function.php ( 42.78 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Lang.php ( 7.23 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Log.php ( 6.04 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/lang/zh-cn.php ( 11.58 KB )
- /home/wwwroot/kst.tpsns.com/application/home/config.php ( 0.47 KB )
- /home/wwwroot/kst.tpsns.com/application/home/html.php ( 0.98 KB )
- /home/wwwroot/kst.tpsns.com/application/home/common.php ( 2.38 KB )
- /home/wwwroot/kst.tpsns.com/application/home/controller/Index.php ( 21.40 KB )
- /home/wwwroot/kst.tpsns.com/application/home/controller/Base.php ( 6.33 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Controller.php ( 8.07 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/traits/controller/Jump.php ( 4.90 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/View.php ( 6.77 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/view/driver/Think.php ( 5.64 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Template.php ( 45.34 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/template/driver/File.php ( 2.17 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Cache.php ( 6.10 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/cache/driver/File.php ( 7.31 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/cache/Driver.php ( 5.98 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Session.php ( 10.86 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Url.php ( 12.71 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Db.php ( 6.67 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/db/connector/Mysql.php ( 3.89 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/db/Connection.php ( 30.08 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/db/Query.php ( 90.32 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/db/builder/Mysql.php ( 4.22 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/db/Builder.php ( 30.65 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Debug.php ( 7.13 KB )
- /home/wwwroot/kst.tpsns.com/application/common/logic/GoodsLogic.php ( 67.77 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Model.php ( 68.14 KB )
- /home/wwwroot/kst.tpsns.com/application/common/model/Goods.php ( 9.33 KB )
- /home/wwwroot/kst.tpsns.com/application/home/controller/Activity.php ( 11.62 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/exception/ErrorException.php ( 1.83 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Exception.php ( 1.60 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/exception/Handle.php ( 8.72 KB )
- /home/wwwroot/kst.tpsns.com/application/common/model/FlashSale.php ( 2.02 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/model/relation/HasOne.php ( 6.72 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/model/relation/OneToOne.php ( 9.68 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/model/Relation.php ( 3.60 KB )
- /home/wwwroot/kst.tpsns.com/application/common/model/SpecGoodsPrice.php ( 1.57 KB )
- /home/wwwroot/kst.tpsns.com/application/common/model/GroupBuy.php ( 1.44 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Collection.php ( 10.69 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/template/taglib/Cx.php ( 28.99 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/template/TagLib.php ( 12.30 KB )
- /home/wwwroot/kst.tpsns.com/runtime/temp/ed0ab840433eb903f77a5f49fee0f11e.php ( 67.89 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/Response.php ( 8.33 KB )
- /home/wwwroot/kst.tpsns.com/thinkphp/library/think/debug/Html.php ( 4.16 KB )
- [ LANG ] /home/wwwroot/kst.tpsns.com/thinkphp/lang/zh-cn.php
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'Home',
1 => 'Index',
2 => 'optimization',
),
)
- [ HEADER ] array (
'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' => 'www.kastgc.cn',
'content-type' => '',
'content-length' => '',
)
- [ PARAM ] array (
)
- [ CACHE ] INIT File
- [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => 'think',
'type' => '',
'auto_start' => true,
)
- [ DB ] INIT mysql
- [ RUN ] app\home\controller\Index->optimization[ /home/wwwroot/kst.tpsns.com/application/home/controller/Index.php ]
- [ VIEW ] ./template/pc/rainbow/index/optimization.html [ array (
0 => 'action',
1 => 'template_now_time',
2 => 'tpshop_config',
3 => 'goods_category_tree',
4 => 'brand_list',
5 => 'username',
6 => 'user',
7 => 'head_pic',
8 => 'mobile_url',
9 => 'article_list',
10 => 'seo',
11 => 'search_history',
12 => 'web_list',
13 => 'hot_goods',
14 => 'hot_brand',
15 => 'brandGood',
16 => 'seckillDate',
17 => 'endTime',
18 => 'seckill',
19 => 'is_group',
20 => 'is_recommend',
21 => 'is_best',
22 => 'goodsProm',
) ]
- [ DB ] CONNECT:[ UseTime:0.000326s ] mysql:host=127.0.0.1;port=3306;dbname=bb2_tadiao;charset=utf8
- [ SQL ] SHOW COLUMNS FROM `tp_article` [ RunTime:0.000632s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 1 LIMIT 5 [ RunTime:0.000403s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 3 LIMIT 5 [ RunTime:0.000326s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 4 LIMIT 5 [ RunTime:0.000281s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 41 LIMIT 5 [ RunTime:0.000305s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 43 LIMIT 5 [ RunTime:0.000251s ]
- [ SQL ] SHOW COLUMNS FROM `tp_search_word` [ RunTime:0.000446s ]
- [ SQL ] SELECT * FROM `tp_search_word` WHERE `ip` = '216.73.216.237' [ RunTime:0.003048s ]
- [ SQL ] SHOW COLUMNS FROM `tp_web` [ RunTime:0.007189s ]
- [ SQL ] SELECT * FROM `tp_web` WHERE `web_show` = 1 AND `label` LIKE '%best' ORDER BY `web_sort` [ RunTime:0.002652s ]
- [ SQL ] SHOW COLUMNS FROM `tp_web_block` [ RunTime:0.000419s ]
- [ SQL ] SELECT * FROM `tp_web_block` WHERE `web_id` = 1 ORDER BY `web_id` [ RunTime:0.001911s ]
- [ SQL ] SHOW COLUMNS FROM `tp_goods` [ RunTime:0.000715s ]
- [ SQL ] SELECT `goods_id`,`goods_name`,`shop_price`,`market_price`,`is_virtual`,`sales_sum`,`virtual_sales_sum` FROM `tp_goods` WHERE `is_hot` = 1 AND `goods_state` = 1 AND `is_on_sale` = 1 ORDER BY `sort` desc LIMIT 0,5 [ RunTime:0.000336s ]
- [ SQL ] SHOW COLUMNS FROM `tp_brand` [ RunTime:0.000382s ]
- [ SQL ] SELECT * FROM `tp_brand` WHERE `status` = 0 AND `is_hot` = 1 ORDER BY `sort` LIMIT 7 [ RunTime:0.000259s ]
- [ SQL ] SELECT `goods_id`,`goods_name`,`original_img` FROM `tp_goods` WHERE `goods_state` = 1 AND `is_on_sale` = 1 AND `brand_id` = 16 LIMIT 1 [ RunTime:0.000246s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 1 LIMIT 5 [ RunTime:0.000267s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 3 LIMIT 5 [ RunTime:0.000226s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 4 LIMIT 5 [ RunTime:0.000214s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 41 LIMIT 5 [ RunTime:0.000200s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 43 LIMIT 5 [ RunTime:0.000192s ]
- [ SQL ] SELECT * FROM `tp_search_word` WHERE `ip` = '216.73.216.237' [ RunTime:0.002685s ]
- [ SQL ] SHOW COLUMNS FROM `tp_flash_sale` [ RunTime:0.000461s ]
- [ SQL ] SELECT *,100*(FORMAT(buy_num/goods_num,2)) as percent FROM `tp_flash_sale` `fl` INNER JOIN `tp_goods` `g` ON `g`.`goods_id`=`fl`.`goods_id` WHERE `fl`.`status` = 1 AND `fl`.`start_time` >= 1753999200 AND `fl`.`end_time` <= 1754006400 AND `g`.`is_on_sale` = 1 ORDER BY recommend desc LIMIT 0,12 [ RunTime:0.004003s ]
- [ SQL ] SHOW COLUMNS FROM `tp_group_buy` [ RunTime:0.000578s ]
- [ SQL ] SELECT `g`.`goods_id`,`g`.`goods_name`,i.goods_price as shop_price,`g`.`cat_id3`,(g.sales_sum+g.virtual_sales_sum) as sales_sum,`i`.`price` FROM `tp_group_buy` `gp` LEFT JOIN `tp_goods` `g` ON `gp`.`goods_id`=`g`.`goods_id` LEFT JOIN `tp_group_buy_goods_item` `i` ON `gp`.`id`=`i`.`group_buy_id` WHERE `gp`.`is_end` = 0 AND `g`.`goods_state` = 1 AND `g`.`is_on_sale` = 1 AND `gp`.`status` = 1 AND `gp`.`recommend` = 1 AND `gp`.`start_time` >= 0 ORDER BY `g`.`sales_sum` desc,`g`.`sort` desc,`g`.`goods_id` DESC LIMIT 0,5 [ RunTime:0.005224s ]
- [ SQL ] SELECT `goods_id`,`goods_name`,`shop_price`,`market_price`,`is_virtual`,`sales_sum`,`virtual_sales_sum` FROM `tp_goods` WHERE `is_hot` = 1 AND `goods_state` = 1 AND `is_on_sale` = 1 ORDER BY `sales_sum` desc,`sort` desc,`goods_id` DESC LIMIT 0,3 [ RunTime:0.000320s ]
- [ SQL ] SELECT `goods_id`,`goods_name`,`shop_price`,`goods_remark`,`sales_sum`,`virtual_sales_sum` FROM `tp_goods` WHERE `is_label` = 1 AND `goods_state` = 1 AND `is_on_sale` = 1 ORDER BY `sales_sum` desc,`sort` desc,`goods_id` DESC LIMIT 0,2 [ RunTime:0.000330s ]
- [ SQL ] SELECT `g`.`goods_id`,`g`.`goods_name`,g.shop_price AS shop_price,`f`.`end_time`,(g.sales_sum + g.virtual_sales_sum) as sales_sum FROM `tp_goods` `g` INNER JOIN `tp_prom_goods` `f` ON `g`.`prom_id`=`f`.`id` WHERE `g`.`goods_state` = 1 AND `g`.`is_on_sale` = 1 AND `g`.`prom_type` = 3 AND `f`.`status` = 1 AND `f`.`recommend` = 1 ORDER BY `g`.`sales_sum` desc,`g`.`sort` desc,`g`.`goods_id` DESC LIMIT 3 [ RunTime:0.000364s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1754004350 and end_time > 1754004350 and status = 1 and cat_id1 = 34 limit 2 [ RunTime:0.000525s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1754004350 and end_time > 1754004350 and status = 1 and cat_id1 = 7 limit 2 [ RunTime:0.000438s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1754004350 and end_time > 1754004350 and status = 1 and cat_id1 = 30 limit 2 [ RunTime:0.000440s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1754004350 and end_time > 1754004350 and status = 1 and cat_id1 = 35 limit 2 [ RunTime:0.000487s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1754004350 and end_time > 1754004350 and status = 1 and cat_id1 = 33 limit 2 [ RunTime:0.000458s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1754004350 and end_time > 1754004350 and status = 1 and cat_id1 = 32 limit 2 [ RunTime:0.000446s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1754004350 and end_time > 1754004350 and status = 1 and cat_id1 = 31 limit 2 [ RunTime:0.000421s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1754004350 and end_time > 1754004350 and status = 1 and cat_id1 = 1 limit 2 [ RunTime:0.000559s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1754004350 and end_time > 1754004350 and status = 1 and cat_id1 = 8 limit 2 [ RunTime:0.000489s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1754004350 and end_time > 1754004350 and status = 1 and cat_id1 = 24 limit 2 [ RunTime:0.000436s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1754004350 and end_time > 1754004350 and status = 1 and cat_id1 = 27 limit 2 [ RunTime:0.000442s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1754004350 and end_time > 1754004350 and status = 1 and cat_id1 = 156 limit 2 [ RunTime:0.000484s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1754004350 and end_time > 1754004350 and status = 1 and cat_id1 = 170 limit 2 [ RunTime:0.000437s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1754004350 and end_time > 1754004350 and status = 1 and cat_id1 = 173 limit 2 [ RunTime:0.000425s ]
- [ SQL ] SHOW COLUMNS FROM `tp_ad` [ RunTime:0.000501s ]
- [ SQL ] SELECT * FROM `tp_ad` WHERE ( pid=602 and enabled = 1 and start_time <= 1754004350 and end_time >= 1754004350 ) ORDER BY orderby desc LIMIT 1 [ RunTime:0.001982s ]
- [ SQL ] SELECT * FROM `tp_navigation` where is_show = 1 AND position = 2 ORDER BY `sort` DESC [ RunTime:0.000232s ]

0.129957s