|
@@ -158,7 +158,7 @@ class ComboCronPushView(View):
|
|
|
total = cls.flow_split(item.flow_total)
|
|
|
usable = cls.flow_split(item.flow_total - item.flow_total_usage)
|
|
|
msg = False
|
|
|
- if item.type != 0 and item != 1:
|
|
|
+ if item.type != 0 and item.type != 1:
|
|
|
unicom_order_qs = UnicomComboOrderInfo.objects.filter(id=item.combo_order_id) \
|
|
|
.values('combo__combo_name')
|
|
|
combo_name = unicom_order_qs.first()['combo__combo_name'] if unicom_order_qs.exists() else ''
|