|
|
@@ -83,6 +83,7 @@ class GroupActivityLogic extends BaseLogic
|
|
|
'participant_num','origin_price','price','form_time_limit','area'
|
|
|
])->findOrEmpty()->toArray();
|
|
|
$detail['is_paid'] = 0;
|
|
|
+ $detail['order_id'] = 0;
|
|
|
$detail['activity']['area'] = explode(",",$detail['activity']['area']);
|
|
|
|
|
|
$detail['users'] = GroupUserOrder::alias('a')
|
|
|
@@ -98,6 +99,7 @@ class GroupActivityLogic extends BaseLogic
|
|
|
}
|
|
|
if ($item['user_id'] == $user_id) {
|
|
|
$detail['is_paid'] = 1;
|
|
|
+ $detail['order_id'] = $item['id'];
|
|
|
}
|
|
|
}
|
|
|
//如果开启了模拟成团,成团后,自动填补剩余人数
|