SHOW FULL COLUMNS FROM `tp_users` [ RunTime:0.001095s ]
SELECT * FROM `tp_users` WHERE `user_id` IS NULL LIMIT 1 [ RunTime:0.000486s ]
SHOW FULL COLUMNS FROM `tp_user_message` [ RunTime:0.000735s ]
SELECT COUNT(*) AS think_count FROM `tp_user_message` WHERE `user_id` IS NULL AND `is_see` = 0 AND `deleted` = 0 [ RunTime:0.000356s ]
SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000937s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000297s ]
SHOW FULL COLUMNS FROM `tp_search_word` [ RunTime:0.000714s ]
UPDATE `tp_search_word` SET `search_num` = `search_num` + 1 WHERE `keywords` = '扫描仪' [ RunTime:0.024267s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.009271s ]
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.057278s ]
SELECT * FROM `tp_search_word` WHERE `keywords` = '扫描仪' LIMIT 1 [ RunTime:0.005300s ]
UPDATE `tp_search_word` SET `goods_num` = 281 WHERE `id` = 998 [ RunTime:0.022775s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.002587s ]
SELECT * FROM `tp_goods_category` WHERE `name` LIKE '%扫描仪%' LIMIT 1 [ RunTime:0.002690s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.001510s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 988 [ RunTime:0.001309s ]
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 (988) and is_virtual <> 2 and is_on_sale =1 and is_show =1 ) [ RunTime:0.056443s ]
SELECT * FROM `tp_goods_category` WHERE `id` IN (988,970,1181) [ RunTime:0.001497s ]
SELECT `goods_id` FROM `tp_goods` WHERE `brand_id` = 5057 [ RunTime:0.001902s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.002177s ]
SELECT `id`,`name` FROM `tp_brand` [ RunTime:0.002856s ]
SELECT `zs_price` FROM `tp_goods` WHERE `goods_id` IN (33913,33914,33915,33916,33917,33918,33919) [ RunTime:0.001851s ]
SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` IN (33913,33914,33915,33916,33917,33918,33919) ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.007034s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.006632s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (33913,33914,33915,33916,33917,33918,33919) [ RunTime:0.004557s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.002634s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000901s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.001729s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.001700s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001199s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.001236s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001303s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.001270s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001065s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.001013s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001199s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.001107s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001837s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000553s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001049s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000279s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000228s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000247s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000226s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000267s ]
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 < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000237s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000219s ]
SELECT * FROM `tp_ad` WHERE ( pid=106 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000240s ]
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 < 1765533600 and end_time > 1765533600 ) 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.000218s ]
SELECT * FROM `tp_ad` WHERE ( pid=107 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000242s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000205s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000248s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000198s ]
SELECT * FROM `tp_ad` WHERE ( pid=108 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000264s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000224s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) 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.000215s ]
SELECT * FROM `tp_ad` WHERE ( pid=109 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000234s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000212s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000245s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000218s ]
SELECT * FROM `tp_ad` WHERE ( pid=110 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000232s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000203s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) 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.000214s ]
SELECT * FROM `tp_ad` WHERE ( pid=111 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000604s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.017222s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.010112s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.008474s ]
SELECT * FROM `tp_ad` WHERE ( pid=112 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.011794s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003312s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000822s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.003571s ]
SELECT * FROM `tp_ad` WHERE ( pid=113 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.001514s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001347s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.001104s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.005125s ]
SELECT * FROM `tp_ad` WHERE ( pid=114 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.005682s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.004493s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.002672s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.002005s ]
SELECT * FROM `tp_ad` WHERE ( pid=115 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.005506s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001111s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765533600 and end_time > 1765533600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.003904s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.002441s ]
select * from `tp_goods` where is_recommend = 1 and is_on_sale = 1 and is_show=1 limit 5 [ RunTime:0.050174s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 30992 LIMIT 1 [ RunTime:0.002054s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 33733 LIMIT 1 [ RunTime:0.003010s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 35044 LIMIT 1 [ RunTime:0.001438s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 36864 LIMIT 1 [ RunTime:0.002473s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 41230 LIMIT 1 [ RunTime:0.004289s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 33913 LIMIT 1 [ RunTime:0.001385s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 33914 LIMIT 1 [ RunTime:0.008088s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 33915 LIMIT 1 [ RunTime:0.011513s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 33916 LIMIT 1 [ RunTime:0.001465s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 33917 LIMIT 1 [ RunTime:0.002395s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 33918 LIMIT 1 [ RunTime:0.008374s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 33919 LIMIT 1 [ RunTime:0.001972s ]
select * from `tp_slogan` [ RunTime:0.000972s ]
select * from `tp_friend_link` where is_show=1 [ RunTime:0.001486s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.001214s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.001737s ]