{"size": 430, "ext": "js", "max_stars_repo_path": "frontend/src/api/question.js", "max_stars_repo_name": "Alex-lubo/career_online", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "frontend/src/api/question.js", "max_issues_repo_name": "Alex-lubo/career_online", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "frontend/src/api/question.js", "max_forks_repo_name": "Alex-lubo/career_online", "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": 17.9166666667, "max_line_length": 46, "alphanum_fraction": 0.6953488372}
import axios from 'utils/axios.js'

// 获取猿问列表数据
export function getQuestionList (params) {
  return axios.get('/api/question/list', {
    params
  })
}

// 获取关注标签列表
export function getFollowList () {
  return axios.get('/api/label/follow/list')
}

// 关注标签
export function followLabels (data) {
  return axios.post('/api/label/follow', data)
}

// 获取标签列表数据
export function getLabelList () {
  return axios.get('/api/label/list')
}
