text: import request from '@/utils/request'
  
  export function getList(id, query, current = 1, size = 10) {
    return request({
      url: `/shenshu/specificgroup/${id}/rule`,
      method: 'get',
      params: { ...query, page: current, size }
    })
  }
  
  export function add(id, data) {
    return request({
      url: `/shenshu/specificgroup/${id}/rule`,
      method: 'post',
      data
    })
  }
  
  export function update(id, data) {
    return request({
      url: `/shenshu/specificgroup/rule/${id}`,
      method: 'put',
      data
    })
  }
  
  export function getById(id) {
    return request({
      url: `/shenshu/specificgroup/rule/${id}`,
      method: 'get'
    })
  }
  
  export function deleteById(id) {
    return request({
      url: `/shenshu/specificgroup/rule/${id}`,
      method: 'delete'
    })
  }
  