Files
video/server/app/schemas/payment.py
T
2026-10-15 20:36:59 +08:00

10 lines
254 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""支付模块请求模型"""
from pydantic import BaseModel, Field
class RechargeReq(BaseModel):
"""创建充值订单(8.2)"""
amount_yuan: int = Field(ge=1, le=100000)
pay_method: int = Field(ge=1, le=3) # 1支付宝 2微信 3USDT