{"size": 492, "ext": "js", "max_stars_repo_path": "src/api/user.js", "max_stars_repo_name": "blue-toad/carsell-front", "max_stars_repo_stars_event_min_datetime": "2021-04-08T06:58:56.000Z", "max_stars_repo_stars_event_max_datetime": "2021-04-08T06:58:56.000Z", "max_issues_repo_path": "src/api/user.js", "max_issues_repo_name": "blue-toad/carsell-front", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/api/user.js", "max_forks_repo_name": "blue-toad/carsell-front", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 18.9230769231, "max_line_length": 42, "alphanum_fraction": 0.662601626}
import request from '@/utils/request'

export function updateMessage(message) {
  return request({
    url: '/api/userChange/updateMessage',
    method: 'post',
    params: message
  })
}

export function validPassword(validPass) {
  return request({
    url: '/api/userChange/validPassword',
    method: 'post',
    params: { validPass }
  })
}

export function updatePassword(data) {
  return request({
    url: '/api/userChange/updatePassword',
    method: 'post',
    params: data
  })
}
