{"size": 677, "ext": "js", "max_stars_repo_path": "src/utils/constants.js", "max_stars_repo_name": "zhentian-wan/wmpnd-news", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/utils/constants.js", "max_issues_repo_name": "zhentian-wan/wmpnd-news", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/utils/constants.js", "max_forks_repo_name": "zhentian-wan/wmpnd-news", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 15.3863636364, "max_line_length": 59, "alphanum_fraction": 0.5347119645}
export const API_ROOT = 'https://test-miniprogram.com/api';

export const API_NEWS_LIST = `${API_ROOT}/news/list`;
export const API_NEWS_DETAIL = `${API_ROOT}/news/detail`;

export const DEFAULT_CATEGORY = 'gn';

export const CATEGORY_MAPPING = [
  {
    key: 'gn',
    value: '国内',
    selected: true
  },
  {
    key: 'gj',
    value: '国际',
    selected: false
  },
  {
    key: 'cj',
    value: '财经',
    selected: false
  },
  {
    key: 'yl',
    value: '娱乐',
    selected: false
  },
  {
    key: 'js',
    value: '军事',
    selected: false
  },
  {
    key: 'ty',
    value: '体验',
    selected: false
  },
  {
    key: 'other',
    value: '其他',
    selected: false
  }
];