[ SQL ] SHOW COLUMNS FROM `lg_system` [ RunTime:0.008800s ]
[ SQL ] SELECT * FROM `lg_system` WHERE `key` = 'web_config' AND `status` > 0 LIMIT 1 [ RunTime:0.010490s ]
[ SQL ] SELECT `value` FROM `lg_system` WHERE `key` = 'file_storage' LIMIT 1 [ RunTime:0.004573s ]
[ SQL ] SHOW COLUMNS FROM `lg_content` [ RunTime:0.004685s ]
[ SQL ] SELECT * FROM `lg_content` WHERE `status` = 1 AND `id` = 315 LIMIT 1 [ RunTime:0.004472s ]
[ SQL ] UPDATE `lg_content` SET `num`=`num`+1 WHERE `id` = 315 [ RunTime:0.005441s ]
[ SQL ] SHOW COLUMNS FROM `lg_content_cate` [ RunTime:0.004558s ]
[ SQL ] SELECT `name` FROM `lg_content_cate` WHERE `id` = 42 LIMIT 1 [ RunTime:0.004350s ]
[ SQL ] SELECT `id` FROM `lg_content_cate` WHERE `id` = 42 LIMIT 1 [ RunTime:0.004396s ]
[ SQL ] SELECT `id`,`title` FROM `lg_content` WHERE `status` = 1 AND `content_cate_id` = 42 AND `create_time` < 1601262125 ORDER BY `create_time` DESC LIMIT 1 [ RunTime:0.004359s ]
[ SQL ] SELECT `id`,`title` FROM `lg_content` WHERE `status` = 1 AND `content_cate_id` = 42 AND `create_time` > 1601262125 ORDER BY `create_time` ASC LIMIT 1 [ RunTime:0.004366s ]
[ SQL ] SHOW COLUMNS FROM `lg_message` [ RunTime:0.004664s ]
[ 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.004649s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_message` WHERE `status` = 1 AND `content_id` = 315 LIMIT 1 [ RunTime:0.004464s ]
[ SQL ] SELECT * FROM `lg_message` WHERE `status` = 1 AND `content_id` = 315 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.004337s ]
[ SQL ] SELECT * FROM `lg_content_cate` WHERE `id` = 42 LIMIT 1 [ RunTime:0.004482s ]
[ SQL ] SELECT `id`,`name`,`is_single`,`url` FROM `lg_content_cate` WHERE `content_cate_group_id` = 8 [ RunTime:0.004392s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 26 LIMIT 1 [ RunTime:0.004501s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 42 LIMIT 1 [ RunTime:0.004325s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 43 LIMIT 1 [ RunTime:0.004401s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 47 LIMIT 1 [ RunTime:0.004358s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 48 LIMIT 1 [ RunTime:0.004387s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 49 LIMIT 1 [ RunTime:0.004415s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 50 LIMIT 1 [ RunTime:0.004275s ]