|
@@ -136,6 +136,13 @@ class InAppPurchaseView(View):
|
|
created_time=int(time.time()), updated_time=int(time.time()),
|
|
created_time=int(time.time()), updated_time=int(time.time()),
|
|
access_result="SUCCESS")
|
|
access_result="SUCCESS")
|
|
|
|
|
|
|
|
+ if Order_Model.objects.filter(orderID=order_id, transaction_id=transaction_id).exists():
|
|
|
|
+ return response.json(174, "订单已支付充值")
|
|
|
|
+ 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, "订单已充值")
|
|
|
|
+
|
|
# 查询交易信息
|
|
# 查询交易信息
|
|
attempts = 0
|
|
attempts = 0
|
|
while attempts < 6:
|
|
while attempts < 6:
|