mirror of
https://git.oceanpay.cc/danial/kami_apple_exchage.git
synced 2025-12-18 22:29:09 +00:00
- 新增链接权重字段,支持1-100范围设置 - 修改轮询算法为基于权重的选择机制 - 更新链接API接口返回统一使用LinkInfo模型 - 添加更新链接权重的PATCH端点 - 调整链接仓库查询逻辑,只包含激活状态链接 - 迁移链接相关Pydantic模型到task模块统一管理 - 修改分页响应格式为通用PaginatedResponse包装 - 禁用OpenTelemetry监控配置
24 lines
523 B
Python
24 lines
523 B
Python
"""
|
|
礼品卡相关Schema
|
|
这些schema已经合并到 app.schemas.task 模块中
|
|
此文件保留用于向后兼容,建议使用 app.schemas.task 中的对应schema
|
|
"""
|
|
|
|
from app.schemas.task import (
|
|
CardInfo,
|
|
GiftCardDetailCreate,
|
|
GiftCardInfoCreate,
|
|
GiftCardSubmissionRequest,
|
|
GiftCardSubmissionResponse,
|
|
)
|
|
|
|
# 重新导出以保持向后兼容性
|
|
__all__ = [
|
|
"GiftCardSubmissionRequest",
|
|
"GiftCardSubmissionResponse",
|
|
"GiftCardInfoCreate",
|
|
"CardInfo",
|
|
"GiftCardDetailCreate",
|
|
]
|
|
|