This commit is contained in:
2026-04-29 11:38:59 +08:00
parent e96e3f9583
commit 7d363f4e8a
30 changed files with 1135 additions and 215 deletions

View File

@@ -251,6 +251,7 @@ type (
AgentId *int64 `form:"agent_id,optional"` // 代理ID可选
RelationAgentId *int64 `form:"relation_agent_id,optional"` // 关联代理ID可选
Type *string `form:"type,optional"` // 奖励类型(可选)
Status *int64 `form:"status,optional"` // 状态(可选)
}
// 代理奖励列表项
@@ -260,6 +261,8 @@ type (
RelationAgentId int64 `json:"relation_agent_id"` // 关联代理ID
Amount float64 `json:"amount"` // 金额
Type string `json:"type"` // 奖励类型
Status int64 `json:"status"` // 状态0=正常, 1=已取消
Remark string `json:"remark"` // 备注
CreateTime string `json:"create_time"` // 创建时间
}
@@ -319,6 +322,7 @@ type (
AgentId int64 `json:"agent_id"` // 代理ID
DeductedAgentId int64 `json:"deducted_agent_id"` // 被扣代理ID
Amount float64 `json:"amount"` // 金额
RefundedAmount float64 `json:"refunded_amount"` // 已退款金额
ProductName string `json:"product_name"` // 产品名
Type string `json:"type"` // 类型cost/pricing
Status int64 `json:"status"` // 状态