This commit is contained in:
Mrx
2026-03-12 14:29:53 +08:00
parent 96a02f73d4
commit d209270630
5 changed files with 126 additions and 0 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 (
@@ -431,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"`
}
)