[ SQL ] SHOW COLUMNS FROM `lg_system` [ RunTime:0.003855s ]
[ SQL ] SELECT * FROM `lg_system` WHERE `key` = 'web_config' AND `status` > 0 LIMIT 1 [ RunTime:0.003537s ]
[ SQL ] SELECT `value` FROM `lg_system` WHERE `key` = 'file_storage' LIMIT 1 [ RunTime:0.003492s ]
[ SQL ] SHOW COLUMNS FROM `lg_content` [ RunTime:0.003709s ]
[ SQL ] SHOW COLUMNS FROM `lg_message` [ RunTime:0.003720s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` = 2 AND `status` = 1 LIMIT 1 [ RunTime:0.003448s ]
[ 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.003601s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` IN (12) AND `status` = 1 LIMIT 1 [ RunTime:0.003433s ]
[ 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 (12) AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.003476s ]
[ SQL ] SHOW COLUMNS FROM `lg_content_cate` [ RunTime:0.003734s ]
[ SQL ] SELECT `id`,`name` FROM `lg_content_cate` WHERE `content_cate_group_id` = 5 [ RunTime:0.003387s ]
[ SQL ] SHOW COLUMNS FROM `lg_carousel_cate` [ RunTime:0.003669s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003386s ]
[ SQL ] SHOW COLUMNS FROM `lg_carousel` [ RunTime:0.003737s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 5 ORDER BY `order` ASC [ RunTime:0.003484s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003382s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 6 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003489s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003453s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 7 ORDER BY `order` ASC [ RunTime:0.003472s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003335s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 8 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.005843s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003362s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 9 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003398s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003357s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 11 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003467s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003346s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 12 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003415s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` IN (12) AND `status` = 1 LIMIT 1 [ RunTime:0.003398s ]
[ 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 (12) AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.003526s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` IN (12) AND `status` = 1 LIMIT 1 [ RunTime:0.003383s ]
[ 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 (12) AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.003614s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` = 34 AND `status` = 1 LIMIT 1 [ RunTime:0.003384s ]
[ 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.003484s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `status` = 1 AND `content_cate_id1` = 40 LIMIT 1 [ RunTime:0.003472s ]
[ 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.008614s ]
[ 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.003719s ]
[ SQL ] SELECT `id`,`name` FROM `lg_content_cate` WHERE `pid` = 12 [ RunTime:0.003450s ]
[ SQL ] SELECT * FROM `lg_content_cate` WHERE `id` = 2 LIMIT 1 [ RunTime:0.003397s ]
[ 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.003409s ]
[ SQL ] SELECT `id`,`name`,`is_single`,`url`,`content_cate_group_id`,`pid` FROM `lg_content_cate` WHERE `content_cate_group_id` = 2 [ RunTime:0.003382s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 2 LIMIT 1 [ RunTime:0.003395s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 10 LIMIT 1 [ RunTime:0.003391s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 12 LIMIT 1 [ RunTime:0.003427s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 13 LIMIT 1 [ RunTime:0.003379s ]