[ SQL ] SHOW COLUMNS FROM `lg_system` [ RunTime:0.003865s ]
[ SQL ] SELECT * FROM `lg_system` WHERE `key` = 'web_config' AND `status` > 0 LIMIT 1 [ RunTime:0.003505s ]
[ SQL ] SELECT `value` FROM `lg_system` WHERE `key` = 'file_storage' LIMIT 1 [ RunTime:0.003401s ]
[ SQL ] SHOW COLUMNS FROM `lg_content` [ RunTime:0.004004s ]
[ SQL ] SHOW COLUMNS FROM `lg_message` [ RunTime:0.003728s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` = 22 AND `status` = 1 LIMIT 1 [ RunTime:0.003440s ]
[ 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` = 22 AND `status` = 1 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.003689s ]
[ 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.003516s ]
[ 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.003744s ]
[ SQL ] SHOW COLUMNS FROM `lg_content_cate` [ RunTime:0.003678s ]
[ SQL ] SELECT `id`,`name` FROM `lg_content_cate` WHERE `content_cate_group_id` = 5 [ RunTime:0.003383s ]
[ SQL ] SHOW COLUMNS FROM `lg_carousel_cate` [ RunTime:0.003694s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003596s ]
[ SQL ] SHOW COLUMNS FROM `lg_carousel` [ RunTime:0.003647s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 5 ORDER BY `order` ASC [ RunTime:0.003467s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003399s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 6 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003576s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003336s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 7 ORDER BY `order` ASC [ RunTime:0.003464s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003457s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 8 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003488s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003424s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 9 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003480s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003334s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 11 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003408s ]
[ SQL ] SELECT `id` FROM `lg_carousel_cate` WHERE `is_main` = 1 LIMIT 1 [ RunTime:0.003339s ]
[ SQL ] SELECT * FROM `lg_carousel` WHERE `carousel_cate_id` = 1 AND `type` = 12 ORDER BY `order` ASC LIMIT 1 [ RunTime:0.003406s ]
[ 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.003499s ]
[ 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.010541s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` IN (22) AND `status` = 1 LIMIT 1 [ RunTime:0.003619s ]
[ 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.004111s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `content_cate_id` = 34 AND `status` = 1 LIMIT 1 [ RunTime:0.003470s ]
[ 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.003655s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_content` WHERE `status` = 1 AND `content_cate_id1` = 40 LIMIT 1 [ RunTime:0.003588s ]
[ 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.006936s ]
[ 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.003836s ]
[ SQL ] SELECT `id`,`name` FROM `lg_content_cate` WHERE `pid` = 26 [ RunTime:0.003466s ]
[ 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.005260s ]
[ 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.003684s ]
[ 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.003654s ]
[ 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.003601s ]
[ SQL ] SELECT * FROM `lg_content_cate` WHERE `id` = 22 LIMIT 1 [ RunTime:0.003412s ]
[ SQL ] SELECT `id`,`name`,`is_single`,`url`,`content_cate_group_id`,`pid` FROM `lg_content_cate` WHERE `content_cate_group_id` = 6 AND `pid` = 0 [ RunTime:0.003425s ]
[ SQL ] SELECT `id`,`name`,`is_single`,`url`,`content_cate_group_id`,`pid` FROM `lg_content_cate` WHERE `content_cate_group_id` = 6 [ RunTime:0.003575s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 22 LIMIT 1 [ RunTime:0.003385s ]