[ SQL ] SELECT * FROM `gz_config` WHERE `closed` = 0 LIMIT 1 [ RunTime:0.000455s ]
[ SQL ] SELECT * FROM `gz_config` WHERE `closed` = 0 LIMIT 1 [ RunTime:0.000368s ]
[ SQL ] SELECT `is_showask` FROM `gz_show_switch` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000270s ]
[ SQL ] SELECT `is_live` FROM `gz_show_switch` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000694s ]
[ SQL ] SHOW COLUMNS FROM `gz_webmenu` [ RunTime:0.001018s ]
[ 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.000293s ]
[ SQL ] SHOW COLUMNS FROM `gz_link` [ RunTime:0.001040s ]
[ SQL ] SELECT `title`,`url` FROM `gz_link` WHERE `status` = 1 AND `closed` = 0 ORDER BY orderby desc [ RunTime:0.000280s ]
[ SQL ] SHOW COLUMNS FROM `gz_course` [ RunTime:0.001063s ]
[ SQL ] SELECT * FROM `gz_course` WHERE `closed` = 0 AND `cid` = 30 ORDER BY orderby desc LIMIT 1 [ RunTime:0.000362s ]
[ SQL ] SHOW COLUMNS FROM `gz_course_category` [ RunTime:0.000940s ]
[ SQL ] SELECT `cate_name` FROM `gz_course_category` WHERE `id` = 126 LIMIT 1 [ RunTime:0.000224s ]
[ SQL ] SELECT `cate_name` FROM `gz_course_category` WHERE `id` = 127 AND `closed` = 0 LIMIT 1 [ RunTime:0.000189s ]
[ SQL ] SHOW COLUMNS FROM `gz_course_introduce` [ RunTime:0.000915s ]
[ SQL ] SELECT * FROM `gz_course_introduce` WHERE `cid` = 30 AND `closed` = 0 ORDER BY `orderby` desc [ RunTime:0.000238s ]
[ SQL ] SHOW COLUMNS FROM `gz_video_category` [ RunTime:0.001631s ]
[ SQL ] SELECT `id`,`cid`,`cate_name` FROM `gz_video_category` WHERE `cid` = 30 AND `closed` = 0 ORDER BY `orderby` asc [ RunTime:0.000309s ]
[ SQL ] SHOW COLUMNS FROM `gz_order` [ RunTime:0.001518s ]
[ SQL ] SELECT `uid` FROM `gz_order` WHERE `course_id` = 30 AND `pay_status` = 1 AND `closed` = 0 GROUP BY `uid` [ RunTime:0.000271s ]
[ SQL ] SHOW COLUMNS FROM `gz_user` [ RunTime:0.001746s ]
[ SQL ] SELECT `uid`,`uname`,`face` FROM `gz_user` WHERE `uid` IN (51,58,59) AND `closed` = 0 [ RunTime:0.000290s ]
[ SQL ] SELECT * FROM `gz_user` WHERE `uid` IS NULL AND `closed` = 0 LIMIT 1 [ RunTime:0.000358s ]
[ SQL ] SELECT `is_testitemshop` FROM `gz_show_switch` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000405s ]
[ SQL ] SHOW COLUMNS FROM `gz_testitem_bank` [ RunTime:0.000819s ]
[ SQL ] SELECT * FROM `gz_testitem_bank` WHERE `closed` = 0 AND `audit` = 1 AND `course_id` = 30 ORDER BY course_id asc [ RunTime:0.000256s ]
[ SQL ] SELECT `id` FROM `gz_video_category` WHERE `cid` = 30 AND `audit` = 1 [ RunTime:0.000189s ]
[ SQL ] SHOW COLUMNS FROM `gz_video` [ RunTime:0.001160s ]
[ 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.000290s ]
[ 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.000228s ]
[ SQL ] SHOW COLUMNS FROM `gz_study_record` [ RunTime:0.000998s ]
[ 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.000338s ]
[ 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.000216s ]