Example #1
0
 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;
 }
Example #2
0
 public function getAwardNumberListByDate($date)
 {
     $source = new \Lottery\Fetch\Source\Caipiao168kai(self::_168KAI_ID);
     $awardNumberList = $source->getAwardNumberListByDate($date);
     return $awardNumberList;
 }
Example #3
0
 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;
 }