|
@@ -1335,6 +1335,11 @@ class CloudStorageView(View):
|
|
|
if not isLock:
|
|
|
return response.json(5)
|
|
|
|
|
|
+ if pay_type == 10: # 判断是否已体验过套餐
|
|
|
+ ec_qs = ExperienceContextModel.objects.filter(uid=uid, experience_type=0)
|
|
|
+ if ec_qs.exists():
|
|
|
+ return response.json(5)
|
|
|
+
|
|
|
if cdk is not None and pay_type == 11:
|
|
|
cdk_qs = CDKcontextModel.objects.filter(cdk=cdk).values('is_activate', 'rank__id', 'rank__commodity_code')
|
|
|
if not cdk_qs.exists():
|