SHOW FULL COLUMNS FROM `tp_users` [ RunTime:0.001407s ]
SELECT * FROM `tp_users` WHERE `user_id` IS NULL LIMIT 1 [ RunTime:0.001484s ]
SHOW FULL COLUMNS FROM `tp_user_message` [ RunTime:0.001492s ]
SELECT COUNT(*) AS think_count FROM `tp_user_message` WHERE `user_id` IS NULL AND `is_see` = 0 AND `deleted` = 0 [ RunTime:0.008011s ]
SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000844s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000210s ]
SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000856s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 974 LIMIT 1 [ RunTime:0.000284s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 959 ORDER BY `sort_order` DESC LIMIT 1 [ RunTime:0.000292s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000587s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 974 [ RunTime:0.001023s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.001357s ]
SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `is_show` = 1 AND `exchange_integral` = 0 AND `cat_id` = 974 [ RunTime:0.000663s ]
SELECT `zs_price` FROM `tp_goods` WHERE `goods_id` IN (32509,32511,32513,32529,32530,32531,32535,32538,32541,32542,32544,32545,42787,42788,46104,47577,47584,50408,54812,54813,54814,54815,56765) [ RunTime:0.000657s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (32509,32511,32513,32529,32530,32531,32535,32538,32541,32542,32544,32545,42787,42788,46104,47577,47584,50408,54812,54813,54814,54815,56765) AND `brand_id` > 0 [ RunTime:0.000582s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000622s ]
SELECT * FROM `tp_brand` WHERE `id` IN (4853,4854,4826,5902,4454,7004) GROUP BY `name` LIMIT 30 [ RunTime:0.000272s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(32509,32511,32513,32529,32530,32531,32535,32538,32541,32542,32544,32545,42787,42788,46104,47577,47584,50408,54812,54813,54814,54815,56765) [ RunTime:0.000221s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000518s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (32509,32511,32513,32529,32530,32531,32535,32538,32541,32542,32544,32545,42787,42788,46104,47577,47584,50408,54812,54813,54814,54815,56765) AND `attr_value` <> '' [ RunTime:0.000584s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.002321s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.001053s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (32509,32511,32513,32529,32530,32531,32535,32538,32541,32542,32544,32545,42787,42788,46104,47577,47584,50408,54812,54813,54814,54815,56765) ORDER BY `sort` ASC LIMIT 20,20 [ RunTime:0.002066s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.002212s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (50408,32509,32511) [ RunTime:0.002738s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.002817s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.000624s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000219s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000676s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000235s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000225s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000252s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000210s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000286s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000202s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000271s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000206s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000220s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000188s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000233s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000268s ]
SELECT * FROM `tp_ad` WHERE ( pid=105 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000209s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000264s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000190s ]
SELECT * FROM `tp_ad` WHERE ( pid=106 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000196s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000216s ]
SELECT * FROM `tp_ad` WHERE ( pid=107 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000238s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000228s ]
SELECT * FROM `tp_ad` WHERE ( pid=108 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000284s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000198s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000266s ]
SELECT * FROM `tp_ad` WHERE ( pid=109 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000212s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000298s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000229s ]
SELECT * FROM `tp_ad` WHERE ( pid=110 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000209s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000312s ]
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 < 1765782000 and end_time > 1765782000 ) 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.000233s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000239s ]
SELECT * FROM `tp_ad` WHERE ( pid=112 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000225s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000255s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000241s ]
SELECT * FROM `tp_ad` WHERE ( pid=113 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000281s ]
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 < 1765782000 and end_time > 1765782000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000310s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000215s ]
SELECT * FROM `tp_ad` WHERE ( pid=114 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000230s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000230s ]
SELECT * FROM `tp_ad` WHERE ( pid=115 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) 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.000205s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1765782000 and end_time > 1765782000 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000249s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.000255s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 30958 LIMIT 1 [ RunTime:0.000226s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 30959 LIMIT 1 [ RunTime:0.000231s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 30960 LIMIT 1 [ RunTime:0.000205s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 30986 LIMIT 1 [ RunTime:0.000212s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 31136 LIMIT 1 [ RunTime:0.000236s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 50408 LIMIT 1 [ RunTime:0.000338s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 32509 LIMIT 1 [ RunTime:0.000305s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 32511 LIMIT 1 [ RunTime:0.001107s ]
select * from `tp_slogan` [ RunTime:0.000203s ]
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.000225s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000280s ]