import http from '@/apis/axios'
const api = 'admin/'
export default {
  // 上线商品详情
  online_detail: (data, params) => http(api + 'goodinfo', data, 'post', params),
  // 商品成本详情
  cost_detail: (data, params) => http(api + 'goodupinfo', data, 'post', params),
  // 采返商品详情 订单生成后
  re_detail: (data, params) => http(api + 'goodzxinfo', data, 'post', params),
  // 采返商品详情 订单生成前
  cove_detail: (data, params) => http(api + 'getgoodzxinfobynotzixun', data, 'post', params)
}
