|
@@ -666,11 +666,12 @@ class UnicomComboView(View):
|
|
order_id = CommonService.createOrderID()
|
|
order_id = CommonService.createOrderID()
|
|
rank_id, ai_rank_id = cls.get_cloud_or_ai_combo()
|
|
rank_id, ai_rank_id = cls.get_cloud_or_ai_combo()
|
|
|
|
|
|
|
|
+ order_type = 2 if unicom_device_qs['card_type'] == 0 else 5
|
|
order_dict = {'rank_id': rank_id, 'ai_rank_id': ai_rank_id, 'orderID': order_id, 'UID': device_uid,
|
|
order_dict = {'rank_id': rank_id, 'ai_rank_id': ai_rank_id, 'orderID': order_id, 'UID': device_uid,
|
|
'userID_id': user_id, 'desc': unicom_combo_qs['combo_name'], 'payType': pay_type,
|
|
'userID_id': user_id, 'desc': unicom_combo_qs['combo_name'], 'payType': pay_type,
|
|
'payTime': now_time, 'price': price, 'currency': 'CNY', 'addTime': now_time,
|
|
'payTime': now_time, 'price': price, 'currency': 'CNY', 'addTime': now_time,
|
|
'updTime': now_time,
|
|
'updTime': now_time,
|
|
- 'unify_combo_id': str(unicom_combo_qs['id']), 'order_type': 2,
|
|
|
|
|
|
+ 'unify_combo_id': str(unicom_combo_qs['id']), 'order_type': order_type,
|
|
'store_meal_name': unicom_combo_qs['combo_name']
|
|
'store_meal_name': unicom_combo_qs['combo_name']
|
|
}
|
|
}
|
|
|
|
|