public function run() { $thread = $this->_getThreadDs()->getThread($this->tid); list($lou) = explode("\t", $thread['inspect']); if ($this->lou > intval($lou) && $this->lou <= $thread['replies'] || !$thread['inspect']) { $inspect = $this->lou . "\t" . $this->username; Wind::import('SRV:forum.dm.PwTopicDm'); $topicDm = new PwTopicDm($thread['tid']); $topicDm->setInspect($inspect); $this->_getThreadDs()->updateThread($topicDm, PwThread::FETCH_MAIN); //管理日志入口 Wekit::load('log.srv.PwLogService')->addThreadManageLog($this->srv->user, 'readed', $this->srv->getData(), $this->_reason, $this->lou, true); } }