public function getAwardNumberListByDate($date) { $source = new \Lottery\Fetch\Source\Caipiao168kai(self::_168KAI_ID); $awardNumberList = $source->getAwardNumberListByDate($date); $date_prev = substr($date, 0, 2); foreach ($awardNumberList as &$awardNumber) { $awardNumber['expect'] = $date_prev . $awardNumber['expect']; } return $awardNumberList; }
public function getAwardNumberListByDate($date) { $source = new \Lottery\Fetch\Source\Caipiao168kai(self::_168KAI_ID); $awardNumberList = $source->getAwardNumberListByDate($date); return $awardNumberList; }
public function getAwardNumberListByDate($date) { $source = new \Lottery\Fetch\Source\Caipiao168kai(self::_168KAI_ID); $awardNumberList = $source->getAwardNumberListByDate($date); $date_prev = substr($date, 0, 2); foreach ($awardNumberList as &$awardNumber) { $awardNumber['number'] = explode(' ', $awardNumber['number']); unset($awardNumber['number'][20]); $awardNumber['number'] = implode(' ', $awardNumber['number']); } return $awardNumberList; }