|
@@ -464,7 +464,7 @@ class AiView(View):
|
|
|
Order_Model.objects.create(orderID=orderID, UID=uid, channel=channel, userID_id=userID,
|
|
|
desc=content, payType=pay_type, payTime=nowTime, price=price,
|
|
|
currency=currency, addTime=nowTime, updTime=nowTime, pay_url=pay_url,
|
|
|
- paymentID=paymentID, ai_rank_id=ai_meal_id)
|
|
|
+ paymentID=paymentID, ai_rank_id=ai_meal_id, rank_id=1)
|
|
|
return response.json(0, {"redirectUrl": pay_url, "orderID": orderID})
|
|
|
return response.json(10, 'create_ai_order_failed')
|
|
|
|