[ SQL ] SHOW COLUMNS FROM `lg_system` [ RunTime:0.003942s ]
[ SQL ] SELECT * FROM `lg_system` WHERE `key` = 'web_config' AND `status` > 0 LIMIT 1 [ RunTime:0.003618s ]
[ SQL ] SELECT `value` FROM `lg_system` WHERE `key` = 'file_storage' LIMIT 1 [ RunTime:0.003569s ]
[ SQL ] SHOW COLUMNS FROM `lg_content` [ RunTime:0.003776s ]
[ SQL ] SELECT * FROM `lg_content` WHERE `status` = 1 AND `id` = 51 LIMIT 1 [ RunTime:0.003684s ]
[ SQL ] UPDATE `lg_content` SET `num`=`num`+1 WHERE `id` = 51 [ RunTime:0.004775s ]
[ SQL ] SHOW COLUMNS FROM `lg_content_cate` [ RunTime:0.003815s ]
[ SQL ] SELECT `name` FROM `lg_content_cate` WHERE `id` = 22 LIMIT 1 [ RunTime:0.003490s ]
[ SQL ] SELECT `id` FROM `lg_content_cate` WHERE `id` = 22 LIMIT 1 [ RunTime:0.003557s ]
[ SQL ] SELECT `id`,`title` FROM `lg_content` WHERE `status` = 1 AND `content_cate_id` = 22 AND `create_time` < 1594803794 ORDER BY `create_time` DESC LIMIT 1 [ RunTime:0.003498s ]
[ SQL ] SELECT `id`,`title` FROM `lg_content` WHERE `status` = 1 AND `content_cate_id` = 22 AND `create_time` > 1594803794 ORDER BY `create_time` ASC LIMIT 1 [ RunTime:0.003509s ]
[ SQL ] SHOW COLUMNS FROM `lg_message` [ RunTime:0.003773s ]
[ 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` = 22 ORDER BY `create_time` DESC [ RunTime:0.003703s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_message` WHERE `status` = 1 AND `content_id` = 51 LIMIT 1 [ RunTime:0.003811s ]
[ SQL ] SELECT * FROM `lg_message` WHERE `status` = 1 AND `content_id` = 51 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.003741s ]
[ SQL ] SELECT * FROM `lg_content_cate` WHERE `id` = 22 LIMIT 1 [ RunTime:0.003786s ]
[ SQL ] SELECT `id`,`name`,`is_single`,`url` FROM `lg_content_cate` WHERE `content_cate_group_id` = 6 [ RunTime:0.003678s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 22 LIMIT 1 [ RunTime:0.003815s ]