Exemplo n.º 1
0
 public function getTourDetailIndexModel($tourId)
 {
     $cmModel = new Admin\CommonModel();
     $photoModel = new Admin\AdminPhotoModel();
     $nationalList = $cmModel->getNationList();
     $locationList = $cmModel->getLocationList();
     $photoList = $photoModel->getImgReferList('tb_tours', $tourId, 'TOUR_ID');
     $categoryList = $cmModel->getCategoryListByGroup('T');
     $tourDetail = array("adminTourDetail" => $this->getTourDetailMode($tourId), "nationalList" => $nationalList, "locationList" => $locationList, "photoList" => $photoList, "categoryList" => $categoryList);
     return $tourDetail;
 }
 public function getTourImage($tourId)
 {
     $photoModel = new Admin\AdminPhotoModel();
     $imgList = $photoModel->getImgReferList('tb_tours', $tourId, 'TOUR_ID');
     return view('', '');
 }