基本
文件
流程
错误
SQL
调试
- 请求信息 : 2025-04-29 16:47:40 HTTP/2.0 GET : danshi.tpsns.com/Home/Goods/search/q
- 运行时间 : 0.151833s [ 吞吐率:6.59req/s ] 内存消耗:8,935.90kb 文件加载:64
- 查询信息 : 41 queries 2 writes
- 缓存信息 : 43 reads,3 writes
- 配置加载 : 111
- 会话信息 : SESSION_ID=6thv7fm7pl5ht8pf02sg5eiko6
- /www/wwwroot/b2bdemo.tpsns.com/index.php ( 5.33 KB )
- /www/wwwroot/b2bdemo.tpsns.com/saas.php ( 5.50 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/start.php ( 0.74 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/base.php ( 2.66 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Loader.php ( 20.87 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Error.php ( 3.93 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Config.php ( 6.58 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/convention.php ( 10.39 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/App.php ( 22.84 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Request.php ( 50.20 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/config.php ( 17.76 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/database.php ( 2.01 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Hook.php ( 4.86 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/tags.php ( 0.09 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/common.php ( 126.27 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Env.php ( 1.25 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/helper.php ( 23.09 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/function.php ( 46.58 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Lang.php ( 7.49 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Log.php ( 6.27 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/lang/zh-cn.php ( 254.40 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/lang/zh-cn.php ( 265.71 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Route.php ( 60.43 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/home/config.php ( 0.49 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/home/html.php ( 0.98 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/home/common.php ( 2.47 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/home/controller/Goods.php ( 44.61 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/home/controller/Base.php ( 6.90 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Controller.php ( 8.08 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/traits/controller/Jump.php ( 5.06 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/View.php ( 7.01 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/view/driver/Think.php ( 5.80 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Template.php ( 46.46 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/template/driver/File.php ( 2.24 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/exception/ErrorException.php ( 1.89 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Exception.php ( 1.66 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/exception/Handle.php ( 8.95 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Cache.php ( 6.34 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/cache/driver/File.php ( 7.57 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/cache/Driver.php ( 6.21 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Session.php ( 11.22 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Url.php ( 13.03 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Db.php ( 6.85 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/db/connector/Mysql.php ( 4.02 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/db/Connection.php ( 31.12 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/db/Query.php ( 93.19 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/db/builder/Mysql.php ( 4.34 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/db/Builder.php ( 31.50 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Debug.php ( 7.37 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/common/logic/UsersLogic.php ( 128.83 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Model.php ( 70.39 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/common/logic/GoodsLogic.php ( 72.89 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/common/logic/SearchWordLogic.php ( 3.83 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/common/model/Brand.php ( 0.82 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/common/model/SpecGoodsPrice.php ( 2.12 KB )
- /www/wwwroot/b2bdemo.tpsns.com/plugins/coreseek/sphinxapi.php ( 47.92 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/common/util/ChineseSpell.php ( 12.07 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Page.php ( 8.44 KB )
- /www/wwwroot/b2bdemo.tpsns.com/runtime/temp/b963886e08bc80223a6b7633c915abb3.php ( 69.61 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Cookie.php ( 7.80 KB )
- /www/wwwroot/b2bdemo.tpsns.com/application/common/logic/OssLogic.php ( 7.58 KB )
- /www/wwwroot/b2bdemo.tpsns.com/vendor/aliyun-oss-php-sdk/autoload.php ( 0.29 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/Response.php ( 8.66 KB )
- /www/wwwroot/b2bdemo.tpsns.com/thinkphp/library/think/debug/Html.php ( 4.27 KB )
- [ LANG ] /www/wwwroot/b2bdemo.tpsns.com/thinkphp/lang/zh-cn.php
- [ LANG ] /www/wwwroot/b2bdemo.tpsns.com/application/lang/zh-cn.php
- [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'Home',
1 => 'Goods',
2 => 'search',
),
)
- [ HEADER ] array (
'cookie' => 'PHPSESSID=6thv7fm7pl5ht8pf02sg5eiko6',
'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' => 'danshi.tpsns.com',
'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\Goods->search[ /www/wwwroot/b2bdemo.tpsns.com/application/home/controller/Goods.php ]
- [ VIEW ] ./template/pc/rainbow/goods/search.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 => 'default_search',
13 => 'filter_goods_id_str',
14 => 'goods_list',
15 => 'goods_images',
16 => 'filter_menu',
17 => 'filter_brand',
18 => 'filter_price',
19 => 'cateArr',
20 => 'filter_param',
21 => 'cat_id',
22 => 'q',
23 => 'page',
) ]
- [ DB ] CONNECT:[ UseTime:0.000718s ] mysql:host=127.0.0.1;port=3306;dbname=b2b;charset=utf8
- [ SQL ] SHOW COLUMNS FROM `tp_article` [ RunTime:0.001151s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 40 LIMIT 5 [ RunTime:0.000822s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 43 LIMIT 5 [ RunTime:0.000701s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 44 LIMIT 5 [ RunTime:0.000654s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 3 LIMIT 5 [ RunTime:0.000671s ]
- [ SQL ] SELECT * FROM `tp_article` WHERE `is_open` = 1 AND `cat_id` = 4 LIMIT 5 [ RunTime:0.000688s ]
- [ SQL ] SHOW COLUMNS FROM `tp_search_word` [ RunTime:0.001258s ]
- [ SQL ] SELECT * FROM `tp_search_word` WHERE `ip` = '18.225.95.155' [ RunTime:0.001069s ]
- [ SQL ] SELECT * FROM `tp_search_word` WHERE `ip` = '18.225.95.155' ORDER BY search_num desc LIMIT 0,5 [ RunTime:0.000966s ]
- [ SQL ] SHOW COLUMNS FROM `tp_brand` [ RunTime:0.001215s ]
- [ SQL ] SELECT `id` FROM `tp_brand` WHERE `name` = '' [ RunTime:0.000465s ]
- [ SQL ] SHOW COLUMNS FROM `tp_spec_goods_price` [ RunTime:0.001081s ]
- [ SQL ] SELECT `goods_id` FROM `tp_spec_goods_price` WHERE `key_name` LIKE '%:' [ RunTime:0.003338s ]
- [ SQL ] UPDATE `tp_search_word` SET `search_num`=`search_num`+1 WHERE `keywords` = '' [ RunTime:0.009617s ]
- [ SQL ] SHOW COLUMNS FROM `tp_goods` [ RunTime:0.001282s ]
- [ SQL ] SELECT COUNT(*) AS tp_count FROM `tp_goods` WHERE `goods_sn` = '' OR `goods_id` IN (311024,311025,311047,311127,311132,311134,311154,311160,311193,311199,311219,311237,311238) OR ( (`goods_name` LIKE '%%') OR (`keywords` LIKE '%%') ) AND `is_on_sale` = 1 AND `goods_state` = 1 LIMIT 1 [ RunTime:0.001841s ]
- [ SQL ] SELECT * FROM `tp_search_word` WHERE `keywords` = '' AND `ip` = '18.225.95.155' LIMIT 1 [ RunTime:0.001095s ]
- [ SQL ] INSERT INTO `tp_search_word` (`keywords` , `pinyin_full` , `pinyin_simple` , `search_num` , `goods_num` , `ip`) VALUES ('' , '' , '' , 1 , 95 , '18.225.95.155') [ RunTime:0.004777s ]
- [ SQL ] SHOW COLUMNS FROM `tp_goods_category` [ RunTime:0.001141s ]
- [ SQL ] SELECT * FROM `tp_goods_category` WHERE `id` IN (88,536,1619,1374,874,1315,1647,1650,1284,1546,1636,1651,1511,901,1654,1288,1646,1285,538) [ RunTime:0.000720s ]
- [ SQL ] SELECT `shop_price` FROM `tp_goods` WHERE ( is_on_sale = 1 and goods_id in (3000,3192,310969,310970,310972,310973,310978,310980,310984,310987,310988,311014,311018,311021,311022,311024,311025,311026,311033,311037,311047,311050,311058,311063,311076,311079,311084,311092,311093,311096,311104,311113,311118,311120,311126,311127,311132,311134,311136,311137,311138,311140,311141,311142,311143,311145,311146,311149,311153,311154,311155,311156,311157,311160,311163,311164,311165,311170,311171,311173,311174,311176,311179,311180,311183,311185,311188,311189,311190,311192,311193,311194,311195,311196,311197,311198,311199,311200,311201,311205,311212,311213,311214,311218,311219,311220,311222,311224,311226,311228,311229,311230,311234,311237,311238) ) [ RunTime:0.000949s ]
- [ SQL ] SELECT `brand_id` FROM `tp_goods` WHERE `brand_id` > 0 AND ( is_on_sale = 1 ) AND `goods_id` IN (3000,3192,310969,310970,310972,310973,310978,310980,310984,310987,310988,311014,311018,311021,311022,311024,311025,311026,311033,311037,311047,311050,311058,311063,311076,311079,311084,311092,311093,311096,311104,311113,311118,311120,311126,311127,311132,311134,311136,311137,311138,311140,311141,311142,311143,311145,311146,311149,311153,311154,311155,311156,311157,311160,311163,311164,311165,311170,311171,311173,311174,311176,311179,311180,311183,311185,311188,311189,311190,311192,311193,311194,311195,311196,311197,311198,311199,311200,311201,311205,311212,311213,311214,311218,311219,311220,311222,311224,311226,311228,311229,311230,311234,311237,311238) GROUP BY `brand_id` LIMIT 30 [ RunTime:0.001320s ]
- [ SQL ] SELECT * FROM `tp_brand` WHERE `id` IN (42,47,99,136,146,242,355,384,414,422) [ RunTime:0.000649s ]
- [ SQL ] SELECT `g`.*,`s`.`store_name` FROM `tp_goods` `g` INNER JOIN `tp_store` `s` ON `s`.`store_id`=`g`.`store_id` WHERE `is_on_sale` = 1 AND `goods_id` IN (3000,3192,310969,310970,310972,310973,310978,310980,310984,310987,310988,311014,311018,311021,311022,311024,311025,311026,311033,311037) ORDER BY `sort` desc [ RunTime:0.001308s ]
- [ SQL ] SHOW COLUMNS FROM `tp_goods_images` [ RunTime:0.001123s ]
- [ SQL ] SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (3192,310969,310970,310972,310973,310978,310980,310984,311014,311018,311021,311022,311024,311025,311026,311033,311037) [ RunTime:0.000806s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745916460 and end_time > 1745916460 and status = 1 and cat_id1 = 533 limit 2 [ RunTime:0.001159s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745916460 and end_time > 1745916460 and status = 1 and cat_id1 = 541 limit 2 [ RunTime:0.001067s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745916460 and end_time > 1745916460 and status = 1 and cat_id1 = 543 limit 2 [ RunTime:0.001086s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745916460 and end_time > 1745916460 and status = 1 and cat_id1 = 572 limit 2 [ RunTime:0.001015s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745916460 and end_time > 1745916460 and status = 1 and cat_id1 = 549 limit 2 [ RunTime:0.001052s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745916460 and end_time > 1745916460 and status = 1 and cat_id1 = 550 limit 2 [ RunTime:0.000999s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745916460 and end_time > 1745916460 and status = 1 and cat_id1 = 551 limit 2 [ RunTime:0.001063s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745916460 and end_time > 1745916460 and status = 1 and cat_id1 = 552 limit 2 [ RunTime:0.001018s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745916460 and end_time > 1745916460 and status = 1 and cat_id1 = 553 limit 2 [ RunTime:0.000991s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745916460 and end_time > 1745916460 and status = 1 and cat_id1 = 1639 limit 2 [ RunTime:0.000962s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745916460 and end_time > 1745916460 and status = 1 and cat_id1 = 1642 limit 2 [ RunTime:0.001009s ]
- [ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1745916460 and end_time > 1745916460 and status = 1 and cat_id1 = 1644 limit 2 [ RunTime:0.000988s ]
- [ SQL ] select g.*,s.store_name from `tp_goods` as g left join `tp_store` as s on s.store_id = g.store_id where g.is_hot = 1 and g.is_on_sale = 1 and g.goods_state = 1 and g.goods_id IN (3000,3192,310969,310970,310972,310973,310978,310980,310984,310987,310988,311014,311018,311021,311022,311024,311025,311026,311033,311037,311047,311050,311058,311063,311076,311079,311084,311092,311093,311096,311104,311113,311118,311120,311126,311127,311132,311134,311136,311137,311138,311140,311141,311142,311143,311145,311146,311149,311153,311154,311155,311156,311157,311160,311163,311164,311165,311170,311171,311173,311174,311176,311179,311180,311183,311185,311188,311189,311190,311192,311193,311194,311195,311196,311197,311198,311199,311200,311201,311205,311212,311213,311214,311218,311219,311220,311222,311224,311226,311228,311229,311230,311234,311237,311238) order by g.sort DESC limit 5 [ RunTime:0.001440s ]
- [ SQL ] select g.*,s.store_name from `tp_goods` as g left join `tp_store` as s on s.store_id = g.store_id where
g.is_on_sale = 1 and g.goods_state = 1 and g.goods_id IN (3000,3192,310969,310970,310972,310973,310978,310980,310984,310987,310988,311014,311018,311021,311022,311024,311025,311026,311033,311037,311047,311050,311058,311063,311076,311079,311084,311092,311093,311096,311104,311113,311118,311120,311126,311127,311132,311134,311136,311137,311138,311140,311141,311142,311143,311145,311146,311149,311153,311154,311155,311156,311157,311160,311163,311164,311165,311170,311171,311173,311174,311176,311179,311180,311183,311185,311188,311189,311190,311192,311193,311194,311195,311196,311197,311198,311199,311200,311201,311205,311212,311213,311214,311218,311219,311220,311222,311224,311226,311228,311229,311230,311234,311237,311238) order by g.sales_sum desc limit 5 [ RunTime:0.001430s ]
- [ SQL ] SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 3192 LIMIT 1 [ RunTime:0.000653s ]
- [ SQL ] SHOW COLUMNS FROM `tp_config` [ RunTime:0.001089s ]
- [ SQL ] SELECT `name`,`value` FROM `tp_config` WHERE `name` IN ('oss_key_id','oss_key_secret','oss_endpoint','oss_bucket') [ RunTime:0.000565s ]

0.155556s