import request from '@/utils/request'

// 查询规则引擎列表
export function listCope(data) {
  return request({
    url: '/rule/cope/list',
    method: 'post',
    data
  })
}

export function listCope2(data) {
  return request({
    url: '/rule/cope/list2',
    method: 'post',
    data
  })
}

export function selType(name) {
  return request({
    url: '/rule/cope/selType/' + name,
    method: 'post'
  })
}

export function selObject(data) {
  return request({
    url: '/rule/cope/selObject',
    method: 'post',
    data
  })
}
