[ DB ] CONNECT:[ UseTime:0.000369s ] mysql:host=127.0.0.1;port=3306;dbname=tpshopbbc;charset=utf8
[ SQL ] SHOW COLUMNS FROM `tp_config` [ RunTime:0.000452s ]
[ SQL ] SELECT * FROM `tp_config` [ RunTime:0.000295s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_category` [ RunTime:0.000639s ]
[ SQL ] SELECT * FROM `tp_goods_category` WHERE `is_show` = 1 ORDER BY sort_order desc [ RunTime:0.000659s ]
[ SQL ] SHOW COLUMNS FROM `tp_brand` [ RunTime:0.000513s ]
[ SQL ] SELECT `id`,`cat_id1`,`logo`,`is_hot` FROM `tp_brand` WHERE ( cat_id1>0 ) [ RunTime:0.000286s ]
[ SQL ] SELECT * FROM `tp_config` WHERE `inc_type` = 'shop_info' [ RunTime:0.000288s ]
[ SQL ] SHOW COLUMNS FROM `tp_seo` [ RunTime:0.000348s ]
[ SQL ] SELECT `type`,`title`,`keywords`,`description` FROM `tp_seo` [ RunTime:0.000193s ]
[ SQL ] SELECT * FROM `tp_config` WHERE `inc_type` = 'subdomain' [ RunTime:0.000239s ]
[ SQL ] SHOW COLUMNS FROM `tp_search_word` [ RunTime:0.000368s ]
[ SQL ] UPDATE `tp_search_word` SET `search_num`=`search_num`+1 WHERE `keywords` = '手机' [ RunTime:0.005145s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods` [ RunTime:0.000538s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `tp_goods` WHERE ( (`goods_name` LIKE '%手机%') OR (`keywords` LIKE '%手机%') ) AND `is_on_sale` = 1 AND `goods_state` = 1 LIMIT 1 [ RunTime:0.000464s ]
[ SQL ] SELECT * FROM `tp_search_word` WHERE `keywords` = '手机' LIMIT 1 [ RunTime:0.000194s ]
[ SQL ] UPDATE `tp_search_word` SET `goods_num`=24 WHERE `id` = 7 [ RunTime:0.003960s ]
[ SQL ] SELECT `goods_id` FROM `tp_goods` WHERE ( is_on_sale=1 and goods_state = 1 ) AND ( (`goods_name` LIKE '%手机%') OR (`keywords` LIKE '%手机%') ) AND `is_on_sale` = 1 AND `goods_state` = 1 ORDER BY `sort` desc,`goods_id` desc [ RunTime:0.000535s ]
[ SQL ] SELECT `goods_id` FROM `tp_goods` WHERE `is_on_sale` = 1 AND `brand_id` IN (9) [ RunTime:0.000286s ]
[ SQL ] SELECT `goods_id` FROM `tp_goods` WHERE ( shop_price >= 0 and is_on_sale = 1 ) [ RunTime:0.000337s ]
[ SQL ] SELECT `id`,`name` FROM `tp_brand` [ RunTime:0.000188s ]
[ SQL ] SELECT `cat_id1` FROM `tp_goods` WHERE ( is_on_sale = 1 ) AND `goods_id` IN (249,240,239,222,220,219,218,95,52,51,50,49,48,47,46,45,44,43,42,33,32,31,26,22) [ RunTime:0.000296s ]
[ SQL ] SELECT * FROM `tp_brand` WHERE `cat_id1` IN (1,0) AND `status` = 0 ORDER BY sort asc [ RunTime:0.000276s ]
[ SQL ] SELECT * FROM `tp_goods` WHERE `is_on_sale` = 1 AND `goods_id` IN (249,240,239,222,220,219,218,95,52,51,50,49,48,47,46,45,44,43,42,33,32,31,26,22) ORDER BY `sort` desc LIMIT 0,20 [ RunTime:0.000553s ]
[ SQL ] SHOW COLUMNS FROM `tp_goods_images` [ RunTime:0.000356s ]
[ SQL ] SELECT * FROM `tp_goods_images` WHERE `goods_id` IN (22,26,31,32,33,42,43,44,45,46,47,48,49,50,51,52,95,218,219,220) [ RunTime:0.000385s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1771324724 and end_time > 1771324724 and status = 1 and cat_id1 = 135 limit 2 [ RunTime:0.000422s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1771324724 and end_time > 1771324724 and status = 1 and cat_id1 = 1 limit 2 [ RunTime:0.000365s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1771324724 and end_time > 1771324724 and status = 1 and cat_id1 = 174 limit 2 [ RunTime:0.000374s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1771324724 and end_time > 1771324724 and status = 1 and cat_id1 = 67 limit 2 [ RunTime:0.000371s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1771324724 and end_time > 1771324724 and status = 1 and cat_id1 = 81 limit 2 [ RunTime:0.000344s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1771324724 and end_time > 1771324724 and status = 1 and cat_id1 = 82 limit 2 [ RunTime:0.000515s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1771324724 and end_time > 1771324724 and status = 1 and cat_id1 = 83 limit 2 [ RunTime:0.000450s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1771324724 and end_time > 1771324724 and status = 1 and cat_id1 = 84 limit 2 [ RunTime:0.000460s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1771324724 and end_time > 1771324724 and status = 1 and cat_id1 = 86 limit 2 [ RunTime:0.000437s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1771324724 and end_time > 1771324724 and status = 1 and cat_id1 = 148 limit 2 [ RunTime:0.000437s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1771324724 and end_time > 1771324724 and status = 1 and cat_id1 = 149 limit 2 [ RunTime:0.000418s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1771324724 and end_time > 1771324724 and status = 1 and cat_id1 = 166 limit 2 [ RunTime:0.000417s ]
[ SQL ] select * from tp_goods g inner join tp_flash_sale as f on g.goods_id = f.goods_id where start_time < 1771324724 and end_time > 1771324724 and status = 1 and cat_id1 = 182 limit 2 [ RunTime:0.000412s ]
[ SQL ] SELECT * FROM `tp_navigation` where is_show = 1 AND position = 1 ORDER BY `sort` DESC [ RunTime:0.000249s ]
[ SQL ] select g.*,s.store_name from `tp_goods` as g left join `tp_store` as s on s.store_id = g.store_id where g.is_hot = 1 and g.is_on_sale = 1 and g.goods_state = 1 and g.goods_id IN (249,240,239,222,220,219,218,95,52,51,50,49,48,47,46,45,44,43,42,33,32,31,26,22) order by g.sort DESC limit 5 [ RunTime:0.000524s ]
[ SQL ] select g.*,s.store_name from `tp_goods` as g left join `tp_store` as s on s.store_id = g.store_id where
g.is_on_sale = 1 and g.goods_state = 1 and g.goods_id IN (249,240,239,222,220,219,218,95,52,51,50,49,48,47,46,45,44,43,42,33,32,31,26,22) order by g.sales_sum desc limit 5 [ RunTime:0.000497s ]
[ SQL ] select * from `tp_article_cat` where cat_type = 1 order by cat_id asc limit 5 [ RunTime:0.000345s ]
[ SQL ] select * from `tp_article` where cat_id = 1 and is_open=1 limit 5 [ RunTime:0.000729s ]
[ SQL ] select * from `tp_article` where cat_id = 3 and is_open=1 limit 5 [ RunTime:0.000600s ]
[ SQL ] select * from `tp_article` where cat_id = 4 and is_open=1 limit 5 [ RunTime:0.000269s ]
[ SQL ] select * from `tp_article` where cat_id = 11 and is_open=1 limit 5 [ RunTime:0.000294s ]
[ SQL ] select * from `tp_article` where cat_id = 12 and is_open=1 limit 5 [ RunTime:0.000269s ]
[ SQL ] select * from `tp_friend_link` where is_show=1 [ RunTime:0.000238s ]
[ SQL ] SELECT * FROM `tp_navigation` where is_show = 1 AND position = 2 ORDER BY `sort` DESC [ RunTime:0.000285s ]