[ SQL ] SHOW COLUMNS FROM `lg_system` [ RunTime:0.009435s ]
[ SQL ] SELECT * FROM `lg_system` WHERE `key` = 'web_config' AND `status` > 0 LIMIT 1 [ RunTime:0.005461s ]
[ SQL ] SELECT `value` FROM `lg_system` WHERE `key` = 'file_storage' LIMIT 1 [ RunTime:0.004212s ]
[ SQL ] SHOW COLUMNS FROM `lg_content` [ RunTime:0.004601s ]
[ SQL ] SELECT * FROM `lg_content` WHERE `status` = 1 AND `id` = 25 LIMIT 1 [ RunTime:0.004379s ]
[ SQL ] UPDATE `lg_content` SET `num`=`num`+1 WHERE `id` = 25 [ RunTime:0.005584s ]
[ SQL ] SHOW COLUMNS FROM `lg_content_cate` [ RunTime:0.004474s ]
[ SQL ] SELECT `name` FROM `lg_content_cate` WHERE `id` = 22 LIMIT 1 [ RunTime:0.004209s ]
[ SQL ] SELECT `id` FROM `lg_content_cate` WHERE `id` = 22 LIMIT 1 [ RunTime:0.004162s ]
[ SQL ] SELECT `id`,`title` FROM `lg_content` WHERE `status` = 1 AND `content_cate_id` = 22 AND `create_time` < 1592632552 ORDER BY `create_time` DESC LIMIT 1 [ RunTime:0.004249s ]
[ SQL ] SELECT `id`,`title` FROM `lg_content` WHERE `status` = 1 AND `content_cate_id` = 22 AND `create_time` > 1592632552 ORDER BY `create_time` ASC LIMIT 1 [ RunTime:0.004243s ]
[ SQL ] SHOW COLUMNS FROM `lg_message` [ RunTime:0.004587s ]
[ 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.011186s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_message` WHERE `status` = 1 AND `content_id` = 25 LIMIT 1 [ RunTime:0.004309s ]
[ SQL ] SELECT * FROM `lg_message` WHERE `status` = 1 AND `content_id` = 25 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.004180s ]
[ SQL ] SELECT * FROM `lg_content_cate` WHERE `id` = 22 LIMIT 1 [ RunTime:0.004205s ]
[ SQL ] SELECT `id`,`name`,`is_single`,`url` FROM `lg_content_cate` WHERE `content_cate_group_id` = 6 [ RunTime:0.004193s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 22 LIMIT 1 [ RunTime:0.004171s ]