api.js 631 Bytes
Newer Older
yanzhongrong's avatar
yanzhongrong committed
1 2 3 4 5 6 7
import request from '@/utils/request'

const path = {
  list: 'user/selectUserPage',
  create: 'user/saveUser',
  updatePwd: 'user/updatePwd',
  updateInfo: 'user/updateUserBaseInfo',
neogcg's avatar
neogcg committed
8
 
9
  logList: 'sysLog/selectLogPage',
yanzhongrong's avatar
yanzhongrong committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
}

export function list() {
  return request.post(path.list, ...arguments)
}

export function create() {
  return request.post(path.create, ...arguments)
}

export function updatePwd() {
  return request.post(path.updatePwd, ...arguments)
}

export function updateInfo() {
  return request.post(path.updateInfo, ...arguments)
}

28 29 30
export function logList() {
  return request.post(path.logList, ...arguments)
}
neogcg's avatar
neogcg committed
31