f
This commit is contained in:
@@ -82,6 +82,10 @@ service main {
|
||||
// 邀请码列表查询
|
||||
@handler AdminGetInviteCodeList
|
||||
get /invite_code/list (AdminGetInviteCodeListReq) returns (AdminGetInviteCodeListResp)
|
||||
|
||||
// 平台升级代理等级(免费升级,遵守代理系统逻辑规则)
|
||||
@handler AdminUpgradeAgent
|
||||
post /upgrade (AdminUpgradeAgentReq) returns (AdminUpgradeAgentResp)
|
||||
}
|
||||
|
||||
type (
|
||||
@@ -124,6 +128,14 @@ type (
|
||||
AdminAuditAgentResp {
|
||||
Success bool `json:"success"`
|
||||
}
|
||||
// 平台升级代理等级
|
||||
AdminUpgradeAgentReq {
|
||||
AgentId string `json:"agent_id"` // 代理ID
|
||||
ToLevel int64 `json:"to_level"` // 目标等级:2=黄金,3=钻石
|
||||
}
|
||||
AdminUpgradeAgentResp {
|
||||
Success bool `json:"success"`
|
||||
}
|
||||
// 推广链接分页查询
|
||||
AdminGetAgentLinkListReq {
|
||||
Page int64 `form:"page"` // 页码
|
||||
|
||||
Reference in New Issue
Block a user