|
|
|
|
@ -14,11 +14,11 @@ class OrderService
|
|
|
|
|
if(!$order) return ['status'=>false,'msg'=>'订单不存在'];
|
|
|
|
|
$buy_info=json_decode($order->buy_info,true);
|
|
|
|
|
$list=[];
|
|
|
|
|
$drop_ids = [519 ,603];
|
|
|
|
|
$drop_ids = ['519', '603'];
|
|
|
|
|
if($buy_info['combo']['id']<>0){
|
|
|
|
|
$combo_items=DB::table('combo_items')->where(['combo_id'=>$buy_info['combo']['id'],'status'=>1])->get();
|
|
|
|
|
foreach($combo_items as $item){
|
|
|
|
|
if(!in_array($item->item_id,$drop_ids)){
|
|
|
|
|
if(!in_array((string)$item->item_id,$drop_ids)){
|
|
|
|
|
$list[]=[
|
|
|
|
|
'item_id'=>$item->item_id,
|
|
|
|
|
'keshi_name'=>$item->keshi_name,
|
|
|
|
|
|