SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.009258s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.002985s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.008317s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.005489s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.011775s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.008479s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 12 LIMIT 1 [ RunTime:0.006225s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.006914s ]
SELECT `goods_id` FROM `tp_goods` WHERE ( shop_price >= 0 and shop_price <= 298 ) [ RunTime:0.011338s ]
select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ( key2 like '%\_1\_%' ) and ( key2 like '%\_7\_%' ) [ RunTime:0.006028s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.006230s ]
SELECT `id`,`name` FROM `tp_spec` [ RunTime:0.004043s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.009740s ]
SELECT `id`,`item` FROM `tp_spec_item` [ RunTime:0.004433s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (228,96) AND `brand_id` > 0 [ RunTime:0.010049s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.011692s ]
SELECT * FROM `tp_brand` WHERE `id` IN (12,3) LIMIT 30 [ RunTime:0.004998s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(228,96) [ RunTime:0.002852s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.006811s ]
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.007033s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.007497s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (228,96) AND `attr_value` <> '' [ RunTime:0.010082s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.011285s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.028930s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (228,96) ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.014573s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.019640s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (96,228) [ RunTime:0.018026s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.004128s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.017715s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.002418s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.015599s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1762333200 and end_time > 1762333200 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.026650s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.046247s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.002645s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1762333200 and end_time > 1762333200 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.002717s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.014825s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.017575s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1762333200 and end_time > 1762333200 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.025079s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.006516s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.006541s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1762333200 and end_time > 1762333200 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.012356s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.007108s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.009163s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1762333200 and end_time > 1762333200 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.018634s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003456s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.003578s ]
select goods_id,goods_name,shop_price from `tp_goods` where is_hot=1 and is_on_sale = 1 limit 5 [ RunTime:0.021600s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.040425s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.003750s ]