{"size": 218, "ext": "js", "max_stars_repo_path": "src/api/sys/config/config.js", "max_stars_repo_name": "taohaiwei/exam-vue", "max_stars_repo_stars_event_min_datetime": "2020-08-27T13:35:54.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T16:24:59.000Z", "max_issues_repo_path": "src/api/sys/config/config.js", "max_issues_repo_name": "taohaiwei/exam-vue", "max_issues_repo_issues_event_min_datetime": "2020-08-27T14:13:34.000Z", "max_issues_repo_issues_event_max_datetime": "2021-12-10T03:41:15.000Z", "max_forks_repo_path": "src/api/sys/config/config.js", "max_forks_repo_name": "taohaiwei/exam-vue", "max_forks_repo_forks_event_min_datetime": "2020-09-02T04:29:22.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-17T16:32:49.000Z"}
{"max_stars_count": 147, "max_issues_count": 2, "max_forks_count": 60, "avg_line_length": 19.8181818182, "max_line_length": 48, "alphanum_fraction": 0.6697247706}
import { post } from '@/utils/request'

// 获得用户协议详情，固定ID为0
export function fetchDetail() {
  return post('/sys/config/detail', { id: '0' })
}

export function saveData(data) {
  return post('/sys/config/save', data)
}
