[ SQL ] SHOW COLUMNS FROM `lg_system` [ RunTime:0.004243s ]
[ SQL ] SELECT * FROM `lg_system` WHERE `key` = 'web_config' AND `status` > 0 LIMIT 1 [ RunTime:0.003034s ]
[ SQL ] SELECT `value` FROM `lg_system` WHERE `key` = 'file_storage' LIMIT 1 [ RunTime:0.003027s ]
[ SQL ] SHOW COLUMNS FROM `lg_content` [ RunTime:0.003227s ]
[ SQL ] SELECT * FROM `lg_content` WHERE `status` = 1 AND `id` = 225 LIMIT 1 [ RunTime:0.003164s ]
[ SQL ] UPDATE `lg_content` SET `num`=`num`+1 WHERE `id` = 225 [ RunTime:0.003853s ]
[ SQL ] SHOW COLUMNS FROM `lg_content_cate` [ RunTime:0.003218s ]
[ SQL ] SELECT `name` FROM `lg_content_cate` WHERE `id` = 34 LIMIT 1 [ RunTime:0.003063s ]
[ SQL ] SELECT `id` FROM `lg_content_cate` WHERE `id` = 34 LIMIT 1 [ RunTime:0.003128s ]
[ SQL ] SELECT `id`,`title` FROM `lg_content` WHERE `status` = 1 AND `content_cate_id2` = 34 AND `create_time` < 1597991012 ORDER BY `create_time` DESC LIMIT 1 [ RunTime:0.003206s ]
[ SQL ] SELECT `id`,`title` FROM `lg_content` WHERE `status` = 1 AND `content_cate_id2` = 34 AND `create_time` > 1597991012 ORDER BY `create_time` ASC LIMIT 1 [ RunTime:0.003137s ]
[ SQL ] SHOW COLUMNS FROM `lg_message` [ RunTime:0.003186s ]
[ 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_id2` = 34 ORDER BY `create_time` DESC [ RunTime:0.014783s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `lg_message` WHERE `status` = 1 AND `content_id` = 225 LIMIT 1 [ RunTime:0.003041s ]
[ SQL ] SELECT * FROM `lg_message` WHERE `status` = 1 AND `content_id` = 225 ORDER BY `create_time` DESC LIMIT 0,10 [ RunTime:0.003030s ]
[ SQL ] SELECT * FROM `lg_content_cate` WHERE `id` = 34 LIMIT 1 [ RunTime:0.003122s ]
[ SQL ] SELECT `id`,`name`,`is_single`,`url` FROM `lg_content_cate` WHERE `content_cate_group_id` = 3 [ RunTime:0.003051s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 5 LIMIT 1 [ RunTime:0.003035s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id2` = 5 LIMIT 1 [ RunTime:0.002925s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 30 LIMIT 1 [ RunTime:0.002912s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id2` = 30 LIMIT 1 [ RunTime:0.002960s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 31 LIMIT 1 [ RunTime:0.002995s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id2` = 31 LIMIT 1 [ RunTime:0.003031s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 32 LIMIT 1 [ RunTime:0.002956s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id2` = 32 LIMIT 1 [ RunTime:0.002997s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 33 LIMIT 1 [ RunTime:0.002895s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id2` = 33 LIMIT 1 [ RunTime:0.002929s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 34 LIMIT 1 [ RunTime:0.002876s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id2` = 34 LIMIT 1 [ RunTime:0.002919s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 35 LIMIT 1 [ RunTime:0.002997s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id2` = 35 LIMIT 1 [ RunTime:0.003016s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 36 LIMIT 1 [ RunTime:0.003102s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id2` = 36 LIMIT 1 [ RunTime:0.003069s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 37 LIMIT 1 [ RunTime:0.002983s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id2` = 37 LIMIT 1 [ RunTime:0.003513s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 38 LIMIT 1 [ RunTime:0.003062s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id2` = 38 LIMIT 1 [ RunTime:0.003117s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 39 LIMIT 1 [ RunTime:0.003116s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id2` = 39 LIMIT 1 [ RunTime:0.002942s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 40 LIMIT 1 [ RunTime:0.002914s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id2` = 40 LIMIT 1 [ RunTime:0.002972s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 41 LIMIT 1 [ RunTime:0.002917s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id2` = 41 LIMIT 1 [ RunTime:0.002965s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id` = 46 LIMIT 1 [ RunTime:0.002969s ]
[ SQL ] SELECT `id`,`title`,`content_cate_id` FROM `lg_content` WHERE `content_cate_id2` = 46 LIMIT 1 [ RunTime:0.003115s ]