[ SQL ] SHOW COLUMNS FROM `lg_system` [ RunTime:0.003996s ]
[ SQL ] SELECT * FROM `lg_system` WHERE `key` = 'web_config' AND `status` > 0 LIMIT 1 [ RunTime:0.003583s ]
[ SQL ] SELECT `value` FROM `lg_system` WHERE `key` = 'file_storage' LIMIT 1 [ RunTime:0.003537s ]
[ SQL ] SHOW COLUMNS FROM `lg_content` [ RunTime:0.003938s ]
[ SQL ] SHOW COLUMNS FROM `lg_message` [ RunTime:0.003920s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` = 2 AND `status` = 1 LIMIT 1 [ RunTime:0.003568s ]
[ SQL ] SELECT *,(SELECT COUNT(*) AS tp_count FROM `lg_message` WHERE `status` = 1 AND ( `content_id` =lg_content.id ) LIMIT 1) AS `message_count` FROM `lg_content` WHERE `content_cate_id` = 2 AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.003663s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` IN (13) AND `status` = 1 LIMIT 1 [ RunTime:0.003613s ]
[ SQL ] SELECT *,(SELECT COUNT(*) AS tp_count FROM `lg_message` WHERE `status` = 1 AND ( `content_id` =lg_content.id ) LIMIT 1) AS `message_count` FROM `lg_content` WHERE `content_cate_id` IN (13) AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.004788s ]
[ SQL ] SHOW COLUMNS FROM `lg_content_cate` [ RunTime:0.006329s ]
[ SQL ] SELECT `id`,`name` FROM `lg_content_cate` WHERE `content_cate_group_id` = 5 [ RunTime:0.004156s ]
[ SQL ] SHOW COLUMNS FROM `lg_carousel_cate` [ RunTime:0.003876s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.004195s ]
[ SQL ] SHOW COLUMNS FROM `lg_carousel` [ RunTime:0.003920s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 5 ORDER BY `order` ASC [ RunTime:0.003743s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003623s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 6 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003685s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003619s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 7 ORDER BY `order` ASC [ RunTime:0.003775s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003991s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 8 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003748s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003567s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 9 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003698s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003617s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 11 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003676s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003528s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 12 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003700s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` IN (13) AND `status` = 1 LIMIT 1 [ RunTime:0.003624s ]
[ SQL ] SELECT *,(SELECT COUNT(*) AS tp_count FROM `lg_message` WHERE `status` = 1 AND ( `content_id` =lg_content.id ) LIMIT 1) AS `message_count` FROM `lg_content` WHERE `content_cate_id` IN (13) AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.003854s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` IN (13) AND `status` = 1 LIMIT 1 [ RunTime:0.003635s ]
[ SQL ] SELECT *,(SELECT COUNT(*) AS tp_count FROM `lg_message` WHERE `status` = 1 AND ( `content_id` =lg_content.id ) LIMIT 1) AS `message_count` FROM `lg_content` WHERE `content_cate_id` IN (13) AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.003776s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` = 34 AND `status` = 1 LIMIT 1 [ RunTime:0.003573s ]
[ SQL ] SELECT *,(SELECT COUNT(*) AS tp_count FROM `lg_message` WHERE `status` = 1 AND ( `content_id` =lg_content.id ) LIMIT 1) AS `message_count` FROM `lg_content` WHERE `content_cate_id` = 34 AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,6 [ RunTime:0.003708s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `status` = 1 AND `content_cate_id1` = 40 LIMIT 1 [ RunTime:0.003582s ]
[ SQL ] SELECT *,(SELECT COUNT(*) AS tp_count FROM `lg_message` WHERE `status` = 1 AND ( `content_id` =lg_content.id ) LIMIT 1) AS `message_count` FROM `lg_content` WHERE `status` = 1 AND `content_cate_id1` = 40 ORDER BY `create_time` DESC LIMIT 0,2 [ RunTime:0.008221s ]
[ SQL ] SELECT *,(SELECT COUNT(*) AS tp_count FROM `lg_message` WHERE `status` = 1 AND ( `content_id` =lg_content.id ) LIMIT 1) AS `message_count` FROM `lg_content` WHERE `status` = 1 AND `content_cate_id` = 19 ORDER BY `create_time` DESC [ RunTime:0.003866s ]
[ SQL ] SELECT `id`,`name` FROM `lg_content_cate` WHERE `pid` = 13 [ RunTime:0.003573s ]
[ SQL ] SELECT * FROM `lg_content_cate` WHERE `id` = 2 LIMIT 1 [ RunTime:0.006021s ]
[ SQL ] SELECT `id`,`name`,`is_single`,`url`,`content_cate_group_id`,`pid` FROM `lg_content_cate` WHERE `content_cate_group_id` = 2 AND `pid` = 0 [ RunTime:0.003522s ]
[ SQL ] SELECT `id`,`name`,`is_single`,`url`,`content_cate_group_id`,`pid` FROM `lg_content_cate` WHERE `content_cate_group_id` = 2 [ RunTime:0.003540s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 2 LIMIT 1 [ RunTime:0.003525s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 10 LIMIT 1 [ RunTime:0.003550s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 12 LIMIT 1 [ RunTime:0.003596s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 13 LIMIT 1 [ RunTime:0.003530s ]