export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  menu: false,
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  selection: false,
  dic: [],
  column: [
    {
      label: '网址',
      prop: 'site',
      search: true,
    },
    {
      label: '重定向网址',
      prop: 'redirect',
      search: true,
    },
    {
      label: '导入批次',
      prop: 'batch',
      search: true
    }
  ]
}

export const rabbitConfig = {
  host: "ws://192.168.3.37:15674/ws",
  user: "cyweb",
  pwd: "Wang628625",
  vhost: "/",
  exchange: "trojan-sites-eanswer",
  queue: "trojan-sites-qanswer",
  routingKey: "trojan-sites-route-key"
}

// Excel文件列标题映射
export const excelKeyMap = {
  "远控域名": "site",
}

export const dnsServerStatus = {
  "0": "重启DNS服务器",
  "1": "正在重启，请等待"
}

export const dnsAsyncStatus = {
  "0": "同步至DNS服务器",
  "1": "正在同步，请等待",
  "2": "同步已完成"
}

export const priorDnsServer = [
  "114.114.114.114"
]
