SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.002257s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000170s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.011563s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 495 LIMIT 1 [ RunTime:0.000232s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.012176s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 495 [ RunTime:0.004595s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000575s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `exchange_integral` = 0 AND `cat_id` IN (495,499,500,498,501,502,503,504,505,506,507,508,509,510,511,512) [ RunTime:0.001099s ]
SELECT `goods_id` FROM `tp_goods` WHERE `brand_id` = 14 [ RunTime:0.000749s ]
SELECT `goods_id` FROM `tp_goods` WHERE ( shop_price >= 2160 and shop_price <= 2700 ) [ RunTime:0.000935s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000938s ]
SELECT `id`,`name` FROM `tp_brand` [ RunTime:0.000338s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(120) [ RunTime:0.000873s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000370s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 120 AND `attr_value` <> '' [ RunTime:0.002528s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000382s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000839s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 120 ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.002796s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000385s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 120 [ RunTime:0.010800s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000431s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.029777s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000180s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.001095s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1777338000 and end_time > 1777338000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000243s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000516s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1777338000 and end_time > 1777338000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.006270s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.006789s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1777338000 and end_time > 1777338000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000230s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000197s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1777338000 and end_time > 1777338000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000263s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.009643s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1777338000 and end_time > 1777338000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.009757s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000207s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1777338000 and end_time > 1777338000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000236s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.009072s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1777338000 and end_time > 1777338000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000257s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000200s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1777338000 and end_time > 1777338000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.002468s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003719s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1777338000 and end_time > 1777338000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.002634s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000215s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1777338000 and end_time > 1777338000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000260s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.016727s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.004039s ]