SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.020921s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.003179s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.040511s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 303 LIMIT 1 [ RunTime:0.003725s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 49 ORDER BY `sort_order` DESC LIMIT 1 [ RunTime:0.028825s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.014578s ]
select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ( key2 like '%\_106\_%' ) [ RunTime:0.010670s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.004781s ]
SELECT `goods_id` FROM `tp_goods_attr` WHERE `attr_id` IN (70,18) AND `attr_value` IN ('招财','玄关电视柜酒鬼书房书柜') GROUP BY `goods_id` HAVING count(goods_id) > 1 [ RunTime:0.006612s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.002826s ]
SELECT `id`,`name` FROM `tp_spec` [ RunTime:0.002094s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.007008s ]
SELECT `id`,`item` FROM `tp_spec_item` [ RunTime:0.022159s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.007338s ]
SELECT `attr_id`,`attr_name` FROM `tp_goods_attribute` [ RunTime:0.003452s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.004616s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 302 [ RunTime:0.002537s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 302 AND `brand_id` > 0 [ RunTime:0.003039s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.006986s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.005845s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(302) [ RunTime:0.005918s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.007023s ]
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.020158s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 302 AND `attr_value` <> '' [ RunTime:0.005194s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.002882s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 302 ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.012406s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.004582s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.305310s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001912s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.003574s ]
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.002081s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.002699s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.002871s ]
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.002879s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.010662s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.061540s ]
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.011726s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001835s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.041007s ]
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.007687s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003235s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.062428s ]
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.014771s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.015077s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.002502s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.004069s ]