{"size": 909, "ext": "js", "max_stars_repo_path": "src/api/specifics.js", "max_stars_repo_name": "JoeyFrancisTribbiani/minerp-ui", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/api/specifics.js", "max_issues_repo_name": "JoeyFrancisTribbiani/minerp-ui", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/api/specifics.js", "max_forks_repo_name": "JoeyFrancisTribbiani/minerp-ui", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.3404255319, "max_line_length": 49, "alphanum_fraction": 0.6798679868}
import request from '@/utils/request'

// 查询ErpProductSpecifics列表
export function listErpProductSpecifics(query) {
  return request({
    url: '/api/v1/product/specifics',
    method: 'get',
    params: query
  })
}

// 查询ErpProductSpecifics详细
export function getErpProductSpecifics(id) {
  return request({
    url: '/api/v1/product/specifics/' + id,
    method: 'get'
  })
}

// 新增ErpProductSpecifics
export function addErpProductSpecifics(data) {
  return request({
    url: '/api/v1/product/specifics',
    method: 'post',
    data: data
  })
}

// 修改ErpProductSpecifics
export function updateErpProductSpecifics(data) {
  return request({
    url: '/api/v1/product/specifics/' + data.id,
    method: 'put',
    data: data
  })
}

// 删除ErpProductSpecifics
export function delErpProductSpecifics(data) {
  return request({
    url: '/api/v1/product/specifics',
    method: 'delete',
    data: data
  })
}

