text: import request from '@/utils/request'
  import Vue from "vue"
  export function page(query) {
    if(query){
      query = Vue.prototype.filterObjSpace(query);
    }
    return request({
      url: '/api/goods/attributeBase/page',
      method: 'get',
      params: query
    })
  }
  
  export function addObj(obj) {
    return request({
      url: '/api/goods/attributeBase',
      method: 'post',
      data: obj
    })
  }
  
  export function getObj(id) {
    return request({
      url: '/api/goods/attributeBase/' + id,
      method: 'get'
    })
  }
  
  export function delObj(id) {
    return request({
      url: '/api/goods/attributeBase/' + id,
      method: 'delete'
    })
  }
  
  export function putObj(id, obj) {
    return request({
      url: '/api/goods/attributeBase/' + id,
      method: 'put',
      data: obj
    })
  }
  
  export function all() {
    return request({
      url: '/api/goods/attributeBase/all',
      method: 'get'
    })
  }
  