text: import request from '@/utils/request'
  export function fetchList(cid,params) {
    return request({
      url:'/rm/productAttribute/list/'+cid,
      method:'get',
      params:params
    })
  }
  
  export function deleteProductAttr(data) {
    return request({
      url:'/rm/productAttribute/delete',
      method:'post',
      data:data
    })
  }
  
  export function createProductAttr(data) {
    return request({
      url:'/rm/productAttribute/create',
      method:'post',
      data:data
    })
  }
  
  export function updateProductAttr(id,data) {
    return request({
      url:'/rm/productAttribute/update/'+id,
      method:'post',
      data:data
    })
  }
  export function getProductAttr(id) {
    return request({
      url:'/rm/productAttribute/'+id,
      method:'get'
    })
  }
  
  export function getProductAttrInfo(productCategoryId) {
    return request({
      url:'/rm/productAttribute/attrInfo/'+productCategoryId,
      method:'get'
    })
  }
  