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

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

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

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

  /// 获取游戏列表
  static const String gameList = '$_ver/game/gameList';

  /// 根据本地游戏获取游戏列表
  static const String localGameList = '$_ver/game/localGameList';

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

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

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

  /// 修改密码
  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';

  /// 获取广告信息
  static const String getAdConfig = '$_ver/app/getAdConfig';

  /// 提交游戏
  static const String submitGame = '$_ver/game/gameSubmit';

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

  /// 搜索游戏
  static const String searchGame = '$_ver/game/gameSearch';

  /// 游戏搜索列表
  static const String searchGameList = '$_ver/game/gameAll';

  /// 获取搜索结果游戏列表
  static const String gameListSearch = '$_ver/game/gameListSearch';

  /// 获取支持的第三方登录
  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 reportActive = '$_ver/app/reportActive';

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

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