namespace SC.XR.Unity.Module_PlatformAccount
{
///
/// 服务器接口返回代号
///
public enum RemoteCode
{
///
/// 请求成功
///
success = 200,
///
/// 账号或密码错误
///
accountError = 5010,
///
/// 账号未注册
///
accountNotRegistered = 5013,
///
/// 账号未登陆过
///
accountHasNotLogin = 5031,
///
/// 需要输入图形验证码
///
needCaptcha = 5979,
///
/// 图形验证码不正确
///
captchaError = 5981,
///
/// 手机验证码长度必须是6个字符
///
smsLengthError = 5003,
///
/// 验证码错误
///
smsCodeError = 5006,
///
/// 账号不存在
///
accountNotExist = 5021,
///
/// 短信验证码次数用完
///
noSmsCodeNum = 5983
}
///
/// 接口配置
///
[System.Serializable]
public class RemoteConfig
{
///
/// 账号登录
///
public string accountLogin = "/v1/accountLogin";
///
/// 图形验证码获取
///
public string captcha = "/v1/captcha";
///
/// 手机登录
///
public string phoneLogin = "/v1/phoneLogin";
///
/// 获取手机登录验证码
///
public string smsCodeLogin = "/v1/sms/code/login";
///
/// 账号登录状态查询(未登录)
///
public string accountLoginStatus = "/v1/accountLoginStatus";
///
/// 手机验证码次数查询
///
public string smsRestCodeTimes = "/v1/sms/restCodeTimes";
///
/// 查询剩余邮件次数
///
public string emailRestCodeTimes = "/v1/email/restCodeTimes";
///
/// 获取忘记密码验证码
///
public string smsCodeForget = "/v1/sms/code/forget";
///
/// 获取忘记密码验证码
///
public string smsVerifyForgetPassword = "/v1/sms/verify/forgetPassword";
///
/// 发送忘记密码邮箱验证码
///
public string emailCodeForget = "/v1/email/code/forget";
///
/// 验证忘记密码邮箱验证码
///
public string emailVerifyForgetPassword = "/v1/email/verify/forgetPassword";
///
/// 忘记密码重设(手机验证码)
///
public string forgetPasswordByPhone = "/v1/forgetPasswordByPhone";
///
/// 忘记密码重设(邮箱验证码)
///
public string forgetPasswordByMail = "/v1/forgetPasswordByMail";
///
/// 账号合法状态查询(已登录)
///
public string accountLoginValid = "/v1/accountLoginValid";
///
/// 查询用户信息
///
public string userInfo = "/v1/user/info";
///
/// 账号预登陆
///
public string accountPreLogin = "/v1/accountPreLogin";
///
/// 手机预登陆
///
public string phonePreLogin = "/v1/phonePreLogin";
///
/// 退出当前设备
///
public string accountLogout = "/v1/account/logout";
///
/// 获取注册验证码
///
public string smsCodeRegister = "/v1/sms/code/register";
///
/// 验证注册验证码
///
public string smsVerifyRegister = "/v1/sms/verify/register";
///
/// 获取手机修改验证码
///
public string smsCodeModifyPhone = "/v1/sms/code/modifyPhone";
///
/// 获取修改密码验证码
///
public string smsCodeChangePassword = "/v1/sms/code/changePassword";
///
/// 验证修改密码验证码
///
public string smsVerifyChangePassword = "/v1/sms/verify/changePassword";
///
/// 手机注册
///
public string phoneRegister = "/v1/phoneRegister";
///
/// 邮箱注册
///
public string emailRegister = "/v1/emailRegister";
///
/// 获取注册验证码
///
public string emailCodeRegister = "/v1/email/code/register";
///
/// 验证注册验证码
///
public string emailVerifyRegister = "/v1/email/verify/register";
///
/// 获取修改邮箱验证码
///
public string emailCodeModifyEmail = "/v1/email/code/modifyEmail";
///
/// 获取修改密码验证码
///
public string emailCodeChangePassword = "/v1/email/code/changePassword";
///
/// 验证修改密码验证码
///
public string emailVerifyChangePassword = "/v1/email/verify/changePassword";
///
/// 修改密码(手机)
///
public string accountChangePasswordByPhone = "/v1/account/changePasswordByPhone";
///
/// 修改密码(邮箱)
///
public string accountChangePasswordByEmail = "/v1/account/changePasswordByEmail";
///
/// 验证密码
///
public string accountCheckPass = "/v1/account/checkPass";
///
/// 设置密码
///
public string accountSetPass = "/v1/account/setPass";
///
/// 上传修改头像
///
public string userAvatar = "/v1/user/avatar";
///
/// 修改用户资料
///
public string userProfile = "/v1/user/profile";
///
/// 改绑手机
///
public string userModifyPhone = "/v1/user/modifyPhone";
///
/// 改绑邮箱
///
public string userModifyEmail = "/v1/user/modifyEmail";
///
/// 激活会员
///
public string userActivation = "/v1/user/activation";
}
}