This commit is contained in:
2026-03-16 14:40:05 +08:00
6 changed files with 150 additions and 3 deletions

View File

@@ -82,6 +82,10 @@ service main {
// 邀请码列表查询
@handler AdminGetInviteCodeList
get /invite_code/list (AdminGetInviteCodeListReq) returns (AdminGetInviteCodeListResp)
// 代理手机号修改
@handler AdminUpdateAgentMobile
post /mobile/update (AdminUpdateAgentMobileReq) returns (AdminUpdateAgentMobileResp)
}
type (
@@ -109,6 +113,8 @@ type (
FrozenBalance float64 `json:"frozen_balance"` // 冻结余额
WithdrawnAmount float64 `json:"withdrawn_amount"` // 提现总额
IsRealName bool `json:"is_real_name"` // 是否已实名
RealName string `json:"real_name"` // 姓名(实名认证的姓名)
IdCardPlain string `json:"id_card_plain"` // 身份证号(解密后的明文)
CreateTime string `json:"create_time"` // 创建时间
}
AdminGetAgentListResp {
@@ -429,5 +435,13 @@ type (
Total int64 `json:"total"` // 总数
Items []InviteCodeListItem `json:"items"` // 列表数据
}
// 代理手机号修改
AdminUpdateAgentMobileReq {
AgentId string `json:"agent_id"` // 代理ID
Mobile string `json:"mobile"` // 新手机号
}
AdminUpdateAgentMobileResp {
Success bool `json:"success"`
}
)