PCH5列表

来自技术开发小组内部wiki
跳转至: 导航搜索

模块位置

application/models/activity/activity_state_model.php pc控制器、mobile控制器、api控制器等

主要函数

 public function get_new_activity_list($where,$orderby,$start=0,$offset=18,$type=true,$where2='',$sell_status='') 
 public function new_activity_list($where='',$orderby='null',$start=0,$offset=18,$type=true,$where2='',$sell_status='') 
 public function get_activity_list_common($condition=array(),$join='',$groupby='',$orderby='',$start=0,$limit=0,$return_data=0 ,$extra=array()) 
 public function get_destination_analysis($cond,$will_date='',$sell_stat=" ",$curr_province=0) 
 public function get_hotel_by_date($condition=array(),$orderby='',$start=0,$limit=0,$return_data=0,$extra=array()) 
 public function get_target_date_hotel_aid($date='',$city_id=0,$cate_id='',$plat_id=2,$dest_prov=0,$dest_city=0) 
 public function get_activity_type_by_aid($aids=array()) 
 public function get_activities_by_aid($aids=array(),$ordery =' ctime desc ',$start=0,$limit=0) 
 public function activity_area($city_id,$area_id,$arrchildid=0,$where='',$sell_status='') 
 public function get_activity_area_common($city_id,$area_id,$arrchildid=0,$sell_stat='',$where='',$other_area=0) 
 public function get_activity_hotel_area_common($city_id='',$arrchildid='',$sell_stat='',$condition=array(),$other_area=0) 
 public function get_keywords($c_id,$city_id,$where='',$sell_status='') 
 public function get_keywords_common($c_id,$city_id,$sell_stat='',$sell_status='') 
 public function get_keywords_hotel_common($c_id,$city_id,$sell_stat='',$condition=array()) 
 public function activity_cate_total($cate_id,$city_id,$where='',$sell_status='') 
 public function activity_cate_total_common($cate_id,$city_id,$where='',$sell_status='') 
 public function hot_recommend($city_id,$num,$from_plat=2) 
 public function get_hot_recommend($city_id,$num) 
 public function recommend_all($city_id,$number=5,$aid=0,$cond=array(),$order=' a.recommend desc ,a.aid desc ') 
 public function get_refer_recommend($city_id,$aid,$limit=5,$from_plat=2) 
 public function get_cate_child_infos($city_id,$parent_cate_id,$where2='',$sell_status='') 
 public function get_cate_child_count_common($city_id,$parent_cate_id,$sell_stat='16',$destination_provice_id=0,$dest_city_id=0) 
 public function get_cate_child_count_common_new($conditions,$sell_stat='16',$city_id,$parent_cate_id=0) 
 public function get_cate_child_hotel_count_common($condition=array() ,$parent_cate_id,$sell_stat='') 
 public function get_activity_group_info($aid) 
 public function acitivity_available_tickets($activity,$all=0) 
 public function hotel_have_rooms($ticket,$strict=2,$target_date='') 
 public function get_hotel_state(& $tickets=array()) 
 public function get_hotel_package($tickets=array(),$all=0) 
 public function get_hotel_refered_tickets($tickets,$all=0) 
 public function get_hotel_refered_tickets_state($tickets ,$all=0) 
 
 public function get_free_cate() 
 public function get_free_cate_sub() 
 public function get_top_data($city_id,$cate_id,$num,$orderby="",$info=array(),$from_app=2) 
 public function get_hotel_recommends($aid=0, $date='',$limit=3,$return_data=1,$from_plat=2) 
 public function get_hotel_recommends_pages($aid=0, $date='',$limit=10,$offset=0) 
 public function get_aids_of_hotel_recommends($aid=0, $date='',$limit=100,$from_plat=0) 
 public function get_hotel_by_range_date_or($start_date="2015-10-01",$end_date="2015-10-06", $cities=array(),$page=1,$per_page=20,$orderby='',$extra_field='') 
 public function get_hotel_by_range_date_or_new($start_date="2015-10-01",$end_date="2015-10-06",$page=1,$per_page=20,$orderby='',$extra_field='') 
 
 //初始化redis 产品信息
 public function init_product_state($extra=array()) 

其他文档

目的地查询 [[1]]

请参照相关pm文档