SHOW FULL COLUMNS FROM `moban_site` [ RunTime:0.012020s ]
SELECT * FROM `moban_site` WHERE `lang` = 'zh-cn' LIMIT 1 [ RunTime:0.004426s ]
SHOW FULL COLUMNS FROM `moban_columns` [ RunTime:0.005178s ]
SELECT * FROM `moban_columns` WHERE `state` = 1 AND `lang` = 'zh-cn' ORDER BY `sort` ASC [ RunTime:0.001396s ]
SHOW FULL COLUMNS FROM `moban_news` [ RunTime:0.005066s ]
SELECT * FROM `moban_news` WHERE `lang` = 'zh-cn' AND `state` = 1 LIMIT 1 [ RunTime:0.001435s ]
SHOW FULL COLUMNS FROM `moban_news_category` [ RunTime:0.001449s ]
SELECT * FROM `moban_news_category` WHERE `lang` = 'zh-cn' ORDER BY `id` ASC [ RunTime:0.003893s ]
SHOW FULL COLUMNS FROM `moban_single_page` [ RunTime:0.003616s ]
SELECT * FROM `moban_single_page` WHERE `id` IN (0,54,32,33,45,74,75,76) AND `state` = 1 AND `lang` = 'zh-cn' [ RunTime:0.000656s ]
SELECT * FROM `moban_single_page` WHERE `id` IN (0,35,77) AND `state` = 1 AND `lang` = 'zh-cn' [ RunTime:0.005947s ]
SHOW FULL COLUMNS FROM `moban_link` [ RunTime:0.005415s ]
SELECT * FROM `moban_link` WHERE `state` = 1 ORDER BY `sort` ASC [ RunTime:0.002910s ]
SHOW FULL COLUMNS FROM `moban_banner` [ RunTime:0.003246s ]
SELECT * FROM `moban_banner` WHERE `state` = 1 AND `lang` = 'zh-cn' ORDER BY `sort` DESC,`id` DESC [ RunTime:0.000587s ]
SHOW FULL COLUMNS FROM `moban_products` [ RunTime:0.001559s ]
SELECT * FROM `moban_products` WHERE `recommend` = 1 AND `state` = 1 ORDER BY `sort` DESC,`id` DESC LIMIT 1 [ RunTime:0.000604s ]
SELECT * FROM `moban_products` WHERE `hot` = 1 AND `state` = 1 ORDER BY `sort` DESC,`id` DESC LIMIT 1 [ RunTime:0.000447s ]
SELECT * FROM `moban_products` WHERE `popularize` = 1 AND `state` = 1 ORDER BY `sort` DESC,`id` DESC LIMIT 1 [ RunTime:0.000533s ]
SELECT * FROM `moban_news` WHERE `state` = 1 AND `is_draft` = 0 AND `recommend` = 1 AND `lang` = 'zh-cn' ORDER BY `sort` DESC,`id` DESC LIMIT 4 [ RunTime:0.006227s ]
SELECT category_id,count(id) total FROM `moban_products` WHERE `state` = 1 GROUP BY `category_id` [ RunTime:0.005012s ]
SHOW FULL COLUMNS FROM `moban_category` [ RunTime:0.001473s ]
SELECT * FROM `moban_category` ORDER BY `id` ASC [ RunTime:0.000418s ]