Prechádzať zdrojové kódy

取消transaction_id使用限制

linhaohong 1 rok pred
rodič
commit
c6e3815c51
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      Controller/InAppPurchaseController.py

+ 1 - 1
Controller/InAppPurchaseController.py

@@ -104,7 +104,7 @@ class InAppPurchaseView(View):
             signed_transaction_info = transaction_info.signedTransactionInfo
             if Order_Model.objects.filter(payType=5, transaction_id=transaction_id).exists():
                 logger.info(f"该transaction_id已订阅过:{transaction_id}")
-                return response.json(10048)
+                # return response.json(10048)
 
             root_certificates = []
             for cert_name in [