text: import request from '@/utils/request'
  import { remove } from 'nprogress'
  export default {
      // GET /admin/product/attrInfoList/{category1Id}/{category2Id}/{category3Id}
      // attrInfoList
      getList(category1Id, category2Id, category3Id) {
          return request.get(`/admin/product/attrInfoList/${category1Id}/${category2Id}/${category3Id}`)
      },
      // DELETE /admin/product/deleteAttr/{attrId}
      // deleteAttr
      remove(attrId) {
          return request.delete(`/admin/product/deleteAttr/${attrId}`)
      },
      // POST /admin/product/saveAttrInfo
      // saveAttrInfo
      addOrUpdate(attr) {
          return request.post('/admin/product/saveAttrInfo', attr)
      }
  
  }