|
@@ -160,7 +160,10 @@ class InAppPurchaseView(View):
|
|
is_ai = store_qs[0]['is_ai']
|
|
is_ai = store_qs[0]['is_ai']
|
|
expire = store_qs[0]['expire']
|
|
expire = store_qs[0]['expire']
|
|
end_time = CommonService.calcMonthLater(expire)
|
|
end_time = CommonService.calcMonthLater(expire)
|
|
-
|
|
|
|
|
|
+ if UID_Bucket.objects.filter(orderID=order_id).exists():
|
|
|
|
+ return response.json(174, "订单已充值")
|
|
|
|
+ if Unused_Uid_Meal.objects.filter(order_id=order_id).exists():
|
|
|
|
+ return response.json(174, "订单已充值")
|
|
# 查询设备是否已开过云存
|
|
# 查询设备是否已开过云存
|
|
use_flag = True
|
|
use_flag = True
|
|
uid_bucket_qs = UID_Bucket.objects.filter(uid=uid). \
|
|
uid_bucket_qs = UID_Bucket.objects.filter(uid=uid). \
|