feat(all): 同步最新进度
This commit is contained in:
28
core/routers/pay/schema.py
Normal file
28
core/routers/pay/schema.py
Normal file
@@ -0,0 +1,28 @@
|
||||
# -*- coding = utf-8 -*-
|
||||
# @Time : 2025/2/24 下午9:51
|
||||
# @File : schema.py
|
||||
# @Software : PyCharm
|
||||
# @Author : xingc
|
||||
# @Desc :
|
||||
from pydantic import BaseModel
|
||||
|
||||
|
||||
class CreateOrderIn(BaseModel):
|
||||
product_id: int
|
||||
openid: str
|
||||
total_fee: int
|
||||
body: str
|
||||
|
||||
|
||||
class PaymentParamsOut(BaseModel):
|
||||
appId: str
|
||||
timeStamp: str
|
||||
nonceStr: str
|
||||
package: str
|
||||
package: str
|
||||
signType: str
|
||||
|
||||
|
||||
class CreateOrderOut(BaseModel):
|
||||
payment_params: PaymentParamsOut
|
||||
order_id: str
|
||||
Reference in New Issue
Block a user