|
|
|
|
@ -116,16 +116,12 @@ select combo_id as c_id,count(*) as count from orders where status in(2,4) group
|
|
|
|
|
]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//获取套餐类型
|
|
|
|
|
public function GetComboType()
|
|
|
|
|
//获取套餐类型、适用人群
|
|
|
|
|
public function GetComboSort()
|
|
|
|
|
{
|
|
|
|
|
$type=DB::table('combo_type')->get();
|
|
|
|
|
return \Yz::Return(true,"查询成功",['list'=>$type]);
|
|
|
|
|
}
|
|
|
|
|
//获取套餐适用人群分类
|
|
|
|
|
public function GetComboCrowd()
|
|
|
|
|
{
|
|
|
|
|
$list=DB::table('combo_crowd')->get();
|
|
|
|
|
return \Yz::Return(true,"查询成功",['list'=>$list]);
|
|
|
|
|
$crowd=DB::table('combo_crowd')->get();
|
|
|
|
|
return \Yz::Return(true,"查询成功",['type'=>$type,'crowd'=>$crowd]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|