This commit is contained in:
macbook_max
2026-10-15 20:36:59 +08:00
commit 6bf949949c
7923 changed files with 1369582 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
"""激励模块请求模型"""
from decimal import Decimal
from pydantic import BaseModel, Field
class BindInviteReq(BaseModel):
"""绑定邀请码(9.2)"""
invite_code: str = Field(min_length=1, max_length=10)
class WithdrawReq(BaseModel):
"""申请提现(9.5)"""
assets: Decimal = Field(gt=0, le=Decimal("1000000"), max_digits=12, decimal_places=1)
channel: int = Field(ge=1, le=3) # 1支付宝 2微信 3USDT
account: str = Field(min_length=1, max_length=200)