SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000726s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.000583s ]
SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000663s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000354s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 593 LIMIT 1 [ RunTime:0.000414s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.000543s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000557s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 593 [ RunTime:0.000315s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000787s ]
SELECT `goods_id` FROM `tp_goods` WHERE ( shop_price >= 400 and shop_price <= 800 ) [ RunTime:0.000857s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` IN (335,336) AND `brand_id` > 0 [ RunTime:0.000375s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000546s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000295s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(335,336) [ RunTime:0.000382s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000517s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` IN (335,336) AND `attr_value` <> '' [ RunTime:0.000322s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000491s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000413s ]
SELECT * FROM `tp_goods` WHERE `goods_id` IN (335,336) ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.000628s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000570s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.000883s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.001254s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000801s ]
SELECT * FROM `tp_ad` WHERE ( pid=101 and enabled = 1 and start_time < 1737543600 and end_time > 1737543600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000514s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000321s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1737543600 and end_time > 1737543600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000390s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000337s ]
SELECT * FROM `tp_ad` WHERE ( pid=102 and enabled = 1 and start_time < 1737543600 and end_time > 1737543600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000359s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000316s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1737543600 and end_time > 1737543600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000347s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000314s ]
SELECT * FROM `tp_ad` WHERE ( pid=103 and enabled = 1 and start_time < 1737543600 and end_time > 1737543600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000369s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000303s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1737543600 and end_time > 1737543600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000342s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000344s ]
SELECT * FROM `tp_ad` WHERE ( pid=104 and enabled = 1 and start_time < 1737543600 and end_time > 1737543600 ) ORDER BY `orderby` DESC LIMIT 5 [ RunTime:0.000340s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000306s ]
SELECT * FROM `tp_ad` WHERE ( pid=51 and enabled = 1 and start_time < 1737543600 and end_time > 1737543600 ) ORDER BY `orderby` DESC LIMIT 1 [ RunTime:0.000362s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.000365s ]
select goods_id,goods_name,shop_price from `tp_goods` where is_hot=1 and is_on_sale = 1 limit 5 [ RunTime:0.000818s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 326 LIMIT 1 [ RunTime:0.000300s ]
select * from `tp_slogan` [ RunTime:0.000267s ]
select * from `tp_article_cat` where cat_id < 6 order by sort_order asc [ RunTime:0.001687s ]
select * from `tp_article` where cat_id = 1 and is_open=1 limit 5 [ RunTime:0.000420s ]
select * from `tp_article` where cat_id = 4 and is_open=1 limit 5 [ RunTime:0.000387s ]
select * from `tp_article` where cat_id = 2 and is_open=1 limit 5 [ RunTime:0.000347s ]
select * from `tp_article` where cat_id = 3 and is_open=1 limit 5 [ RunTime:0.000348s ]
select * from `tp_article` where cat_id = 5 and is_open=1 limit 5 [ RunTime:0.000353s ]
select * from `tp_friend_link` where is_show=1 [ RunTime:0.000289s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000363s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000370s ]