{"size": 464, "ext": "js", "max_stars_repo_path": "src/api/group.js", "max_stars_repo_name": "jkxyx205/tiger", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/api/group.js", "max_issues_repo_name": "jkxyx205/tiger", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/api/group.js", "max_forks_repo_name": "jkxyx205/tiger", "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.1851851852, "max_line_length": 57, "alphanum_fraction": 0.5969827586}
import request from '@/utils/request'

export function changeStatus(id) {
  return request({
    url: `/api/tiger/platform/groups/${id}/changeStatus`,
    method: 'put'
  })
}

export function list() {
  return request({
    url: '/api/tiger/platform/groups',
    method: 'get',
    params: {
      page: 1,
      size: -1
    }
  })
}

export function dict(id) {
  return request({
    url: `/api/tiger/platform/groups/${id}/users/dict`,
    method: 'get'
  })
}
