{"size": 413, "ext": "js", "max_stars_repo_path": "src/api/userset.js", "max_stars_repo_name": "ChaoYun1997/houtai", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/api/userset.js", "max_issues_repo_name": "ChaoYun1997/houtai", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/api/userset.js", "max_forks_repo_name": "ChaoYun1997/houtai", "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.9565217391, "max_line_length": 42, "alphanum_fraction": 0.6852300242}
import request from '@/utils/request'

const userApi = {
  CreateSitemap: '/userset/createSiteMap',
  SubmitSitemap: '/userset/submitSitemap'
}
// 生成网站地图
export function getSitemap() {
  return request({
    url: userApi.CreateSitemap,
    method: 'get'
  })
}

// 提交网站地图刀搜索引擎
export function submitSitemap(params) {
  return request({
    url: userApi.SubmitSitemap,
    method: 'get',
    params: params
  })
}
