Explorar el Código

增加了rank字段以及代码里删除了paypal字段

lang hace 5 años
padre
commit
8ae217133b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Controller/CloudVod.py

+ 1 - 1
Controller/CloudVod.py

@@ -248,7 +248,7 @@ class CloudVodView(View):
             redirectUrl = aliPayObj.alipay_prefix + order_string
             redirectUrl = aliPayObj.alipay_prefix + order_string
             Order_Model.objects.create(orderID=orderID, UID=uid, channel=channel, userID_id=userID, desc=content,
             Order_Model.objects.create(orderID=orderID, UID=uid, channel=channel, userID_id=userID, desc=content,
                                        price=price, currency=currency, addTime=nowTime, updTime=nowTime,
                                        price=price, currency=currency, addTime=nowTime, updTime=nowTime,
-                                       endTime=nowTime + int(day) * 3600 * 24, rank_id=rank, paypal='', payType=1)
+                                       endTime=nowTime + int(day) * 3600 * 24, rank_id=rank, payType=1)
             return JsonResponse(status=200,
             return JsonResponse(status=200,
                                 data={'result_code': 0, 'reason': 'success',
                                 data={'result_code': 0, 'reason': 'success',
                                       'result': {"redirectUrl": redirectUrl, "orderID": orderID},
                                       'result': {"redirectUrl": redirectUrl, "orderID": orderID},