SELECT UPPER(`type`) AS `type`, UPPER(`name`) AS `name`, `expire` FROM sys_cache_expires [ RunTime:0.003731s ]
select id,url_name from article where url_name !='' [ RunTime:0.004456s ]
select id,url_name from article where url_name !='' [ RunTime:0.003434s ]
select * from sys_pc_pages where flag='foot_help' [ RunTime:0.003518s ]
select id,title from article where cat_id=4 and is_open=1 limit 0,7 [ RunTime:0.003505s ]
select id,url_name from article where id='6' [ RunTime:0.003363s ]
select * from article_cat where id='4' [ RunTime:0.003312s ]
select id,title from article where cat_id=7 and is_open=1 limit 0,7 [ RunTime:0.003345s ]
select id,url_name from article where id='8' [ RunTime:0.003362s ]
select id,url_name from article where id='11' [ RunTime:0.003422s ]
select * from article_cat where id='7' [ RunTime:0.003466s ]
select id,title from article where cat_id=5 and is_open=1 limit 0,7 [ RunTime:0.003493s ]
select id,url_name from article where id='13' [ RunTime:0.003391s ]
select id,url_name from article where id='15' [ RunTime:0.003285s ]
select id,url_name from article where id='17' [ RunTime:0.003324s ]
select * from article_cat where id='5' [ RunTime:0.003408s ]
select * from friend_link order by sort_order desc limit 0,5 [ RunTime:0.003431s ]
select * from sys_pc_pages where flag='header_nav' [ RunTime:0.003419s ]
select * from cat where parent_id='1' order by sort_order asc [ RunTime:0.003381s ]
select * from cat where parent_id='2' order by sort_order asc [ RunTime:0.003347s ]
select * from cat where parent_id='3' order by sort_order asc [ RunTime:0.003453s ]
select * from cat where parent_id='2' order by sort_order asc [ RunTime:0.003391s ]
select * from cat where parent_id='3' order by sort_order asc [ RunTime:0.003338s ]
select * from cat where parent_id='4' order by sort_order asc [ RunTime:0.003395s ]
select * from cat where parent_id='3' order by sort_order asc [ RunTime:0.003345s ]
select * from cat where parent_id='4' order by sort_order asc [ RunTime:0.003368s ]
SELECT c.id, c.cat_name, COUNT(g.id) AS goods_count
FROM goods g left join cat c on g.cat_id=c.id WHERE g.brand_id = '4' and g.is_delete = 0 and g.is_on_sale = 1 GROUP BY g.cat_id [ RunTime:0.003557s ]
SELECT count(*) FROM cat WHERE parent_id = '4' AND is_show = 1 [ RunTime:0.003395s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '4' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003676s ]
SELECT goods_id FROM goods_cat AS g WHERE g.cat_id IN ('4') [ RunTime:0.003534s ]
SELECT count(*) as total_num FROM goods AS g WHERE g.is_on_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('4') OR g.id IN ('') ) AND g.brand_id IN ('4') [ RunTime:0.003572s ]
SELECT g.id as goods_id, g.goods_name, g.market_price, g.is_new, g.is_best, g.is_hot, g.shop_price AS shop_price, g.promote_start_date, g.promote_end_date, g.goods_brief, g.goods_thumb , g.goods_img,g.brand_id,b.name as brand_name FROM goods AS g left join brand b on g.brand_id=b.id WHERE g.is_on_sale = 1 AND g.is_delete = 0 AND (g.cat_id IN ('4') OR g.id IN ('') ) AND g.brand_id IN ('4') ORDER BY g.id desc limit 0, 24 [ RunTime:0.003721s ]
select sum(num) as num from goods_buy_log where goods_id='27' [ RunTime:0.003410s ]
select * from shop_config where code='currency_format' [ RunTime:0.003423s ]
select * from shop_config where code='currency_format' [ RunTime:0.003369s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 27 and is_main=1 [ RunTime:0.003363s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 27 and is_main2=1 [ RunTime:0.003363s ]
select * from brand where id='4' [ RunTime:0.003370s ]