SHOW FULL COLUMNS FROM `tp_users` [ RunTime:0.006771s ]
SELECT * FROM `tp_users` WHERE `user_id` IS NULL LIMIT 1 [ RunTime:0.002303s ]
SHOW FULL COLUMNS FROM `tp_user_message` [ RunTime:0.000603s ]
SELECT COUNT(*) AS think_count FROM `tp_user_message` WHERE `user_id` IS NULL AND `is_see` = 0 AND `deleted` = 0 [ RunTime:0.000258s ]
SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.003879s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000865s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.000617s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '打印机' [ RunTime:0.005245s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000972s ]
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.044194s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '打印机' LIMIT 1 [ RunTime:0.001075s ]
UPDATE `tp_search_word` SET `goods_num` = 321 WHERE `id` = 1004 [ RunTime:0.014470s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.011267s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%打印机%' LIMIT 1 [ RunTime:0.008511s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.009956s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 980 [ RunTime:0.004042s ]
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.076837s ]
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.001315s ]
SELECT `goods_id` FROM `tp_goods` WHERE `brand_id` = 4556 [ RunTime:0.006241s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.006836s ]
SELECT `id`,`name` FROM `tp_brand` [ RunTime:0.003697s ]
SELECT `zs_price` FROM `tp_goods` WHERE `goods_id` = 42905 [ RunTime:0.000532s ]
SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` = 42905 ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.005931s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.007731s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 42905 [ RunTime:0.008027s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.000559s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000203s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000579s ]
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.000238s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000236s ]
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.000267s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000744s ]
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.000996s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000980s ]
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.011250s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.006474s ]
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.012809s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001287s ]
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.001247s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000960s ]
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.001304s ]
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.000241s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000228s ]
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.000296s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000218s ]
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.000235s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000246s ]
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.000251s ]
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.000240s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000246s ]
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.000268s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000209s ]
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.000236s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000233s ]
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.000220s ]
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.000246s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000203s ]
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.000263s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000222s ]
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.000242s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000243s ]
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.000229s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000218s ]
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.000251s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000209s ]
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.000244s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000226s ]
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.000234s ]
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.000277s ]
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.000246s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000347s ]
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.000270s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000233s ]
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.000269s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000217s ]
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.000288s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000231s ]
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.000246s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000223s ]
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.000230s ]
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.000253s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.000239s ]
select * from `tp_goods` where is_recommend = 1 and is_on_sale = 1 and is_show=1 limit 5 [ RunTime:0.028644s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 30992 LIMIT 1 [ RunTime:0.000247s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 33733 LIMIT 1 [ RunTime:0.000220s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 35044 LIMIT 1 [ RunTime:0.000239s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 36864 LIMIT 1 [ RunTime:0.000197s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 41230 LIMIT 1 [ RunTime:0.000186s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 42905 LIMIT 1 [ RunTime:0.000330s ]
select * from `tp_slogan` [ RunTime:0.000228s ]
select * from `tp_friend_link` where is_show=1 [ RunTime:0.000219s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000208s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000243s ]