[ SQL ] SHOW COLUMNS FROM `lg_system` [ RunTime:0.003246s ]
[ SQL ] SELECT * FROM `lg_system` WHERE `key` = 'web_config' AND `status` > 0 LIMIT 1 [ RunTime:0.002824s ]
[ SQL ] SELECT `value` FROM `lg_system` WHERE `key` = 'file_storage' LIMIT 1 [ RunTime:0.002878s ]
[ SQL ] SHOW COLUMNS FROM `lg_content` [ RunTime:0.003143s ]
[ SQL ] SELECT * FROM `lg_content` WHERE `status` = 1 AND `id` = 312 LIMIT 1 [ RunTime:0.002944s ]
[ SQL ] UPDATE `lg_content` SET `num`=`num`+1 WHERE `id` = 312 [ RunTime:0.004025s ]
[ SQL ] SHOW COLUMNS FROM `lg_content_cate` [ RunTime:0.003395s ]
[ SQL ] SELECT `name` FROM `lg_content_cate` WHERE `id` = 22 LIMIT 1 [ RunTime:0.002844s ]
[ SQL ] SELECT `id` FROM `lg_content_cate` WHERE `id` = 22 LIMIT 1 [ RunTime:0.002791s ]
[ SQL ] SELECT `id`,`title` FROM `lg_content` WHERE `status` = 1 AND `content_cate_id` = 22 AND `create_time` < 1600248145 ORDER BY `create_time` DESC LIMIT 1 [ RunTime:0.002954s ]
[ SQL ] SELECT `id`,`title` FROM `lg_content` WHERE `status` = 1 AND `content_cate_id` = 22 AND `create_time` > 1600248145 ORDER BY `create_time` ASC LIMIT 1 [ RunTime:0.002921s ]
[ SQL ] SHOW COLUMNS FROM `lg_message` [ RunTime:0.003115s ]
[ 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.003079s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_message` WHERE `status` = 1 AND `content_id` = 312 LIMIT 1 [ RunTime:0.002820s ]
[ SQL ] SELECT * FROM `lg_message` WHERE `status` = 1 AND `content_id` = 312 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.002897s ]
[ SQL ] SELECT * FROM `lg_content_cate` WHERE `id` = 22 LIMIT 1 [ RunTime:0.002936s ]
[ SQL ] SELECT `id`,`name`,`is_single`,`url` FROM `lg_content_cate` WHERE `content_cate_group_id` = 6 [ RunTime:0.002893s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 22 LIMIT 1 [ RunTime:0.002819s ]