/// 接口名称
abstract class Api {
  /// 游客登录查看是否已经注册
  static const String kr_isRegister = "/v1/app/auth/check";

  /// 注册1024
  static const String kr_register = "/v1/app/auth/register";

  /// 验证验证码
  static const String kr_checkVerificationCode =
      "/v1/common/check_verification_code";

  /// 发送手机验证码
  static const String kr_sendPhoneCode = "/v1/common/send_sms_code";

  /// 发送邮箱验证码
  static const String kr_sendEmailCode = "/v1/common/send_code";

  /// 登录接口
  static const String kr_login = "/v1/app/auth/login";

  /// 删除账号
  static const String kr_deleteAccount = "/v1/app/user/account";

  /// 忘记密码-设置新密码
  static const String kr_setNewPsdByForgetPsd = "/v1/app/auth/reset_password";

  /// 节点信息
  static const String kr_nodeList = "/v1/app/node/list";

  /// 获取用户订阅流量日志
  static const String kr_nodeGroupList = "/v1/app/node/rule_group_list";

  /// 预下单
  static const String kr_preOrder = "/v1/app/order/pre";

  /// 获取下单zf方式
  static const String kr_getPaymentMethods = "/v1/app/payment/methods";

  /// 进行下单
  static const String kr_purchase = "/v1/app/order/purchase";

  /// 获取支付地址,跳转到付款地址
  static const String kr_checkout = "/v1/app/order/checkout";

  /// 获取可购买套餐
  static const String kr_getPackageList = "/v1/app/subscribe/list";

  /// 获取用户已订阅套餐
  static const String kr_getAlreadySubscribe =
      "/v1/app/subscribe/user/already_subscribe";

  /// 获取用户可用订阅
  static const String kr_userAvailableSubscribe =
      "/v1/app/subscribe/user/available_subscribe";

  /// 续费
  static const String kr_renewal = "/v1/app/order/renewal";

  /// 获取用户订阅流量日志
  /// 通过该接口判断订单状态
  static const String kr_orderDetail = "/v1/app/order/detail";

  /// 获取消息列表
  static const String kr_getMessageList = "/v1/app/announcement/list";

  /// 获取邀请数据
  // static const String kr_getInviteData = "/v1/public/invite/code";

  /// 配置信息
  static const String kr_config = "/v1/app/auth/config";

  /// 获取用户信息
  static const String kr_getUserInfo = "/v1/app/user/info";

  /// 获取用户在线时长统计
  static const String kr_getUserOnlineTimeStatistics =
      "/v1/app/user/online_time/statistics";

  /// 获取用户邀请人数
  static const String kr_getAffiliateCount = "/v1/public/user/affiliate/count";

  /// 获取站点协议
  static const String kr_getSiteTos = "/v1/common/site/tos";

  /// 隐私政策
  static const String kr_getSitePrivacy = "/v1/common/site/privacy";

  /// 获取网页文本内容
  static const String kr_getWebText = "/v1/common/site/text";

  /// 重置订阅周期
  static const String kr_resetSubscribePeriod =
      "/v1/app/subscribe/reset/period";
}
