SHOW COLUMNS FROM `bh_district` [ RunTime:0.000275s ]
SELECT `Id`,`name`,`pinyin`,`enabled` FROM `bh_district` WHERE ( level=2 AND pinyin='haozhou' ) LIMIT 1 [ RunTime:0.000165s ]
SELECT `Id`,`name` FROM `bh_district` WHERE ( level=3 AND upid=154 ) [ RunTime:0.000493s ]
SHOW COLUMNS FROM `bh_attr` [ RunTime:0.000170s ]
SELECT `Id`,`topic` FROM `bh_attr` WHERE ( enabled=1 AND attrid=1 ) ORDER BY ord ASC [ RunTime:0.000090s ]
SHOW COLUMNS FROM `bh_proctag` [ RunTime:0.000142s ]
SELECT `Id`,`topic` FROM `bh_proctag` WHERE ( enabled=1 ) ORDER BY ord ASC [ RunTime:0.000075s ]
SELECT `Id`,`topic` FROM `bh_attr` WHERE ( attrid=2 ) [ RunTime:0.000053s ]
SELECT `Id`,`topic` FROM `bh_proctag` WHERE ( enabled=1 ) ORDER BY ord ASC [ RunTime:0.000062s ]
SHOW COLUMNS FROM `bh_promtag` [ RunTime:0.000140s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=1 ) LIMIT 5 [ RunTime:0.000099s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=1 ) LIMIT 20 [ RunTime:0.000068s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=2 ) LIMIT 5 [ RunTime:0.000062s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=2 ) LIMIT 20 [ RunTime:0.000062s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=3 ) LIMIT 5 [ RunTime:0.000068s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=3 ) LIMIT 20 [ RunTime:0.000068s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=4 ) LIMIT 5 [ RunTime:0.000085s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=4 ) LIMIT 20 [ RunTime:0.000076s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=5 ) LIMIT 5 [ RunTime:0.000065s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=5 ) LIMIT 20 [ RunTime:0.000062s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=6 ) LIMIT 5 [ RunTime:0.000060s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=6 ) LIMIT 20 [ RunTime:0.000069s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=7 ) LIMIT 5 [ RunTime:0.000066s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=7 ) LIMIT 20 [ RunTime:0.000057s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=8 ) LIMIT 5 [ RunTime:0.000069s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=8 ) LIMIT 20 [ RunTime:0.000062s ]
SHOW COLUMNS FROM `bh_online` [ RunTime:0.000157s ]
SELECT `stime`,`etime` FROM `bh_online` WHERE `action` = 'index/index' AND `ip` = '3.138.125.4' AND `day` = '2025-05-17' LIMIT 1 [ RunTime:0.000804s ]
INSERT INTO `bh_online` (`action`,`refer`,`ip`,`uid`,`agent`,`day`,`stime`) VALUES ('index/index','--','3.138.125.4',0,'other','2025-05-17',1747435295) [ RunTime:0.000805s ]
SHOW COLUMNS FROM `bh_aboutus` [ RunTime:0.000187s ]
SELECT `Id`,`topic` FROM `bh_aboutus` WHERE `sty` = 1 AND `enabled` = 1 ORDER BY ord ASC [ RunTime:0.000120s ]
SHOW COLUMNS FROM `bh_information` [ RunTime:0.000199s ]
SELECT `Id`,`topic` FROM `bh_information` WHERE `sty` = 2 AND `enabled` = 1 AND `inftype` = 3 ORDER BY ord ASC [ RunTime:0.000163s ]
SELECT `Id`,`topic` FROM `bh_information` WHERE `sty` = 2 AND `enabled` = 1 AND `inftype` = 4 ORDER BY ord ASC [ RunTime:0.000131s ]
SHOW COLUMNS FROM `bh_user` [ RunTime:0.000428s ]
SELECT `Id`,`realname`,`phone`,`tel`,`qq`,`weixin`,`address`,`weixinpic`,`banner`,`email`,`qun` FROM `bh_user` WHERE `agentcid` = 154 LIMIT 1 [ RunTime:0.000188s ]
SHOW COLUMNS FROM `bh_links` [ RunTime:0.000152s ]
SELECT `topic`,`linkurl` FROM `bh_links` WHERE ( enabled=1 AND sty=1 AND uid=0 ) ORDER BY ord ASC [ RunTime:0.000079s ]
SELECT `topic`,`linkurl`,`pic` FROM `bh_links` WHERE ( enabled=1 AND sty=2 AND uid=0 ) ORDER BY ord ASC [ RunTime:0.000056s ]
SELECT `Id`,`user`,`realname`,`subjectid`,`region`,`intro`,`isauth`,`userface`,`isvip`,`is_online`,`sex`,`reg_time`,`nowstatus` FROM `bh_user` WHERE `is_stu_or_tea` = 1 AND `isrecom` = 1 AND `islogin` = 1 AND `isauth` = 1 AND `isopen` = 1 AND `city` = 154 ORDER BY fresh DESC,isrecom DESC,Id DESC LIMIT 6 [ RunTime:0.000184s ]
SELECT `Id`,`user`,`realname`,`subjectid`,`region`,`intro`,`isauth`,`userface`,`isvip`,`is_online`,`sex`,`reg_time`,`nowstatus` FROM `bh_user` WHERE `is_stu_or_tea` = 2 AND `isrecom` = 1 AND `islogin` = 1 AND `isauth` = 1 AND `isopen` = 1 AND `city` = 154 ORDER BY fresh DESC,isrecom DESC,Id DESC LIMIT 6 [ RunTime:0.000159s ]
SELECT `Id`,`user`,`realname`,`subjectid`,`region`,`intro`,`isauth`,`userface`,`isvip`,`is_online`,`university`,`major` FROM `bh_user` WHERE `is_star` = 1 AND `isrecom` = 1 AND `islogin` = 1 AND `isauth` = 1 AND `isopen` = 1 AND `city` = 154 ORDER BY fresh DESC,isrecom DESC,Id DESC LIMIT 6 [ RunTime:0.000148s ]
SELECT `Id`,`user`,`realname`,`subjectid`,`region`,`intro`,`isauth`,`userface`,`isvip`,`is_online`,`university`,`major` FROM `bh_user` WHERE `is_special` = 1 AND `isrecom` = 1 AND `islogin` = 1 AND `isauth` = 1 AND `isopen` = 1 AND `city` = 154 ORDER BY fresh DESC,isrecom DESC,Id DESC LIMIT 6 [ RunTime:0.000145s ]
SELECT `Id`,name topic FROM `bh_district` WHERE ( level=3 AND upid=154 ) [ RunTime:0.000514s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( ctag=5 ) [ RunTime:0.000081s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( ctag=7 ) [ RunTime:0.000057s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( ctag=2 ) [ RunTime:0.000058s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( ctag=3 ) [ RunTime:0.000062s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( ctag=4 ) [ RunTime:0.000067s ]
SHOW COLUMNS FROM `bh_university` [ RunTime:0.000164s ]
SELECT `Id`,name topic FROM `bh_university` WHERE `enable` = 1 AND `index_tuijian` = 1 AND `cityid` = 154 ORDER BY number asc [ RunTime:0.000512s ]
SELECT `Id`,`topic`,`pic`,`intro`,`date` FROM `bh_information` WHERE ( enabled=1 AND sty=1 AND inftype=1 AND cityid in (0,154) ) ORDER BY istop DESC,ord ASC,date DESC LIMIT 9 [ RunTime:0.000220s ]
SELECT `Id`,`topic`,`pic`,`intro`,`date` FROM `bh_information` WHERE ( enabled=1 AND sty=1 AND inftype=11 AND city=154 ) ORDER BY istop DESC,ord ASC,date DESC LIMIT 11 [ RunTime:0.000208s ]
SELECT `Id`,`topic`,`pic`,`intro`,`date` FROM `bh_information` WHERE ( enabled=1 AND sty=1 AND inftype=14 AND cityid in (0,154) ) ORDER BY istop DESC,ord ASC,date DESC LIMIT 8 [ RunTime:0.000155s ]
SELECT `Id`,`topic`,`pic`,`intro`,`date` FROM `bh_information` WHERE ( enabled=1 AND sty=1 AND inftype=15 AND cityid in (0,154) ) ORDER BY istop DESC,ord ASC,date DESC LIMIT 8 [ RunTime:0.000116s ]
SELECT `Id`,`topic`,`pic`,`intro`,`date` FROM `bh_information` WHERE ( enabled=1 AND sty=1 AND inftype=16 AND cityid in (0,154) ) ORDER BY istop DESC,ord ASC,date DESC LIMIT 8 [ RunTime:0.000146s ]
SELECT `Id`,`topic`,`pic`,`intro`,`date` FROM `bh_information` WHERE ( enabled=1 AND sty=1 AND inftype=17 AND cityid in (0,154) ) ORDER BY istop DESC,ord ASC,date DESC LIMIT 8 [ RunTime:0.000190s ]
SELECT `Id`,`topic`,`pic`,`intro`,`date` FROM `bh_information` WHERE ( enabled=1 AND sty=1 AND inftype=18 AND cityid in (0,154) ) ORDER BY istop DESC,ord ASC,date DESC LIMIT 8 [ RunTime:0.000150s ]
SELECT `Id`,`topic`,`pic`,`intro`,`date` FROM `bh_information` WHERE ( enabled=1 AND sty=1 AND inftype=19 AND cityid in (0,154) ) ORDER BY istop DESC,ord ASC,date DESC LIMIT 8 [ RunTime:0.000134s ]
SHOW COLUMNS FROM `bh_tutor` [ RunTime:0.000242s ]
SELECT `Id`,`date`,`subjectid`,`subject`,`region`,`grade`,`address`,`standard`,`tutorrequire` FROM `bh_tutor` WHERE `enabled` = 1 AND `isrecom` = 1 AND `city` = 154 ORDER BY Id DESC LIMIT 6 [ RunTime:0.000129s ]
SHOW COLUMNS FROM `bh_appoint` [ RunTime:0.000205s ]
SELECT `Id`,`uid`,`stuid`,`topic`,`tutorid` FROM `bh_appoint` WHERE ( result=1 AND region in(1509,1510,1511,1512) ) ORDER BY date DESC LIMIT 10 [ RunTime:0.000079s ]
SELECT * FROM `bh_links` WHERE ( enabled=1 AND sty=1 AND uid=0 ) [ RunTime:0.000067s ]
SELECT COUNT(*) AS tp_count FROM `bh_user` WHERE ( isagents=1 AND city=154 ) LIMIT 1 [ RunTime:0.000159s ]
SELECT COUNT(*) AS tp_count FROM `bh_user` WHERE ( isagents=0 AND city=154 ) LIMIT 1 [ RunTime:0.000121s ]