feat(pay): 新增获取订单状态接口
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
# @Desc :
|
||||
from pydantic import BaseModel
|
||||
|
||||
from core.base.schema import OrderStatusType
|
||||
|
||||
|
||||
class CreateOrderIn(BaseModel):
|
||||
product_id: int
|
||||
@@ -26,3 +28,10 @@ class PaymentParamsOut(BaseModel):
|
||||
class CreateOrderOut(BaseModel):
|
||||
payment_params: PaymentParamsOut
|
||||
order_id: str
|
||||
|
||||
|
||||
class CheckOrderOut(BaseModel):
|
||||
order_id: str
|
||||
status: OrderStatusType
|
||||
user_id: int
|
||||
product_id: int
|
||||
|
||||
Reference in New Issue
Block a user