text: import axios from 'axios';
  
  let base = '';
  
  export const requestLogin = params => { return axios.post(`${base}/login`, params).then(res => res.data); };
  
  export const getUserList = params => { return axios.get(`${base}/user/list`, { params: params }); };
  
  export const getlistFencePage = params => { return axios.get('http://172.18.56.195:8083/fence/listFence', { params: params }); };
  
  export const removeUser = params => { return axios.get(`${base}/user/remove`, { params: params }); };
  
  export const batchRemoveUser = params => { return axios.get(`${base}/user/batchremove`, { params: params }); };
  
  export const editUser = params => { return axios.get(`${base}/user/edit`, { params: params }); };
  
  export const addUser = params => { return axios.get(`${base}/user/add`, { params: params }); };
  