SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.002557s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000900s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.002441s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 53 LIMIT 1 [ RunTime:0.001316s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.022910s ]
select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ( key2 like '%\_116\_%' ) [ RunTime:0.002423s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.002183s ]
SELECT `goods_id` FROM `tp_goods_attr` WHERE `attr_id` IN (93,98) AND `attr_value` IN ('36dB以下','交流电') GROUP BY `goods_id` HAVING count(goods_id) > 1 [ RunTime:0.023254s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.002028s ]
SELECT `id`,`name` FROM `tp_spec` [ RunTime:0.000845s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.002828s ]
SELECT `id`,`item` FROM `tp_spec_item` [ RunTime:0.003571s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.002061s ]
SELECT `attr_id`,`attr_name` FROM `tp_goods_attribute` [ RunTime:0.003562s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.022804s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 307 [ RunTime:0.001165s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 307 AND `brand_id` > 0 [ RunTime:0.000894s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.002440s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.001067s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(307) [ RunTime:0.001534s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.013111s ]
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.001513s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 307 AND `attr_value` <> '' [ RunTime:0.004044s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.011240s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 307 ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.013275s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.001864s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.047923s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.002577s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.004270s ]
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.012906s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001102s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001075s ]
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.013654s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.004041s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.036543s ]
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.001791s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.012897s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.051809s ]
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.007849s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.020880s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.047051s ]
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.000920s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000926s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.004162s ]
select goods_id,goods_name,shop_price from `tp_goods` where is_hot=1 and is_on_sale = 1 limit 5 [ RunTime:0.036018s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.012891s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.022974s ]