[ SQL ] SELECT * FROM `gz_config` WHERE `closed` = 0 LIMIT 1 [ RunTime:0.000424s ]
[ SQL ] SELECT * FROM `gz_config` WHERE `closed` = 0 LIMIT 1 [ RunTime:0.000287s ]
[ SQL ] SELECT `is_showask` FROM `gz_show_switch` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000162s ]
[ SQL ] SELECT `is_live` FROM `gz_show_switch` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000130s ]
[ SQL ] SHOW COLUMNS FROM `gz_webmenu` [ RunTime:0.000492s ]
[ 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.000175s ]
[ SQL ] SHOW COLUMNS FROM `gz_link` [ RunTime:0.000447s ]
[ SQL ] SELECT `title`,`url` FROM `gz_link` WHERE `status` = 1 AND `closed` = 0 ORDER BY orderby desc [ RunTime:0.000159s ]
[ SQL ] SHOW COLUMNS FROM `gz_course` [ RunTime:0.000725s ]
[ SQL ] SELECT * FROM `gz_course` WHERE `closed` = 0 AND `cid` = 30 ORDER BY orderby desc LIMIT 1 [ RunTime:0.000258s ]
[ SQL ] SHOW COLUMNS FROM `gz_course_category` [ RunTime:0.000524s ]
[ SQL ] SELECT `cate_name` FROM `gz_course_category` WHERE `id` = 126 LIMIT 1 [ RunTime:0.000117s ]
[ SQL ] SELECT `cate_name` FROM `gz_course_category` WHERE `id` = 127 AND `closed` = 0 LIMIT 1 [ RunTime:0.000175s ]
[ SQL ] SHOW COLUMNS FROM `gz_course_introduce` [ RunTime:0.000663s ]
[ SQL ] SELECT * FROM `gz_course_introduce` WHERE `cid` = 30 AND `closed` = 0 ORDER BY `orderby` desc [ RunTime:0.000204s ]
[ SQL ] SHOW COLUMNS FROM `gz_video_category` [ RunTime:0.000608s ]
[ SQL ] SELECT `id`,`cid`,`cate_name` FROM `gz_video_category` WHERE `cid` = 30 AND `closed` = 0 ORDER BY `orderby` asc [ RunTime:0.000210s ]
[ SQL ] SHOW COLUMNS FROM `gz_order` [ RunTime:0.000493s ]
[ SQL ] SELECT `uid` FROM `gz_order` WHERE `course_id` = 30 AND `pay_status` = 1 AND `closed` = 0 GROUP BY `uid` [ RunTime:0.000119s ]
[ SQL ] SHOW COLUMNS FROM `gz_user` [ RunTime:0.000568s ]
[ SQL ] SELECT `uid`,`uname`,`face` FROM `gz_user` WHERE `uid` IN (51,58,59) AND `closed` = 0 [ RunTime:0.000125s ]
[ SQL ] SELECT * FROM `gz_user` WHERE `uid` IS NULL AND `closed` = 0 LIMIT 1 [ RunTime:0.000201s ]
[ SQL ] SELECT `is_testitemshop` FROM `gz_show_switch` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000096s ]
[ SQL ] SHOW COLUMNS FROM `gz_testitem_bank` [ RunTime:0.000413s ]
[ SQL ] SELECT * FROM `gz_testitem_bank` WHERE `closed` = 0 AND `audit` = 1 AND `course_id` = 30 ORDER BY course_id asc [ RunTime:0.000157s ]
[ SQL ] SELECT `id` FROM `gz_video_category` WHERE `cid` = 30 AND `audit` = 1 [ RunTime:0.000097s ]
[ SQL ] SHOW COLUMNS FROM `gz_video` [ RunTime:0.000445s ]
[ 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.000128s ]
[ 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.000433s ]
[ 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.000128s ]
[ 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.000104s ]