import request from '@/utils/request'

// 创建数据密码
export function createPasswords(data) {
  return request({
    url: '/setting/passwords/create',
    method: 'post',
    data: data
  })
}


// 获得数据密码
export function getPasswords() {
  return request({
    url: '/setting/passwords/getLastPasswords',
    method: 'get',
 
  })
}