SHOW FULL COLUMNS FROM `tp_goods_category` [ RunTime:0.000757s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.000699s ]
SHOW FULL COLUMNS FROM `tp_wx_user` [ RunTime:0.000729s ]
SELECT `qr` FROM `tp_wx_user` LIMIT 1 [ RunTime:0.000287s ]
SELECT * FROM `tp_goods_category` WHERE `id` = 12 LIMIT 1 [ RunTime:0.000435s ]
SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY `sort_order` [ RunTime:0.000530s ]
SELECT `id`,`parent_id` FROM `tp_goods_category` [ RunTime:0.000557s ]
SELECT `id` FROM `tp_goods_category` WHERE `parent_id` = 12 [ RunTime:0.000341s ]
SHOW FULL COLUMNS FROM `tp_goods` [ RunTime:0.000815s ]
SELECT `shop_price` FROM `tp_goods` WHERE `goods_id` = 326 [ RunTime:0.000333s ]
SELECT `brand_id` FROM `tp_goods` WHERE `goods_id` = 326 AND `brand_id` > 0 [ RunTime:0.000303s ]
SHOW FULL COLUMNS FROM `tp_brand` [ RunTime:0.000537s ]
SELECT * FROM `tp_brand` WHERE `id` IN ('') LIMIT 30 [ RunTime:0.000292s ]
select group_concat(`key` separator '_') as `key` from tp_spec_goods_price where goods_id in(326) [ RunTime:0.000387s ]
SHOW FULL COLUMNS FROM `tp_spec` [ RunTime:0.000563s ]
SELECT `id`,`name` FROM `tp_spec` WHERE `search_index` = 1 [ RunTime:0.000301s ]
SHOW FULL COLUMNS FROM `tp_spec_item` [ RunTime:0.000544s ]
SELECT `id`,`id`,`spec_id`,`item` FROM `tp_spec_item` WHERE `spec_id` IN (1,2,3,4,5,6,8,9,10,11,12,13,14,15,16,52,18,19,20,21,22,23,24,25,26,27,28,29,36,53,33,35,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,56,57) [ RunTime:0.000504s ]
SHOW FULL COLUMNS FROM `tp_goods_attr` [ RunTime:0.000524s ]
SELECT * FROM `tp_goods_attr` WHERE `goods_id` = 326 AND `attr_value` <> '' [ RunTime:0.000318s ]
SHOW FULL COLUMNS FROM `tp_goods_attribute` [ RunTime:0.000498s ]
SELECT `attr_id`,`attr_id`,`attr_name`,`attr_index` FROM `tp_goods_attribute` WHERE ( attr_index = 1 ) [ RunTime:0.000402s ]
SELECT * FROM `tp_goods` WHERE `goods_id` = 326 ORDER BY `sort` ASC LIMIT 0,20 [ RunTime:0.000477s ]
SHOW FULL COLUMNS FROM `tp_goods_images` [ RunTime:0.000595s ]
SELECT * FROM `tp_goods_images` WHERE `goods_id` = 326 [ RunTime:0.000289s ]
SELECT `id`,`id`,`name`,`parent_id`,`level` FROM `tp_goods_category` WHERE ( is_show=1 ) [ RunTime:0.000417s ]
SHOW FULL COLUMNS FROM `tp_ad_position` [ RunTime:0.000678s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000330s ]
SHOW FULL COLUMNS FROM `tp_ad` [ RunTime:0.000604s ]
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.000405s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000310s ]
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.000364s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000314s ]
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.000369s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000315s ]
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.000339s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000326s ]
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.000340s ]
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.000354s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000311s ]
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.000349s ]
SELECT `position_id`,`position_id`,`position_name`,`ad_width`,`ad_height` FROM `tp_ad_position` [ RunTime:0.000301s ]
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.000680s ]
SELECT * FROM `tp_navigation` where is_show = 1 and position = 'top' ORDER BY `sort` DESC [ RunTime:0.000403s ]
select goods_id,goods_name,shop_price from `tp_goods` where is_hot=1 and is_on_sale = 1 limit 5 [ RunTime:0.001017s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 326 LIMIT 1 [ RunTime:0.000367s ]
SELECT `original_img` FROM `tp_goods` WHERE `goods_id` = 326 LIMIT 1 [ RunTime:0.000358s ]
select * from `tp_slogan` [ RunTime:0.000357s ]
select * from `tp_article_cat` where cat_id < 6 order by sort_order asc [ RunTime:0.000484s ]
select * from `tp_article` where cat_id = 1 and is_open=1 limit 5 [ RunTime:0.000467s ]
select * from `tp_article` where cat_id = 4 and is_open=1 limit 5 [ RunTime:0.000438s ]
select * from `tp_article` where cat_id = 2 and is_open=1 limit 5 [ RunTime:0.000418s ]
select * from `tp_article` where cat_id = 3 and is_open=1 limit 5 [ RunTime:0.000423s ]
select * from `tp_article` where cat_id = 5 and is_open=1 limit 5 [ RunTime:0.000419s ]
select * from `tp_friend_link` where is_show=1 [ RunTime:0.000425s ]
SELECT * FROM `tp_navigation` where is_show = 1 AND position = 'bottom' ORDER BY `sort` DESC [ RunTime:0.000379s ]
select * from `tp_article` where cat_id = 5 and is_open=1 [ RunTime:0.000421s ]