SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000869s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000240s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000727s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.000228s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.000704s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.000640s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '冰箱' [ RunTime:0.006034s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` WHERE ( `goods_name` LIKE '%冰箱%' OR `keywords` LIKE '%冰箱%' ) AND `is_on_sale` = 1 [ RunTime:0.001446s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '冰箱' LIMIT 1 [ RunTime:0.000288s ]
UPDATE `tp_search_word` SET `goods_num` = 1 WHERE `id` = 26 [ RunTime:0.009531s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000580s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%冰箱%' LIMIT 1 [ RunTime:0.000419s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000352s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 378 [ RunTime:0.000297s ]
SELECT `goods_id`,`cat_id` FROM `tp_goods` WHERE ( `goods_name` LIKE '%冰箱%' OR `keywords` LIKE '%冰箱%' ) AND `is_on_sale` = 1 AND `is_virtual` <> 2 OR ( cat_id in (378,379,380,381,382,383) and is_virtual <> 2 and is_on_sale =1 ) [ RunTime:0.001451s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 381 [ RunTime:0.000233s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 206 [ RunTime:0.000221s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 206 AND `brand_id` > 0 [ RunTime:0.000300s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000584s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000244s ]
SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` = 206 ORDER BY `comment_count` ASC LIMIT 0,20 [ RunTime:0.000365s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000564s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 206 [ RunTime:0.000343s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.000553s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000215s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000548s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000396s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000255s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000305s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000286s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000275s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000260s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000281s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000274s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000273s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000254s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000278s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000264s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000292s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000238s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000294s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000277s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000277s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000249s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1787817600 and end_time > 1787817600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000321s ]
select * from `tp_goods` where is_recommend = 1 and is_on_sale = 1 limit 5 [ RunTime:0.000698s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000421s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000331s ]