SELECT UPPER(`type`) AS `type`, UPPER(`name`) AS `name`, `expire` FROM sys_cache_expires [ RunTime:0.003596s ]
select id,url_name from article where url_name !='' [ RunTime:0.003341s ]
select id,url_name from article where url_name !='' [ RunTime:0.003293s ]
select * from sys_pc_pages where flag='foot_help' [ RunTime:0.003420s ]
select id,title from article where cat_id=4 and is_open=1 limit 0,7 [ RunTime:0.003366s ]
select id,url_name from article where id='6' [ RunTime:0.003370s ]
select * from article_cat where id='4' [ RunTime:0.003330s ]
select id,title from article where cat_id=7 and is_open=1 limit 0,7 [ RunTime:0.003332s ]
select id,url_name from article where id='8' [ RunTime:0.003377s ]
select id,url_name from article where id='11' [ RunTime:0.003259s ]
select * from article_cat where id='7' [ RunTime:0.003318s ]
select id,title from article where cat_id=5 and is_open=1 limit 0,7 [ RunTime:0.003374s ]
select id,url_name from article where id='13' [ RunTime:0.003231s ]
select id,url_name from article where id='15' [ RunTime:0.003243s ]
select id,url_name from article where id='17' [ RunTime:0.003212s ]
select * from article_cat where id='5' [ RunTime:0.003219s ]
select * from friend_link order by sort_order desc limit 0,5 [ RunTime:0.003325s ]
select * from sys_pc_pages where flag='header_nav' [ RunTime:0.003344s ]
select * from cat where parent_id='1' order by sort_order asc [ RunTime:0.003343s ]
select * from cat where parent_id='2' order by sort_order asc [ RunTime:0.003321s ]
select * from cat where parent_id='3' order by sort_order asc [ RunTime:0.003276s ]
select * from cat where parent_id='2' order by sort_order asc [ RunTime:0.003255s ]
select * from cat where parent_id='3' order by sort_order asc [ RunTime:0.003274s ]
select * from cat where parent_id='4' order by sort_order asc [ RunTime:0.003239s ]
select * from cat where parent_id='3' order by sort_order asc [ RunTime:0.003270s ]
select * from cat where parent_id='4' order by sort_order asc [ RunTime:0.003304s ]
SELECT count(*) FROM cat WHERE parent_id = '1' AND is_show = 1 [ RunTime:0.003323s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '1' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003293s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '2' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003222s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '3' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003238s ]
SELECT count(*) FROM cat WHERE parent_id = '3' AND is_show = 1 [ RunTime:0.003214s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '3' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003227s ]
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.003267s ]
SELECT count(*) FROM cat WHERE parent_id = '4' AND is_show = 1 [ RunTime:0.003265s ]
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.003343s ]
select b.* from goods as g left join brand b on g.brand_id=b.id where g.cat_id IN ('1','2','3','4') and b.id >0 group by b.id [ RunTime:0.003639s ]
SELECT id, cat_name, parent_id FROM cat [ RunTime:0.003268s ]
SELECT * FROM cat WHERE id='1' LIMIT 1 [ RunTime:0.003256s ]
select pic,parent_id from cat where id='1' [ RunTime:0.003206s ]
select pic,parent_id from cat where id='0' [ RunTime:0.003164s ]
select pic,parent_id from cat where id='' [ RunTime:0.003182s ]
select pic,parent_id from cat where id='' [ RunTime:0.003194s ]
SELECT count(*) FROM cat WHERE parent_id = '0' [ RunTime:0.003299s ]
SELECT id,cat_name ,parent_id,is_show FROM cat WHERE parent_id = '0' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003229s ]
SELECT count(*) FROM cat WHERE parent_id = '1' AND is_show = 1 [ RunTime:0.003259s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '1' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003224s ]
SELECT count(*) FROM cat WHERE parent_id = '2' AND is_show = 1 [ RunTime:0.003234s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '2' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003186s ]
SELECT count(*) FROM cat WHERE parent_id = '3' AND is_show = 1 [ RunTime:0.003198s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '3' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003260s ]
SELECT count(*) FROM cat WHERE parent_id = '4' AND is_show = 1 [ RunTime:0.003283s ]
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.003266s ]
SELECT count(*) FROM cat WHERE parent_id = '1' [ RunTime:0.003238s ]
SELECT id,cat_name ,parent_id,is_show FROM cat WHERE parent_id = '1' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003231s ]
SELECT count(*) FROM cat WHERE parent_id = '2' AND is_show = 1 [ RunTime:0.003183s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '2' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003207s ]
SELECT count(*) FROM cat WHERE parent_id = '3' AND is_show = 1 [ RunTime:0.003218s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '3' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003241s ]
SELECT count(*) FROM cat WHERE parent_id = '4' AND is_show = 1 [ RunTime:0.003228s ]
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.003166s ]
SELECT count(*) FROM cat WHERE parent_id = '1' AND is_show = 1 [ RunTime:0.003249s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '1' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003218s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '2' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003229s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '3' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003280s ]
SELECT count(*) FROM cat WHERE parent_id = '3' AND is_show = 1 [ RunTime:0.003196s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '3' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003264s ]
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.003212s ]
SELECT count(*) FROM cat WHERE parent_id = '4' AND is_show = 1 [ RunTime:0.003218s ]
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.003203s ]
SELECT a.attr_id,attr_value,attr.attr_name FROM goods_attr as a left join goods g on a.goods_id = g.id left join attr on a.attr_id=attr.id where g.cat_id IN ('1','2','3','4') and attr.is_linked=1 GROUP BY a.attr_id,a.attr_value [ RunTime:0.003706s ]
SELECT count(*) FROM cat WHERE parent_id = '1' AND is_show = 1 [ RunTime:0.003220s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '1' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003237s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '2' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003277s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '3' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003254s ]
SELECT count(*) FROM cat WHERE parent_id = '3' AND is_show = 1 [ RunTime:0.003178s ]
SELECT id, cat_name, parent_id, is_show FROM cat WHERE parent_id = '3' AND is_show = 1 ORDER BY sort_order ASC, id ASC [ RunTime:0.003232s ]
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.003245s ]
SELECT count(*) FROM cat WHERE parent_id = '4' AND is_show = 1 [ RunTime:0.003211s ]
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.003262s ]
SELECT goods_id FROM goods_cat AS g WHERE g.cat_id IN ('1','2','3','4') [ RunTime:0.003203s ]
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 ('1','2','3','4') OR g.id IN ('') ) [ RunTime:0.003375s ]
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 ('1','2','3','4') OR g.id IN ('') ) ORDER BY g.id desc limit 0, 24 [ RunTime:0.003409s ]
select sum(num) as num from goods_buy_log where goods_id='33' [ RunTime:0.003435s ]
select * from shop_config where code='currency_format' [ RunTime:0.003227s ]
select * from shop_config where code='currency_format' [ RunTime:0.003203s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 33 and is_main=1 [ RunTime:0.003296s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 33 and is_main2=1 [ RunTime:0.003300s ]
select sum(num) as num from goods_buy_log where goods_id='31' [ RunTime:0.003312s ]
select * from shop_config where code='currency_format' [ RunTime:0.003271s ]
select * from shop_config where code='currency_format' [ RunTime:0.003235s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 31 and is_main=1 [ RunTime:0.003225s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 31 and is_main2=1 [ RunTime:0.003292s ]
select sum(num) as num from goods_buy_log where goods_id='29' [ RunTime:0.003248s ]
select * from shop_config where code='currency_format' [ RunTime:0.003274s ]
select * from shop_config where code='currency_format' [ RunTime:0.003243s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 29 and is_main=1 [ RunTime:0.003209s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 29 and is_main2=1 [ RunTime:0.003213s ]
select sum(num) as num from goods_buy_log where goods_id='28' [ RunTime:0.003244s ]
select * from shop_config where code='currency_format' [ RunTime:0.003181s ]
select * from shop_config where code='currency_format' [ RunTime:0.003205s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 28 and is_main=1 [ RunTime:0.003241s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 28 and is_main2=1 [ RunTime:0.003267s ]
select sum(num) as num from goods_buy_log where goods_id='27' [ RunTime:0.003279s ]
select * from shop_config where code='currency_format' [ RunTime:0.003212s ]
select * from shop_config where code='currency_format' [ RunTime:0.003218s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 27 and is_main=1 [ RunTime:0.003226s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 27 and is_main2=1 [ RunTime:0.003207s ]
select sum(num) as num from goods_buy_log where goods_id='26' [ RunTime:0.003196s ]
select * from shop_config where code='currency_format' [ RunTime:0.003179s ]
select * from shop_config where code='currency_format' [ RunTime:0.003162s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 26 and is_main=1 [ RunTime:0.003227s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 26 and is_main2=1 [ RunTime:0.003196s ]
select sum(num) as num from goods_buy_log where goods_id='25' [ RunTime:0.003185s ]
select * from shop_config where code='currency_format' [ RunTime:0.003231s ]
select * from shop_config where code='currency_format' [ RunTime:0.003269s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 25 and is_main=1 [ RunTime:0.003222s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 25 and is_main2=1 [ RunTime:0.003296s ]
select sum(num) as num from goods_buy_log where goods_id='24' [ RunTime:0.003263s ]
select * from shop_config where code='currency_format' [ RunTime:0.003180s ]
select * from shop_config where code='currency_format' [ RunTime:0.003183s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 24 and is_main=1 [ RunTime:0.003252s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 24 and is_main2=1 [ RunTime:0.003246s ]
select sum(num) as num from goods_buy_log where goods_id='23' [ RunTime:0.003268s ]
select * from shop_config where code='currency_format' [ RunTime:0.003242s ]
select * from shop_config where code='currency_format' [ RunTime:0.003284s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 23 and is_main=1 [ RunTime:0.003332s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 23 and is_main2=1 [ RunTime:0.003260s ]
select sum(num) as num from goods_buy_log where goods_id='22' [ RunTime:0.003236s ]
select * from shop_config where code='currency_format' [ RunTime:0.003234s ]
select * from shop_config where code='currency_format' [ RunTime:0.003190s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 22 and is_main=1 [ RunTime:0.003184s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 22 and is_main2=1 [ RunTime:0.003205s ]
select sum(num) as num from goods_buy_log where goods_id='14' [ RunTime:0.003283s ]
select * from shop_config where code='currency_format' [ RunTime:0.003215s ]
select * from shop_config where code='currency_format' [ RunTime:0.003187s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 14 and is_main=1 [ RunTime:0.003242s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 14 and is_main2=1 [ RunTime:0.003255s ]
select sum(num) as num from goods_buy_log where goods_id='13' [ RunTime:0.003227s ]
select * from shop_config where code='currency_format' [ RunTime:0.003211s ]
select * from shop_config where code='currency_format' [ RunTime:0.003200s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 13 and is_main=1 [ RunTime:0.003255s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 13 and is_main2=1 [ RunTime:0.003212s ]
select sum(num) as num from goods_buy_log where goods_id='12' [ RunTime:0.003250s ]
select * from shop_config where code='currency_format' [ RunTime:0.003214s ]
select * from shop_config where code='currency_format' [ RunTime:0.003199s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 12 and is_main=1 [ RunTime:0.003248s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 12 and is_main2=1 [ RunTime:0.003291s ]
select sum(num) as num from goods_buy_log where goods_id='11' [ RunTime:0.003236s ]
select * from shop_config where code='currency_format' [ RunTime:0.003257s ]
select * from shop_config where code='currency_format' [ RunTime:0.003198s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 11 and is_main=1 [ RunTime:0.003239s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 11 and is_main2=1 [ RunTime:0.003278s ]
select sum(num) as num from goods_buy_log where goods_id='10' [ RunTime:0.003263s ]
select * from shop_config where code='currency_format' [ RunTime:0.003264s ]
select * from shop_config where code='currency_format' [ RunTime:0.003215s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 10 and is_main=1 [ RunTime:0.003228s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 10 and is_main2=1 [ RunTime:0.003279s ]
select sum(num) as num from goods_buy_log where goods_id='9' [ RunTime:0.003217s ]
select * from shop_config where code='currency_format' [ RunTime:0.003226s ]
select * from shop_config where code='currency_format' [ RunTime:0.003194s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 9 and is_main=1 [ RunTime:0.003205s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 9 and is_main2=1 [ RunTime:0.003215s ]
select sum(num) as num from goods_buy_log where goods_id='8' [ RunTime:0.003260s ]
select * from shop_config where code='currency_format' [ RunTime:0.003241s ]
select * from shop_config where code='currency_format' [ RunTime:0.003279s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 8 and is_main=1 [ RunTime:0.003233s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 8 and is_main2=1 [ RunTime:0.003230s ]
select sum(num) as num from goods_buy_log where goods_id='7' [ RunTime:0.003238s ]
select * from shop_config where code='currency_format' [ RunTime:0.003242s ]
select * from shop_config where code='currency_format' [ RunTime:0.003205s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 7 and is_main=1 [ RunTime:0.003181s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 7 and is_main2=1 [ RunTime:0.003242s ]
select sum(num) as num from goods_buy_log where goods_id='6' [ RunTime:0.003291s ]
select * from shop_config where code='currency_format' [ RunTime:0.003291s ]
select * from shop_config where code='currency_format' [ RunTime:0.003222s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 6 and is_main=1 [ RunTime:0.003251s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 6 and is_main2=1 [ RunTime:0.003237s ]
select sum(num) as num from goods_buy_log where goods_id='5' [ RunTime:0.003262s ]
select * from shop_config where code='currency_format' [ RunTime:0.003197s ]
select * from shop_config where code='currency_format' [ RunTime:0.003199s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 5 and is_main=1 [ RunTime:0.003222s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 5 and is_main2=1 [ RunTime:0.003248s ]
select sum(num) as num from goods_buy_log where goods_id='4' [ RunTime:0.003298s ]
select * from shop_config where code='currency_format' [ RunTime:0.003204s ]
select * from shop_config where code='currency_format' [ RunTime:0.003184s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 4 and is_main=1 [ RunTime:0.003193s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 4 and is_main2=1 [ RunTime:0.003254s ]
select sum(num) as num from goods_buy_log where goods_id='1' [ RunTime:0.003276s ]
select * from shop_config where code='currency_format' [ RunTime:0.003248s ]
select * from shop_config where code='currency_format' [ RunTime:0.003235s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 1 and is_main=1 [ RunTime:0.003254s ]
select goods_id,big_url,middle_url,thumb_url from goods_images where goods_id = 1 and is_main2=1 [ RunTime:0.003277s ]
SELECT id,keywords,cat_desc,parent_id FROM cat WHERE id='1' LIMIT 1 [ RunTime:0.003248s ]