chenjunkai hace 6 años
padre
commit
c107fd7024
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      Controller/CloudVod.py

+ 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")