[ SQL ] SHOW COLUMNS FROM `lg_system` [ RunTime:0.004481s ]
[ SQL ] SELECT * FROM `lg_system` WHERE `key` = 'web_config' AND `status` > 0 LIMIT 1 [ RunTime:0.004244s ]
[ SQL ] SELECT `value` FROM `lg_system` WHERE `key` = 'file_storage' LIMIT 1 [ RunTime:0.004187s ]
[ SQL ] SHOW COLUMNS FROM `lg_content` [ RunTime:0.004480s ]
[ SQL ] SELECT * FROM `lg_content` WHERE `status` = 1 AND `id` = 317 LIMIT 1 [ RunTime:0.004349s ]
[ SQL ] UPDATE `lg_content` SET `num`=`num`+1 WHERE `id` = 317 [ RunTime:0.005221s ]
[ SQL ] SHOW COLUMNS FROM `lg_content_cate` [ RunTime:0.004488s ]
[ SQL ] SELECT `name` FROM `lg_content_cate` WHERE `id` = 42 LIMIT 1 [ RunTime:0.004145s ]
[ SQL ] SELECT `id` FROM `lg_content_cate` WHERE `id` = 42 LIMIT 1 [ RunTime:0.004174s ]
[ SQL ] SELECT `id`,`title` FROM `lg_content` WHERE `status` = 1 AND `content_cate_id` = 42 AND `create_time` < 1601342353 ORDER BY `create_time` DESC LIMIT 1 [ RunTime:0.004399s ]
[ SQL ] SELECT `id`,`title` FROM `lg_content` WHERE `status` = 1 AND `content_cate_id` = 42 AND `create_time` > 1601342353 ORDER BY `create_time` ASC LIMIT 1 [ RunTime:0.004253s ]
[ SQL ] SHOW COLUMNS FROM `lg_message` [ RunTime:0.004710s ]
[ 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` = 42 ORDER BY `create_time` DESC [ RunTime:0.026205s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_message` WHERE `status` = 1 AND `content_id` = 317 LIMIT 1 [ RunTime:0.004324s ]
[ SQL ] SELECT * FROM `lg_message` WHERE `status` = 1 AND `content_id` = 317 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.004406s ]
[ SQL ] SELECT * FROM `lg_content_cate` WHERE `id` = 42 LIMIT 1 [ RunTime:0.004171s ]
[ SQL ] SELECT `id`,`name`,`is_single`,`url` FROM `lg_content_cate` WHERE `content_cate_group_id` = 8 [ RunTime:0.004277s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 26 LIMIT 1 [ RunTime:0.004312s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 42 LIMIT 1 [ RunTime:0.004257s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 43 LIMIT 1 [ RunTime:0.004306s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 47 LIMIT 1 [ RunTime:0.004381s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 48 LIMIT 1 [ RunTime:0.004350s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 49 LIMIT 1 [ RunTime:0.004283s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 50 LIMIT 1 [ RunTime:0.004294s ]