/// 核心API的方法路径
class ApiCorePaths {
  ApiCorePaths._();

  /// API版本
  static const String _ver = '/api/v1';

  /// 获取全量数据
  static const String launch = '$_ver/app/launch';

  /// 刷新全量数据
  static const String refreshLaunch = '$_ver/app/refreshLaunch';

  /// 刷新token
  static const String refreshToken = '$_ver/user/refreshToken';

  /// 注册
  static const String register = '$_ver/user/register';

  /// 登录
  static const String login = '$_ver/user/login';

  /// 退出登录
  static const String logout = '$_ver/user/logout';

  /// 删除账户
  static const String deleteAccount = '$_ver/user/delAccount';

  /// 修改密码
  static const String changePassword = '$_ver/user/changePassword';

  /// 忘记密码
  static const String forgetPassword = '$_ver/user/forgetChangePassword';

  /// 忘记密码发送验证码
  static const String forgetSendVerificationCode =
      '$_ver/user/forgetPasswordCaptcha';

  /// 发送验证码
  static const String sendVerificationCode = '$_ver/user/captcha';

  /// 验证验证码
  static const String verifyVerificationCode = '$_ver/user/checkCaptcha';

  /// 激活账号
  static const String activateAccount = '$_ver/user/accountActivate';

  /// 激活发送验证码
  static const String activateSendVerificationCode =
      '$_ver/user/accountActiveCaptcha';

  /// 获取用户信息
  static const String getUserConfig = '$_ver/app/getUserConfig';

  /// 获取banner
  static const String banner = '$_ver/app/bannerList';

  /// 获取支持的第三方登录
  static const String providerList = '$_ver/user/providerList';

  /// 第三方登录前获取登录url
  static const String providerLogin = '$_ver/user/providerLogin';

  /// 第三方登录检测回调
  static const String providerLoginCheck = '$_ver/user/providerLoginCheck';

  /// 日志上传
  static const String uploadLog = '$_ver/event';

  /// 文件上传
  static const String uploadFile = '$_ver/log/upload';

  /// 上传图片
  static const String uploadImage = '$_ver/issue/uploadImage';

  /// 上传视频
  static const String uploadVideo = '$_ver/issue/uploadVideo';

  /// 获取调度信息
  static const String getDispatchInfo = '$_ver/router/getNodes';

  /// 获取所有节点
  static const String getLocations = '$_ver/app/getLocations';

  /// 套餐列表
  static const String channelPlanList = '$_ver/pay/channelPlanList';

  /// 购买套餐
  static const String subscribe = '$_ver/pay/subscribe';

  /// 恢复购买
  static const String restore = '$_ver/pay/restore';

  /// 连接成功
  static const String connected = '$_ver/router/connected';
}
