chenjunkai 6 жил өмнө
parent
commit
c107fd7024

+ 2 - 2
Controller/CloudVod.py

@@ -153,8 +153,8 @@ class CloudVodView(View):
         if success and data["trade_status"] in ("TRADE_SUCCESS", "TRADE_FINISHED"):
             print("trade succeed")
             order_qs = Order_Model.objects.filter(orderID=orderID,status=0)
-            if not order_qs.exists():
-                return response.json(404)
+            # if not order_qs.exists():
+            #     return response.json(404)
             nowTime = int(time.time())
             order_qs.update(status=1, updTime=nowTime)
             order_list = order_qs.values("UID", "rank_id", "channel")