part of utils;

// 服务器地址
const String kServerUrl = 'https://project-api.ezijing.com/api/book';
// const String kServerUrl = 'http://172.16.51.175:7421';
const String kHtmlBaseServer = 'https://webapp-pub.ezijing.com/book-app';
const String kLocalToken = 'local_token';
const String kLocalAccessToken = 'local_access_token';
const String kLocalAccount = 'local_account';
const String kLocalPassword = 'local_password';
const String kLocalUserInfo = 'local_user_info';
const String kLocalPrivacyNoticeShown = 'local_privacy_notice_shown';
const String kSearchHistory = 'search_history';
const String kFailOrder = 'failOrder';
const String kNoteTable = 'members_book_notes';
const String kReadTable = 'read_history';
const String kUserAgreement = '$kHtmlBaseServer/agreement/ser_agreement.html?v=1';
const String kUserPriAgreement =
    '$kHtmlBaseServer/agreement/pri_agreement.html?v=1';
const String kUserRechargeAgreement =
    '$kHtmlBaseServer/agreement/rec_agreement.html?v=1';

// 错题详情页  html
const String kUserWrongDes = '$kHtmlBaseServer/evaluating_wrong.html';
// 阅读页  html

String kReadTestUnderLineBook =
    '$kHtmlBaseServer/read_unline.html?t=${DateTime.now().millisecondsSinceEpoch}';
const String kReadBook = '$kHtmlBaseServer/read.html';
// 答题页
const String kAnswer = '$kHtmlBaseServer/evaluating.html';
// 答题结果页
const String kAnswerResult = '$kHtmlBaseServer/evaluating_result.html';
// 画廊 扩展阅读
const String kReadInfo = '$kHtmlBaseServer/read_info.html';
// 阅读页 图片预览
const String kScaleImage = '$kHtmlBaseServer/read_img.html';

abstract class C {
  static const String localAccount = 'storage_account';
  static const String localThemeMode = 'storage_theme_mode';
  static const String localLanguage = 'storage_lang';

  /// 自动主题
  static const String themeSystem = '0';

  /// 亮色主题
  static const String themeLight = '1';

  /// 暗色主题
  static const String themeDark = '2';
}
