text: import request from '@/utils/request'
  
  export function fetchList(query) {
    return request({
      url: '/user/findPage',
      method: 'post',
      data: query
    })
  }
  
  export function fetchInfo(id) {
    return request({
      url: '/user/detail',
      method: 'get',
      params: { id }
    })
  }
  
  export function createInfo(data) {
    return request({
      url: '/user/saveOrUpdate',
      method: 'post',
      data: data
    })
  }
  
  export function updateInfo(data) {
    return request({
      url: '/user/saveOrUpdate',
      method: 'post',
      data: data
    })
  }
  
  export function stInfo(data) {
    return request({
      url: '/user/status',
      method: 'put',
      data: data
    })
  }
  export function upPsw(data) {
    return request({
      url: '/user/pwd',
      method: 'put',
      data: data
    })
  }
  