[ SQL ] SELECT * FROM `gz_config` WHERE `closed` = 0 LIMIT 1 [ RunTime:0.000304s ]
[ SQL ] SELECT * FROM `gz_config` WHERE `closed` = 0 LIMIT 1 [ RunTime:0.000189s ]
[ SQL ] SELECT `is_showask` FROM `gz_show_switch` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000107s ]
[ SQL ] SELECT `is_live` FROM `gz_show_switch` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000085s ]
[ SQL ] SHOW COLUMNS FROM `gz_webmenu` [ RunTime:0.000324s ]
[ SQL ] SELECT `url`,`title`,`type`,`seo_keywords`,`seo_description` FROM `gz_webmenu` WHERE `status` = 1 AND `closed` = 0 ORDER BY orderby asc LIMIT 0,7 [ RunTime:0.000131s ]
[ SQL ] SHOW COLUMNS FROM `gz_link` [ RunTime:0.000289s ]
[ SQL ] SELECT `title`,`url` FROM `gz_link` WHERE `status` = 1 AND `closed` = 0 ORDER BY orderby desc [ RunTime:0.000105s ]
[ SQL ] SHOW COLUMNS FROM `gz_course` [ RunTime:0.000447s ]
[ SQL ] SELECT * FROM `gz_course` WHERE `closed` = 0 AND `cid` = 30 ORDER BY orderby desc LIMIT 1 [ RunTime:0.000192s ]
[ SQL ] SHOW COLUMNS FROM `gz_course_category` [ RunTime:0.000313s ]
[ SQL ] SELECT `cate_name` FROM `gz_course_category` WHERE `id` = 126 LIMIT 1 [ RunTime:0.000104s ]
[ SQL ] SELECT `cate_name` FROM `gz_course_category` WHERE `id` = 127 AND `closed` = 0 LIMIT 1 [ RunTime:0.000095s ]
[ SQL ] SHOW COLUMNS FROM `gz_course_introduce` [ RunTime:0.000369s ]
[ SQL ] SELECT * FROM `gz_course_introduce` WHERE `cid` = 30 AND `closed` = 0 ORDER BY `orderby` desc [ RunTime:0.000121s ]
[ SQL ] SHOW COLUMNS FROM `gz_video_category` [ RunTime:0.000370s ]
[ SQL ] SELECT `id`,`cid`,`cate_name` FROM `gz_video_category` WHERE `cid` = 30 AND `closed` = 0 ORDER BY `orderby` asc [ RunTime:0.000113s ]
[ SQL ] SHOW COLUMNS FROM `gz_order` [ RunTime:0.000481s ]
[ SQL ] SELECT `uid` FROM `gz_order` WHERE `course_id` = 30 AND `pay_status` = 1 AND `closed` = 0 GROUP BY `uid` [ RunTime:0.000115s ]
[ SQL ] SHOW COLUMNS FROM `gz_user` [ RunTime:0.000529s ]
[ SQL ] SELECT `uid`,`uname`,`face` FROM `gz_user` WHERE `uid` IN (51) AND `closed` = 0 [ RunTime:0.000113s ]
[ SQL ] SELECT * FROM `gz_user` WHERE `uid` IS NULL AND `closed` = 0 LIMIT 1 [ RunTime:0.000176s ]
[ SQL ] SELECT `is_testitemshop` FROM `gz_show_switch` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000095s ]
[ SQL ] SHOW COLUMNS FROM `gz_testitem_bank` [ RunTime:0.000339s ]
[ SQL ] SELECT * FROM `gz_testitem_bank` WHERE `closed` = 0 AND `audit` = 1 AND `course_id` = 30 ORDER BY course_id asc [ RunTime:0.000131s ]
[ SQL ] SELECT `id` FROM `gz_video_category` WHERE `cid` = 30 AND `audit` = 1 [ RunTime:0.000100s ]
[ SQL ] SHOW COLUMNS FROM `gz_video` [ RunTime:0.000390s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `gz_video` WHERE `cid` = 30 AND `tid` IN (51,52) AND `audit` = 1 AND `live_id` = 0 AND `closed` = 0 LIMIT 1 [ RunTime:0.000138s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `gz_video` WHERE `cid` = 30 AND `tid` IN (51,52) AND `audit` = 1 AND `live_id` > 0 AND `closed` = 0 LIMIT 1 [ RunTime:0.000110s ]
[ SQL ] SHOW COLUMNS FROM `gz_study_record` [ RunTime:0.000337s ]
[ SQL ] SELECT `a`.`video_id`,`a`.`duration` FROM `gz_study_record` `a` INNER JOIN `gz_video` `b` ON `a`.`video_id`=`b`.`id` WHERE `a`.`user_id` IS NULL AND `a`.`closed` = 0 AND `a`.`course_id` = '30' AND `b`.`audit` = 1 AND `b`.`closed` = 0 ORDER BY a.update_time desc LIMIT 1 [ RunTime:0.000123s ]
[ SQL ] SELECT `id` FROM `gz_video` WHERE `cid` = 30 AND `closed` = 0 AND `audit` = 1 AND `live_id` = 0 ORDER BY orderby asc LIMIT 1 [ RunTime:0.000112s ]