SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.002666s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.001317s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.004893s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.000874s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.001194s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.010867s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 30 LIMIT 1 [ RunTime:0.000260s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.001517s ]
select * from (select *,concat('_',`key`,'_') as key2 from tp_spec_goods_price as a) b where 1=1 and ( key2 like '%\_91\_%' ) [ RunTime:0.001020s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.006926s ]
SELECT `goods_id` FROM `tp_goods_attr` WHERE `attr_id` IN (48,47) AND `attr_value` IN ('中国大陆','other') GROUP BY `goods_id` HAVING count(goods_id) > 1 [ RunTime:0.004141s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.012491s ]
SELECT `id`,`name` FROM `tp_spec` [ RunTime:0.000232s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000794s ]
SELECT `id`,`item` FROM `tp_spec_item` [ RunTime:0.000816s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.001293s ]
SELECT `attr_id`,`attr_name` FROM `tp_goods_attribute` [ RunTime:0.000290s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 0 [ RunTime:0.002641s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN ('') AND `brand_id` > 0 [ RunTime:0.000212s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000460s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000236s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(0) [ RunTime:0.000441s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 0 AND `attr_value` <> '' [ RunTime:0.000232s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000311s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000785s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.036918s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000694s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.001579s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1787814000 and end_time > 1787814000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.001094s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000285s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787814000 and end_time > 1787814000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.002204s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.012199s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1787814000 and end_time > 1787814000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000299s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000292s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787814000 and end_time > 1787814000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.003001s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000710s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1787814000 and end_time > 1787814000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.002124s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000275s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787814000 and end_time > 1787814000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.012009s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003685s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1787814000 and end_time > 1787814000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000325s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001138s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787814000 and end_time > 1787814000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.001444s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.007423s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1787814000 and end_time > 1787814000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000956s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000638s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787814000 and end_time > 1787814000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.001192s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.007266s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.004826s ]