{"size": 509, "ext": "js", "max_stars_repo_path": "src/api/distributionRange.js", "max_stars_repo_name": "Logistics-of-the-underworld/logistics_fe", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/api/distributionRange.js", "max_issues_repo_name": "Logistics-of-the-underworld/logistics_fe", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/api/distributionRange.js", "max_forks_repo_name": "Logistics-of-the-underworld/logistics_fe", "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": 21.2083333333, "max_line_length": 64, "alphanum_fraction": 0.7033398821}
import request from '@/utils/request'

export function fetchList(query) {
  return request({
    url: `/distributionRange/getAllDistributionRange/${query}`,
    method: 'get'
  })
}

export function deleteDistributionRange(params) {
  return request({
    url: `/distributionRange/deleteDistributionRange/${params}`,
    method: 'get'
  })
}

export function updateDistributionRange(data) {
  return request({
    url: '/distributionRange/updateDistributionRange',
    method: 'post',
    params: data
  })
}
