text: import request from '@/utils/request'
  
  export function fetchList() {
    return request({
      url: '/fer-pattern/list',
      method: 'get',
    })
  }
  
  export function createPattern(data) {
    return request({
      url: '/fer-pattern/create',
      method: 'post',
      data: data
    })
  }
  
  export function updatePattern(data) {
    return request({
      url: '/fer-pattern/update',
      method: 'post',
      data: data
    })
  }
  
  export function getPattern(id) {
    return request({
      url: '/fer-pattern/info/' + id,
      method: 'get'
    })
  }
  
  export function deletePattern(id) {
    return request({
      url: '/fer-pattern/delete/' + id,
      method: 'post'
    })
  }
  