text: import request from '@/utils/request'
  
  export function add(data) {
    return request({
      url: 'api/yxUser',
      method: 'post',
      data
    })
  }
  
  export function del(uid) {
    return request({
      url: 'api/yxUser/' + uid,
      method: 'delete'
    })
  }
  
  export function edit(data) {
    return request({
      url: 'api/yxUser',
      method: 'put',
      data
    })
  }
  
  export function onStatus(id, data) {
    return request({
      url: 'api/yxUser/onStatus/' + id,
      method: 'post',
      data
    })
  }
  
  export function editp(data) {
    return request({
      url: 'api/yxUser/money',
      method: 'post',
      data
    })
  }
  
  // 用户等级
  export function userLevel(data) {
    return request({
      url: '/api/yxSystemMyUserLevel',
      method: 'get',
      data
    })
  }
  
  // 修改提交
  export function submitUserLevel(data) {
    return request({
      url: '/api/yxUser',
      method: 'put',
      data
    })
  }
  