作者 耿培杰

修改接口

@@ -25,8 +25,8 @@ class Car extends Model @@ -25,8 +25,8 @@ class Car extends Model
25 } 25 }
26 26
27 public function selectPageData($where,$page,$limit,$lang){ 27 public function selectPageData($where,$page,$limit,$lang){
28 - if ($lang == 'ch') $field = 'c.id car_id,c.createtime,cou.ch_name country_name,c.number,g.id goods_id,g.ch_name name,g.image,g.goods_price,g.group_price,g.vip_price,g.is_vip_price,g.is_group';  
29 - else $field = 'c.id car_id,c.createtime,cou.en_name country_name,c.number,g.id goods_id,g.en_name name,g.image,g.goods_price,g.group_price,g.vip_price,g.is_vip_price,g.is_group'; 28 + if ($lang == 'ch') $field = 'c.id car_id,c.createtime,cou.ch_name country_name,c.number,c.type,g.id goods_id,g.ch_name name,g.image,g.goods_price,g.group_price,g.vip_price,g.is_vip_price,g.is_group';
  29 + else $field = 'c.id car_id,c.createtime,cou.en_name country_name,c.number,c.type,g.id goods_id,g.en_name name,g.image,g.goods_price,g.group_price,g.vip_price,g.is_vip_price,g.is_group';
30 30
31 $total =$this->alias('c') 31 $total =$this->alias('c')
32 ->where($where) 32 ->where($where)