text: import request from '@/utils/request'
  
  
  // 用户列表
  export function getUsersLists () {
    return request({
      url: '/user/list',
      method: 'get'
    })
  }
  
  // 设置爬虫用户
  export function setReptileUser (data) {
    return request({
      url: `/user/${data.id}`,
      method: 'put'
    })
  }
  
  // 删除用户
  export function deleteUser (data) {
    return request({
      url: `/user/${data.id}`,
      method: 'delete'
    })
  }
  
  // 搜索用户
  export function searchUsers (data) {
    return request({
      url: `/twitter/user?name=${data.name}`,
      method: 'get',
    })
  }
  
  // 添加用户
  export function addUsers (data) {
    return request({
      url: '/user',
      method: 'post',
      data
    })
  }
  