|
@@ -157,7 +157,7 @@ trait OrderStatus
|
|
|
}
|
|
|
|
|
|
// 有活动
|
|
|
- if (in_array($data['activity_type'], ['groupon', 'groupon_ladder', 'groupon_lucky'])) {
|
|
|
+ if (in_array($data['activity_type'], ['groupon', 'groupon_ladder', 'groupon_lucky']) && $this->status_code == 'groupon_ing') {
|
|
|
// 是拼团订单
|
|
|
if (isset($ext['groupon_id']) && $ext['groupon_id']) {
|
|
|
$btns[] = 'groupon'; // 拼团详情
|