コード例 #1
0
 /**
  * 获取游标ID
  * @return int
  */
 protected function initFileData()
 {
     if (file_exists($this->jobIdLog)) {
         $this->id = intval(file_get_contents($this->jobIdLog));
     } else {
         $this->id = 0;
     }
     $this->maxId = Model_Broker_AjkBrokerExtend::getBrokerMaxId();
 }