|
@@ -1030,7 +1030,7 @@ class CloudStorageView(View):
|
|
|
price=price, currency=currency, addTime=nowTime, updTime=nowTime,
|
|
|
pay_url=approval_url, isSelectDiscounts=is_select_discount,
|
|
|
commodity_code=commodity_code, commodity_type=commodity_type,
|
|
|
- rank_id=rank, lang=lang)
|
|
|
+ rank_id=rank)
|
|
|
return response.json(0, {"redirectUrl": approval_url, "orderID": orderID})
|
|
|
return response.json(10, 'generate_order_false')
|
|
|
elif pay_type == 2:
|
|
@@ -1073,7 +1073,7 @@ class CloudStorageView(View):
|
|
|
price=price, currency=currency, addTime=nowTime, updTime=nowTime,
|
|
|
pay_url=redirectUrl, isSelectDiscounts=is_select_discount,
|
|
|
commodity_code=commodity_code, commodity_type=commodity_type,
|
|
|
- rank_id=rank, lang=lang)
|
|
|
+ rank_id=rank)
|
|
|
|
|
|
return JsonResponse(status=200, data={'result_code': 0, 'reason': 'success',
|
|
|
'result': {"redirectUrl": redirectUrl, "orderID": orderID},
|
|
@@ -1100,7 +1100,7 @@ class CloudStorageView(View):
|
|
|
desc=content, payType=pay_type, payTime=nowTime,
|
|
|
price=price, currency=currency, addTime=nowTime, updTime=nowTime,
|
|
|
pay_url=notify_url, isSelectDiscounts=is_select_discount,
|
|
|
- commodity_code=commodity_code, commodity_type=commodity_type, rank_id=rank, lang=lang)
|
|
|
+ commodity_code=commodity_code, commodity_type=commodity_type, rank_id=rank)
|
|
|
return JsonResponse(status=200, data={'result_code': 0, 'reason': 'success',
|
|
|
'result': response,
|
|
|
'orderId': orderID,
|