f
This commit is contained in:
@@ -86,6 +86,10 @@ service main {
|
||||
// 代理手机号修改
|
||||
@handler AdminUpdateAgentMobile
|
||||
post /mobile/update (AdminUpdateAgentMobileReq) returns (AdminUpdateAgentMobileResp)
|
||||
|
||||
// 代理等级降级(管理端)
|
||||
@handler AdminDowngradeAgent
|
||||
post /level/downgrade (AdminDowngradeAgentReq) returns (AdminDowngradeAgentResp)
|
||||
}
|
||||
|
||||
type (
|
||||
@@ -443,5 +447,14 @@ type (
|
||||
AdminUpdateAgentMobileResp {
|
||||
Success bool `json:"success"`
|
||||
}
|
||||
// 代理等级降级
|
||||
AdminDowngradeAgentReq {
|
||||
AgentId string `json:"agent_id"` // 代理ID
|
||||
ToLevel int64 `json:"to_level"` // 目标等级:1=普通,2=黄金,3=钻石(须低于当前等级)
|
||||
Remark string `json:"remark,optional"` // 备注(可选)
|
||||
}
|
||||
AdminDowngradeAgentResp {
|
||||
Success bool `json:"success"`
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user