This commit is contained in:
2026-04-20 11:34:35 +08:00
parent 957976db31
commit bdbd6ae7e9
22 changed files with 761 additions and 238 deletions

View File

@@ -110,10 +110,13 @@ service main {
post /user/getToken returns (MobileCodeLoginResp)
@handler cancelOut
post /user/cancelOut
post /user/cancelOut (CancelOutReq)
}
type (
CancelOutReq {
Code string `json:"code" validate:"required"`
}
UserInfoResp {
UserInfo User `json:"userInfo"`
}
@@ -143,7 +146,7 @@ type (
sendSmsReq {
Mobile string `json:"mobile" validate:"required,mobile"`
CaptchaVerifyParam string `json:"captchaVerifyParam,optional,omitempty"`
ActionType string `json:"actionType,optional" validate:"oneof=login register query agentApply realName bindMobile"`
ActionType string `json:"actionType,optional" validate:"oneof=login register query agentApply realName bindMobile cancelAccount"`
}
)