[ SQL ] SHOW COLUMNS FROM `lg_system` [ RunTime:0.003765s ]
[ SQL ] SELECT * FROM `lg_system` WHERE `key` = 'web_config' AND `status` > 0 LIMIT 1 [ RunTime:0.003500s ]
[ SQL ] SELECT `value` FROM `lg_system` WHERE `key` = 'file_storage' LIMIT 1 [ RunTime:0.003362s ]
[ SQL ] SHOW COLUMNS FROM `lg_content` [ RunTime:0.003746s ]
[ SQL ] SHOW COLUMNS FROM `lg_message` [ RunTime:0.003679s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` = 4 AND `status` = 1 LIMIT 1 [ RunTime:0.003445s ]
[ 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` = 4 AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.003635s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` IN (2,10,12,13) AND `status` = 1 LIMIT 1 [ RunTime:0.003502s ]
[ 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 (2,10,12,13) AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.003609s ]
[ SQL ] SHOW COLUMNS FROM `lg_content_cate` [ RunTime:0.003769s ]
[ SQL ] SELECT `id`,`name` FROM `lg_content_cate` WHERE `content_cate_group_id` = 5 [ RunTime:0.003508s ]
[ SQL ] SHOW COLUMNS FROM `lg_carousel_cate` [ RunTime:0.003804s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003380s ]
[ SQL ] SHOW COLUMNS FROM `lg_carousel` [ RunTime:0.003703s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 5 ORDER BY `order` ASC [ RunTime:0.003594s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003468s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 6 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003532s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003380s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 7 ORDER BY `order` ASC [ RunTime:0.003476s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003461s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 8 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003587s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003356s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 9 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003501s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003496s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 11 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003574s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003425s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 12 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003493s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` IN (14,15,16,17) AND `status` = 1 LIMIT 1 [ RunTime:0.003591s ]
[ 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 (14,15,16,17) AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.010958s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` IN (22) AND `status` = 1 LIMIT 1 [ RunTime:0.003659s ]
[ 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 (22) AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.003825s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` = 34 AND `status` = 1 LIMIT 1 [ RunTime:0.003473s ]
[ 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.003662s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `status` = 1 AND `content_cate_id1` = 40 LIMIT 1 [ RunTime:0.003484s ]
[ 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.006770s ]
[ 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.003705s ]
[ SQL ] SELECT `id`,`name` FROM `lg_content_cate` WHERE `pid` = 26 [ RunTime:0.003421s ]
[ 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` = 47 ORDER BY `create_time` DESC [ RunTime:0.005184s ]
[ 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` = 48 ORDER BY `create_time` DESC [ RunTime:0.003651s ]
[ 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` = 49 ORDER BY `create_time` DESC [ RunTime:0.003592s ]
[ 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` = 50 ORDER BY `create_time` DESC [ RunTime:0.003551s ]
[ SQL ] SELECT * FROM `lg_content_cate` WHERE `id` = 4 LIMIT 1 [ RunTime:0.003447s ]
[ SQL ] SELECT `id`,`name`,`is_single`,`url`,`content_cate_group_id`,`pid` FROM `lg_content_cate` WHERE `content_cate_group_id` = 1 AND `pid` = 0 [ RunTime:0.003472s ]
[ SQL ] SELECT `id`,`name`,`is_single`,`url`,`content_cate_group_id`,`pid` FROM `lg_content_cate` WHERE `content_cate_group_id` = 1 [ RunTime:0.003447s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 1 LIMIT 1 [ RunTime:0.003527s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 3 LIMIT 1 [ RunTime:0.003559s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 4 LIMIT 1 [ RunTime:0.003470s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 9 LIMIT 1 [ RunTime:0.003549s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 11 LIMIT 1 [ RunTime:0.003448s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 19 LIMIT 1 [ RunTime:0.003498s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 21 LIMIT 1 [ RunTime:0.003582s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 27 LIMIT 1 [ RunTime:0.003481s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 28 LIMIT 1 [ RunTime:0.003496s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 29 LIMIT 1 [ RunTime:0.003473s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 44 LIMIT 1 [ RunTime:0.003535s ]