import request from '@/utils/request'

export function kdspDecrypt(queryInfo) {
  return request({
    url: '/kdsp/decrypt',
    method: 'get',
    params: queryInfo
  })
}

export function getBuildList(queryInfo) {
  return request({
    url: '/jenkins/buildlist',
    method: 'get',
    params: queryInfo
  })
}

export function getJobList() {
  return request({
    url: '/jenkins/joblist',
    method: 'get'
  })
}

export function addWhiteList(queryInfo) {
  return request({
    url: '/common/whitelist',
    method: 'get',
    params: queryInfo
  })
}

export function getLoginInfoList(queryInfo) {
  return request({
    url: '/common/logininfo/list',
    method: 'get',
    params: queryInfo
  })
}
