SHOW COLUMNS FROM `bh_district` [ RunTime:0.028793s ]
SELECT `Id`,`name` FROM `bh_district` WHERE ( level=3 AND upid=211 ) [ RunTime:0.000203s ]
SHOW COLUMNS FROM `bh_attr` [ RunTime:0.187523s ]
SELECT `Id`,`topic` FROM `bh_attr` WHERE ( enabled=1 AND attrid=1 ) ORDER BY ord ASC [ RunTime:0.000363s ]
SHOW COLUMNS FROM `bh_proctag` [ RunTime:0.044507s ]
SELECT `Id`,`topic` FROM `bh_proctag` WHERE ( enabled=1 ) ORDER BY ord ASC [ RunTime:0.000332s ]
SELECT `Id`,`topic` FROM `bh_attr` WHERE ( attrid=2 ) [ RunTime:0.000137s ]
SELECT `Id`,`topic` FROM `bh_proctag` WHERE ( enabled=1 ) ORDER BY ord ASC [ RunTime:0.000126s ]
SHOW COLUMNS FROM `bh_promtag` [ RunTime:0.019998s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=1 ) LIMIT 5 [ RunTime:0.000183s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=1 ) LIMIT 20 [ RunTime:0.000256s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=2 ) LIMIT 5 [ RunTime:0.000118s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=2 ) LIMIT 20 [ RunTime:0.000123s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=7 ) LIMIT 5 [ RunTime:0.000112s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=7 ) LIMIT 20 [ RunTime:0.000128s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=3 ) LIMIT 5 [ RunTime:0.000158s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=3 ) LIMIT 20 [ RunTime:0.000120s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=4 ) LIMIT 5 [ RunTime:0.000236s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=4 ) LIMIT 20 [ RunTime:0.000128s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=5 ) LIMIT 5 [ RunTime:0.000114s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=5 ) LIMIT 20 [ RunTime:0.000112s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=6 ) LIMIT 5 [ RunTime:0.000250s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=6 ) LIMIT 20 [ RunTime:0.000108s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=8 ) LIMIT 5 [ RunTime:0.000115s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=8 ) LIMIT 20 [ RunTime:0.000110s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=9 ) LIMIT 5 [ RunTime:0.000121s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=9 ) LIMIT 20 [ RunTime:0.000105s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=10 ) LIMIT 5 [ RunTime:0.000105s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=10 ) LIMIT 20 [ RunTime:0.000097s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND iscom=1 AND ctag=12 ) LIMIT 5 [ RunTime:0.000144s ]
SELECT `Id`,`topic` FROM `bh_promtag` WHERE ( enabled=1 AND ctag=12 ) LIMIT 20 [ RunTime:0.000103s ]
SHOW COLUMNS FROM `bh_online` [ RunTime:0.022481s ]
SELECT `stime`,`etime` FROM `bh_online` WHERE `action` = 'Teacher/detail/id/28' AND `ip` = '3.15.140.40' AND `day` = '2025-01-04' LIMIT 1 [ RunTime:0.001728s ]
INSERT INTO `bh_online` (`action`,`refer`,`ip`,`uid`,`agent`,`day`,`stime`) VALUES ('Teacher/detail/id/28','--','3.15.140.40',0,'other','2025-01-04',1735936332) [ RunTime:0.002519s ]
SHOW COLUMNS FROM `bh_aboutus` [ RunTime:0.019992s ]
SELECT `Id`,`topic` FROM `bh_aboutus` WHERE `sty` = 1 AND `enabled` = 1 ORDER BY ord ASC [ RunTime:0.000148s ]
SHOW COLUMNS FROM `bh_information` [ RunTime:0.018729s ]
SELECT `Id`,`topic` FROM `bh_information` WHERE `sty` = 2 AND `enabled` = 1 AND `inftype` = 3 ORDER BY ord ASC [ RunTime:0.000159s ]
SELECT `Id`,`topic` FROM `bh_information` WHERE `sty` = 2 AND `enabled` = 1 AND `inftype` = 4 ORDER BY ord ASC [ RunTime:0.000155s ]
SHOW COLUMNS FROM `bh_user` [ RunTime:0.023822s ]
SELECT `Id`,`realname`,`phone`,`tel`,`qq`,`weixin`,`address`,`weixinpic`,`banner`,`email`,`qun` FROM `bh_user` WHERE `agentcid` = 211 LIMIT 1 [ RunTime:0.001812s ]
SHOW COLUMNS FROM `bh_links` [ RunTime:0.017650s ]
SELECT `topic`,`linkurl` FROM `bh_links` WHERE ( enabled=1 AND sty=1 AND uid=0 ) ORDER BY ord ASC [ RunTime:0.000784s ]
SHOW COLUMNS FROM `bh_procomment` [ RunTime:0.021142s ]
SELECT `proname`,`uid`,`teacherid`,`content` FROM `bh_procomment` WHERE `enabled` = 1 AND `score` = 5 ORDER BY date DESC LIMIT 5 [ RunTime:0.000326s ]
SELECT `Id`,`userface`,`realname`,`nowstatus`,`goodsub` FROM `bh_user` WHERE ( isopen=1 AND isauth=1 AND isagents=1 AND isvip=1 ) ORDER BY Id DESC LIMIT 6 [ RunTime:0.000161s ]
SELECT `topic` FROM `bh_promtag` WHERE `Id` = 23 LIMIT 1 [ RunTime:0.000110s ]
SELECT `topic` FROM `bh_attr` WHERE `Id` = 18 LIMIT 1 [ RunTime:0.000219s ]
SELECT `pic`,`intro` FROM `bh_aboutus` WHERE ( Id=1 ) LIMIT 1 [ RunTime:0.000119s ]
SELECT `Id`,`identity`,`totalconsume`,`isagents`,`admin_id`,`user`,`realname`,`usernumber`,`email`,`passlev`,`userface`,`unionid`,`weixin`,`weixinopenid`,`weixinname`,`weixinface`,`weixinpic`,`qqopenid`,`qqname`,`qqface`,`level`,`exp`,`integral`,`otheramount`,`frezeamount`,`brokerageamount`,`activecode`,`isactive`,`phone`,`phonecheck`,`tel`,`qq`,`sex`,`birthday`,`province`,`city`,`region`,`street`,`address`,`intro`,`reg_time`,`last_time`,`loginday`,`last_ip`,`visit_count`,`hit`,`islogin`,`universitycity`,`nowstatus`,`major`,`grade`,`university`,`experience`,`coursefee`,`onsaleinfo`,`ctag`,`subjectid`,`goodsub`,`coursearea`,`classtime`,`honour`,`isauth`,`subauth`,`authtime`,`isopen`,`isrecom`,`isperfect`,`idcard`,`idcardpic`,`isvip`,`fresh`,`last_sign`,`isdeposit`,`weiboid`,`weiboface`,`weiboname`,`unpromise1`,`unpromise2`,`unpromise3`,`unpromiseintro1`,`unpromiseintro2`,`unpromiseintro3`,`iscontract`,`contracttime`,`agentpid`,`agentcid`,`banner`,`qun` FROM `bh_user` WHERE `Id` = 28 AND `islogin` = 1 AND `isagents` = 1 LIMIT 1 [ RunTime:0.002325s ]
SHOW COLUMNS FROM `bh_appoint` [ RunTime:0.018224s ]
SELECT COUNT(*) AS tp_count FROM `bh_appoint` WHERE `uid` = 28 AND `result` = 1 LIMIT 1 [ RunTime:0.000130s ]
SELECT COUNT(*) AS tp_count FROM `bh_procomment` WHERE `teacherid` = 28 LIMIT 1 [ RunTime:0.000110s ]
SELECT SUM(score) AS tp_sum FROM `bh_procomment` WHERE `teacherid` = 28 LIMIT 1 [ RunTime:0.001614s ]
SELECT * FROM `bh_procomment` WHERE `teacherid` = 28 AND `enabled` = 1 ORDER BY date desc LIMIT 5 [ RunTime:0.000367s ]
SELECT `topic` FROM `bh_attr` WHERE `Id` = 18 LIMIT 1 [ RunTime:0.000254s ]
SELECT `userface`,`weixinopenid`,`weixinface`,`qqopenid`,`qqface` FROM `bh_user` WHERE ( Id=28 ) LIMIT 1 [ RunTime:0.000124s ]
SELECT `topic` FROM `bh_attr` WHERE `Id` = 18 LIMIT 1 [ RunTime:0.000238s ]
SELECT `topic` FROM `bh_promtag` WHERE `Id` = 46 LIMIT 1 [ RunTime:0.000317s ]
SELECT `topic` FROM `bh_promtag` WHERE `Id` = 47 LIMIT 1 [ RunTime:0.000138s ]
SELECT `topic` FROM `bh_promtag` WHERE `Id` = 48 LIMIT 1 [ RunTime:0.000104s ]
SELECT `topic` FROM `bh_promtag` WHERE `Id` = 49 LIMIT 1 [ RunTime:0.000098s ]
SELECT `topic` FROM `bh_promtag` WHERE `Id` = 2 LIMIT 1 [ RunTime:0.000120s ]
SELECT `userface`,`weixinopenid`,`weixinface`,`qqopenid`,`qqface` FROM `bh_user` WHERE ( Id=1 ) LIMIT 1 [ RunTime:0.000115s ]