api.js 790 Bytes
Newer Older
1 2 3 4
import request from '@/utils/request'

const path = {
  list: 'api/user/selectUserPage',
dupengyu's avatar
dupengyu committed
5
  create: 'api/user/add',
6 7
  updatePwd: 'api/user/updatePwd',
  updateInfo: 'api/user/updateUserBaseInfo',
dupengyu's avatar
dupengyu committed
8 9
  
  selectLogPage:'/api/sysLog/selectLogPage',
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
  logList: 'api/sysLog/selectLogPage',
}

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);
}

export function logList() {
  return request.post(path.logList, ...arguments);
}
dupengyu's avatar
dupengyu committed
32 33 34
export function selectLogPage() {
  return request.post(path.selectLogPage, ...arguments);
}
35