package proto type ActionType int const ( ActionType_UserRegister ActionType = 0 ActionType_ResetPassword ActionType = 1 ) type SendAuthCodeReq struct { UserName string `json:"user_name" binding:"required"` //账户名 Email string `json:"email" binding:"required"` //邮箱地址 Language string `json:"language"` //语言类型 ActionType ActionType `json:"action_type"` //操作类型: 0=用户注册 1=重置密码 } type SendAuthCodeResp struct { }