SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000858s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000270s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.000612s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '华为' [ RunTime:0.007220s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000783s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` WHERE ( `goods_name` LIKE '%华为%' OR `keywords` LIKE '%华为%' ) AND `is_on_sale` = 1 [ RunTime:0.001489s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '华为' LIMIT 1 [ RunTime:0.000291s ]
UPDATE `tp_search_word` SET `goods_num` = 8 WHERE `id` = 21 [ RunTime:0.005247s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000537s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%华为%' LIMIT 1 [ RunTime:0.000419s ]
SELECT `goods_id`,`cat_id` FROM `tp_goods` WHERE ( `goods_name` LIKE '%华为%' OR `keywords` LIKE '%华为%' ) AND `is_on_sale` = 1 AND `is_virtual` <> 2 [ RunTime:0.001333s ]
SELECT * FROM `tp_goods_category` WHERE `id` IN (62,80,75,76,78) [ RunTime:0.000331s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` IN (13,16,34,59,65,145,258,272) [ RunTime:0.000340s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (13,16,34,59,65,145,258,272) AND `brand_id` > 0 [ RunTime:0.000336s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000578s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000275s ]
SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` IN (13,16,34,59,65,145,258,272) ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.000659s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000557s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (13,16,34,59,65,145,258,272) [ RunTime:0.000492s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.000589s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000294s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000570s ]
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.000352s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000261s ]
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.000322s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000310s ]
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.000306s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000246s ]
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.000335s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000299s ]
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.000303s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000251s ]
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.000295s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000279s ]
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.000467s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000274s ]
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.000367s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001172s ]
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.000330s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000269s ]
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.000316s ]
select * from `tp_goods` where is_recommend = 1 and is_on_sale = 1 limit 5 [ RunTime:0.000774s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 258 LIMIT 1 [ RunTime:0.000662s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000451s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000448s ]