[ SQL ] SHOW COLUMNS FROM `lg_system` [ RunTime:0.004871s ]
[ SQL ] SELECT * FROM `lg_system` WHERE `key` = 'web_config' AND `status` > 0 LIMIT 1 [ RunTime:0.004499s ]
[ SQL ] SELECT `value` FROM `lg_system` WHERE `key` = 'file_storage' LIMIT 1 [ RunTime:0.004279s ]
[ SQL ] SHOW COLUMNS FROM `lg_content` [ RunTime:0.004657s ]
[ SQL ] SHOW COLUMNS FROM `lg_message` [ RunTime:0.004633s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` = 2 AND `status` = 1 LIMIT 1 [ RunTime:0.004533s ]
[ 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.004638s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` IN (10) AND `status` = 1 LIMIT 1 [ RunTime:0.004556s ]
[ 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 (10) AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.004520s ]
[ SQL ] SHOW COLUMNS FROM `lg_content_cate` [ RunTime:0.004634s ]
[ SQL ] SELECT `id`,`name` FROM `lg_content_cate` WHERE `content_cate_group_id` = 5 [ RunTime:0.004374s ]
[ SQL ] SHOW COLUMNS FROM `lg_carousel_cate` [ RunTime:0.004673s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.004275s ]
[ SQL ] SHOW COLUMNS FROM `lg_carousel` [ RunTime:0.004607s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 5 ORDER BY `order` ASC [ RunTime:0.004427s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.004241s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 6 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.004443s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.004246s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 7 ORDER BY `order` ASC [ RunTime:0.004370s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.004524s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 8 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.004399s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.004517s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 9 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.004436s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.004486s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 11 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.004449s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.004197s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 12 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.004374s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` IN (10) AND `status` = 1 LIMIT 1 [ RunTime:0.004341s ]
[ 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 (10) AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.004417s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` IN (10) AND `status` = 1 LIMIT 1 [ RunTime:0.004265s ]
[ 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 (10) AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.004379s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` = 34 AND `status` = 1 LIMIT 1 [ RunTime:0.004295s ]
[ 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.004326s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `status` = 1 AND `content_cate_id1` = 40 LIMIT 1 [ RunTime:0.004357s ]
[ 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.010545s ]
[ 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.005576s ]
[ SQL ] SELECT `id`,`name` FROM `lg_content_cate` WHERE `pid` = 10 [ RunTime:0.004303s ]
[ SQL ] SELECT * FROM `lg_content_cate` WHERE `id` = 2 LIMIT 1 [ RunTime:0.004319s ]
[ 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.004314s ]
[ SQL ] SELECT `id`,`name`,`is_single`,`url`,`content_cate_group_id`,`pid` FROM `lg_content_cate` WHERE `content_cate_group_id` = 2 [ RunTime:0.004279s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 2 LIMIT 1 [ RunTime:0.004285s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 10 LIMIT 1 [ RunTime:0.004310s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 12 LIMIT 1 [ RunTime:0.004373s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 13 LIMIT 1 [ RunTime:0.004686s ]