SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.060185s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.012536s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.045103s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 30 LIMIT 1 [ RunTime:0.021244s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.028732s ]
select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ( key2 like '%\_53\_%' ) [ RunTime:0.037463s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.017489s ]
SELECT `goods_id` FROM `tp_goods_attr` WHERE `attr_id` IN (25,39) AND `attr_value` IN ('九分裤','加厚') GROUP BY `goods_id` HAVING count(goods_id) > 1 [ RunTime:0.025775s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.004175s ]
SELECT `id`,`name` FROM `tp_spec` [ RunTime:0.020449s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.005451s ]
SELECT `id`,`item` FROM `tp_spec_item` [ RunTime:0.028883s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.014388s ]
SELECT `attr_id`,`attr_name` FROM `tp_goods_attribute` [ RunTime:0.003350s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.024201s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 301 [ RunTime:0.053320s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 301 AND `brand_id` > 0 [ RunTime:0.002523s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.004882s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.013355s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(301) [ RunTime:0.003384s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.044260s ]
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.004107s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 301 AND `attr_value` <> '' [ RunTime:0.013446s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.048220s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 301 ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.009482s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.002487s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.023367s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.005391s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.008889s ]
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.003044s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.004531s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.031641s ]
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.003164s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.038316s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.022391s ]
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.013953s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.012709s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.054197s ]
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.002872s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.005173s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.039386s ]
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.005709s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.019585s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.023894s ]
select goods_id,goods_name,shop_price from `tp_goods` where is_hot=1 and is_on_sale = 1 limit 5 [ RunTime:0.003383s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 301 LIMIT 1 [ RunTime:0.021482s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.025228s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.039893s ]