SHOW FULL COLUMNS FROM `tp_users` [ RunTime:0.000680s ]
SELECT * FROM `tp_users` WHERE `user_id` IS NULL LIMIT 1 [ RunTime:0.000294s ]
SHOW FULL COLUMNS FROM `tp_user_message` [ RunTime:0.000338s ]
SELECT COUNT(*) AS think_count FROM `tp_user_message` WHERE `user_id` IS NULL AND `is_see` = 0 AND `deleted` = 0 [ RunTime:0.000145s ]
SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000459s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000118s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.000523s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '打印机' [ RunTime:0.004236s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000569s ]
SELECT COUNT(*) AS think_count FROM `tp_goods` WHERE ( `goods_sn` LIKE '%打印机%' OR `goods_name` LIKE '%打印机%' OR `keywords` LIKE '%打印机%' ) AND `is_on_sale` = 1 AND `is_show` = 1 [ RunTime:0.025330s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '打印机' LIMIT 1 [ RunTime:0.000591s ]
UPDATE `tp_search_word` SET `goods_num` = 321 WHERE `id` = 1004 [ RunTime:0.003195s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000372s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%打印机%' LIMIT 1 [ RunTime:0.000165s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000347s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 980 [ RunTime:0.000173s ]
SELECT `goods_id`,`cat_id` FROM `tp_goods` WHERE ( `goods_sn` LIKE '%打印机%' OR `goods_name` LIKE '%打印机%' OR `keywords` LIKE '%打印机%' ) AND `is_on_sale` = 1 AND `is_show` = 1 AND `is_virtual` <> 2 OR ( cat_id in (980) and is_virtual <> 2 and is_on_sale =1 and is_show =1 ) [ RunTime:0.044885s ]
SELECT * FROM `tp_goods_category` WHERE `id` IN (1002,978,977,970,1204,1129,1135,1134,1131,1132,1749,1133,980,1203,979,995,1017,1234) [ RunTime:0.000375s ]
SELECT `goods_id` FROM `tp_goods` WHERE `brand_id` = 6371 [ RunTime:0.000401s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000597s ]
SELECT `id`,`name` FROM `tp_brand` [ RunTime:0.001426s ]
SELECT `zs_price` FROM `tp_goods` WHERE `goods_id` IN (35844,35845,35846) [ RunTime:0.001833s ]
SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` IN (35844,35845,35846) ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.000708s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000560s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (35844,35845,35846) [ RunTime:0.000416s ]
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.000227s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000722s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000294s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000223s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000280s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000266s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000258s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000204s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000222s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000216s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000239s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000184s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000243s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000223s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000258s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000195s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000285s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000230s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000252s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000267s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000272s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000227s ]
SELECT * FROM `tp_ad` WHERE ( pid=106 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000259s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000216s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000244s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000197s ]
SELECT * FROM `tp_ad` WHERE ( pid=107 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000220s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000208s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000217s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000268s ]
SELECT * FROM `tp_ad` WHERE ( pid=108 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000247s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000232s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000228s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.012842s ]
SELECT * FROM `tp_ad` WHERE ( pid=109 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.003721s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003871s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.003709s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003810s ]
SELECT * FROM `tp_ad` WHERE ( pid=110 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.003813s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000223s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) 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.000229s ]
SELECT * FROM `tp_ad` WHERE ( pid=111 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000274s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000230s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000257s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000227s ]
SELECT * FROM `tp_ad` WHERE ( pid=112 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000272s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000213s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000265s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000328s ]
SELECT * FROM `tp_ad` WHERE ( pid=113 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) 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.000248s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000260s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000253s ]
SELECT * FROM `tp_ad` WHERE ( pid=114 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) 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.000223s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000266s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000230s ]
SELECT * FROM `tp_ad` WHERE ( pid=115 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000286s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000235s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765785600 and end_time > 1765785600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000262s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.000235s ]
select * from `tp_goods` where is_recommend = 1 and is_on_sale = 1 and is_show=1 limit 5 [ RunTime:0.030417s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 30992 LIMIT 1 [ RunTime:0.000940s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 33733 LIMIT 1 [ RunTime:0.000693s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 35044 LIMIT 1 [ RunTime:0.000627s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 36864 LIMIT 1 [ RunTime:0.000687s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 41230 LIMIT 1 [ RunTime:0.000590s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 35844 LIMIT 1 [ RunTime:0.000820s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 35845 LIMIT 1 [ RunTime:0.001522s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 35846 LIMIT 1 [ RunTime:0.000799s ]
select * from `tp_slogan` [ RunTime:0.000517s ]
select * from `tp_friend_link` where is_show=1 [ RunTime:0.000724s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.003702s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000754s ]