|
@@ -776,13 +776,13 @@ class CloudStorageView(View):
|
|
|
}
|
|
|
dvq.update(**dvq_set_update_dict)
|
|
|
|
|
|
- uid_main_exist = UIDMainUser.objects.filter(UID=UID)
|
|
|
- if not uid_main_exist.exists():
|
|
|
- uid_main_dict = {
|
|
|
- 'UID': UID,
|
|
|
- 'user_id': userid
|
|
|
- }
|
|
|
- UIDMainUser.objects.create(**uid_main_dict)
|
|
|
+ # uid_main_exist = UIDMainUser.objects.filter(UID=UID)
|
|
|
+ # if not uid_main_exist.exists():
|
|
|
+ # uid_main_dict = {
|
|
|
+ # 'UID': UID,
|
|
|
+ # 'user_id': userid
|
|
|
+ # }
|
|
|
+ # UIDMainUser.objects.create(**uid_main_dict)
|
|
|
|
|
|
order_qs.update(status=1, updTime=nowTime, uid_bucket_id=uid_bucket_id)
|
|
|
sys_msg_text_list = ['成功购买云存', 'Successful purchase of cloud storage']
|
|
@@ -881,13 +881,13 @@ class CloudStorageView(View):
|
|
|
}
|
|
|
dvq.update(**dvq_set_update_dict)
|
|
|
|
|
|
- uid_main_exist = UIDMainUser.objects.filter(UID=UID)
|
|
|
- if not uid_main_exist.exists():
|
|
|
- uid_main_dict = {
|
|
|
- 'UID': UID,
|
|
|
- 'user_id': userid
|
|
|
- }
|
|
|
- UIDMainUser.objects.create(**uid_main_dict)
|
|
|
+ # uid_main_exist = UIDMainUser.objects.filter(UID=UID)
|
|
|
+ # if not uid_main_exist.exists():
|
|
|
+ # uid_main_dict = {
|
|
|
+ # 'UID': UID,
|
|
|
+ # 'user_id': userid
|
|
|
+ # }
|
|
|
+ # UIDMainUser.objects.create(**uid_main_dict)
|
|
|
|
|
|
order_qs.update(status=1, updTime=nowTime, uid_bucket_id=uid_bucket_id)
|
|
|
sys_msg_text_list = ['成功购买云存','Successful purchase of cloud storage']
|
|
@@ -981,13 +981,13 @@ class CloudStorageView(View):
|
|
|
}
|
|
|
dvq.update(**dvq_set_update_dict)
|
|
|
|
|
|
- uid_main_exist = UIDMainUser.objects.filter(UID=UID)
|
|
|
- if not uid_main_exist.exists():
|
|
|
- uid_main_dict = {
|
|
|
- 'UID': UID,
|
|
|
- 'user_id': userid
|
|
|
- }
|
|
|
- UIDMainUser.objects.create(**uid_main_dict)
|
|
|
+ # uid_main_exist = UIDMainUser.objects.filter(UID=UID)
|
|
|
+ # if not uid_main_exist.exists():
|
|
|
+ # uid_main_dict = {
|
|
|
+ # 'UID': UID,
|
|
|
+ # 'user_id': userid
|
|
|
+ # }
|
|
|
+ # UIDMainUser.objects.create(**uid_main_dict)
|
|
|
|
|
|
order_qs.update(status=1, updTime=nowTime, uid_bucket_id=uid_bucket_id)
|
|
|
sys_msg_text_list = ['成功购买云存', 'Successful purchase of cloud storage']
|
|
@@ -1261,13 +1261,13 @@ class CloudStorageView(View):
|
|
|
}
|
|
|
dvq.update(**dvq_set_update_dict)
|
|
|
|
|
|
- uid_main_exist = UIDMainUser.objects.filter(UID=uid)
|
|
|
- if not uid_main_exist.exists():
|
|
|
- uid_main_dict = {
|
|
|
- 'UID': uid,
|
|
|
- 'user_id': userID
|
|
|
- }
|
|
|
- UIDMainUser.objects.create(**uid_main_dict)
|
|
|
+ # uid_main_exist = UIDMainUser.objects.filter(UID=uid)
|
|
|
+ # if not uid_main_exist.exists():
|
|
|
+ # uid_main_dict = {
|
|
|
+ # 'UID': uid,
|
|
|
+ # 'user_id': userID
|
|
|
+ # }
|
|
|
+ # UIDMainUser.objects.create(**uid_main_dict)
|
|
|
|
|
|
sys_msg_text_list = ['成功购买云存', 'Successful purchase of cloud storage']
|
|
|
# return response.json(0)
|