SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.002840s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.001071s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.093388s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 30 LIMIT 1 [ RunTime:0.008945s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.040633s ]
select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ( key2 like '%\_107\_%' ) [ RunTime:0.032449s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.003368s ]
SELECT `goods_id` FROM `tp_goods_attr` WHERE `attr_id` IN (17,57) AND `attr_value` IN ('FOUNDHOME','FHP182001X-1D') GROUP BY `goods_id` HAVING count(goods_id) > 1 [ RunTime:0.004460s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.023846s ]
SELECT `id`,`name` FROM `tp_spec` [ RunTime:0.001682s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.003166s ]
SELECT `id`,`item` FROM `tp_spec_item` [ RunTime:0.000843s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.004148s ]
SELECT `attr_id`,`attr_name` FROM `tp_goods_attribute` [ RunTime:0.027194s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.006874s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 298 [ RunTime:0.020783s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 298 AND `brand_id` > 0 [ RunTime:0.037451s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.002830s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.007391s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(298) [ RunTime:0.044234s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.006396s ]
SELECT `id`,`id`,`spec_id`,`item` FROM `tp_spec_item` WHERE `spec_id` IN (1,2,3,4,5,6,8,9,10,11,12,13,14,15,16,52,18,19,20,21,22,23,24,25,26,27,28,29,36,53,33,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,56,57) [ RunTime:0.001377s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 298 AND `attr_value` <> '' [ RunTime:0.008210s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.004221s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 298 ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.017161s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.001736s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.054757s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.022667s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.009552s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1759122000 and end_time > 1759122000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.004070s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.021363s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.044412s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1759122000 and end_time > 1759122000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.005354s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.014586s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.025244s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1759122000 and end_time > 1759122000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.009689s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.015456s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.026843s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1759122000 and end_time > 1759122000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.008217s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.004806s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.047517s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1759122000 and end_time > 1759122000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.005067s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.008572s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.013549s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.081274s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.009693s ]