SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.014246s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.032088s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.081467s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 15 LIMIT 1 [ RunTime:0.002709s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 13 ORDER BY `sort_order` DESC LIMIT 1 [ RunTime:0.015676s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.029574s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.015264s ]
SELECT `goods_id` FROM `tp_goods_attr` WHERE `attr_id` IN (29,37,26,30,36) AND `attr_value` IN ('套头','七分袖','A型','单件','KK1282') GROUP BY `goods_id` HAVING count(goods_id) > 4 [ RunTime:0.018436s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.005821s ]
SELECT `attr_id`,`attr_name` FROM `tp_goods_attribute` [ RunTime:0.002953s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.016715s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 295 [ RunTime:0.014434s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 295 AND `brand_id` > 0 [ RunTime:0.001944s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.005767s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.007053s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(295) [ RunTime:0.006567s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.015976s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.016332s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.004457s ]
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.005343s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 295 AND `attr_value` <> '' [ RunTime:0.003749s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.006251s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 295 ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.010692s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.019765s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.030456s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001856s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.004604s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1759132800 and end_time > 1759132800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.002678s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.002590s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.017587s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1759132800 and end_time > 1759132800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.003259s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.016427s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.050261s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1759132800 and end_time > 1759132800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.015262s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.016049s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.048297s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1759132800 and end_time > 1759132800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.028392s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.012790s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.022141s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1759132800 and end_time > 1759132800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.034615s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.016774s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.028420s ]
select goods_id,goods_name,shop_price from `tp_goods` where is_hot=1 and is_on_sale = 1 limit 5 [ RunTime:0.027384s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.036066s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.003666s ]