SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000975s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000294s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.001207s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` [ RunTime:0.000304s ]
SELECT * FROM `tp_goods` WHERE ( goods_name like '%TPshop%' and is_on_sale = 1 ) LIMIT 1 [ RunTime:0.000787s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.001643s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '冰箱' [ RunTime:0.032473s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` WHERE ( `goods_name` LIKE '%冰箱%' OR `keywords` LIKE '%冰箱%' ) AND `is_on_sale` = 1 [ RunTime:0.001569s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '冰箱' LIMIT 1 [ RunTime:0.000342s ]
UPDATE `tp_search_word` SET `goods_num` = 1 WHERE `id` = 26 [ RunTime:0.025676s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000853s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%冰箱%' LIMIT 1 [ RunTime:0.000567s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000697s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 378 [ RunTime:0.000578s ]
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.001283s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 381 [ RunTime:0.000325s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 206 [ RunTime:0.000290s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 206 AND `brand_id` > 0 [ RunTime:0.000307s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000677s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000245s ]
SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` = 206 ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.000726s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000677s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 206 [ RunTime:0.002567s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.000941s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000349s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000673s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000415s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000345s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000364s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000559s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000425s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000316s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000342s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000493s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000658s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001483s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000399s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000625s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000388s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000298s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000387s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000601s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000383s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000395s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1772866800 and end_time > 1772866800 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000366s ]
select * from `tp_goods` where is_recommend = 1 and is_on_sale = 1 limit 5 [ RunTime:0.001701s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000631s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.008264s ]