text: import { get, post, put } from './util'
  
  // 商品列表页面
  export const queryGoodsList = params => post('/backend/goods-list', params)
  // 商品列表页面
  export const queryGoodsListNew = params => post('/backend/goods-list-new', params)
  
  // 商品上下架
  export const updateGoodsStatus = params => post('/backend/goods-update-status', params)
  
  // 仓库产品详情
  export const queryStoreProductDetail = params => post('/backend/store-house-product-detail', params)
  
  // 商品是否指定分销
  export const updateAllow = params => post('/backend/goods-update-allow', params)
  
  // 商品的创建
  export const creatGoods = params => post('/backend/goods-create', params)
  
  // 配置 -- 属性列表(不分页)
  export const getAllAttrList = params => post('/backend/store-house-attr-list', params)
  
  // 仓库产品列表
  export const queryProduceList = params => post('/backend/store-house-product-list', params)
  
  // 商城后台标签列表(不分页)
  export const getLabelAllList = params => post('/backend/tag-list-all', params)
  
  // 自定义是属性的列表（所有，下拉使用）
  export const queryAttrList = params => post('/backend/consume-attr-list-all', params)
  
  // 店铺列表 代理店铺
  export const queryShopList = params => post('/backend/shop-list-all', params)
  
  // 商品的详情
  export const queryGoodsDetail = params => post('/backend/goods-detail', params)
  
  // 商品的修改
  export const updateGoods = params => post('/backend/goods-update', params)
  
  // 指定代理
  export const updateGoodsAssign = params => post('/backend/goods-assign-shop', params)
  
  // 仓库分类列表
  export const queryStoreCategoryList = params => post('/backend/store-house-category-list')
  
  // 其他商品分类的列表（所有，下拉使用）
  export const queryCategoryListAll = params => post('/backend/category-list-all', params)
  
  // 仓库标签列表
  export const queryTagListAll = params => post('/backend/store-house-tag-list', params)
  
  // 仓库组列表  "type":2 //0可裁布 1其他 2成品布
  export const queryGroupList = params => post('/backend/store-house-group-list', params)
  
  // sku单个上下架
  export const updateSkuStatus = params => post('/backend/goods-sku-status-update', params)
  
  // 后台单个商品上下架
  export const updateAgentGoodsStatus = params => post('/backend/agent-goods-down', params)
  
  // 后台单个goods编辑并上架
  export const updateAgentGoodsSingle = params => post('/backend/agent-goods-on', params)
  
  // 后台代理商上下架商品列表
  export const queryAgentShopGoodsList = params => post('/backend/agent-shop-goods-list', params)
  
  // 后台sku列表（上架用）
  export const queryAgentGoodsSkuList = params => post('/backend/agent-goods-sku-list', params)
  
  // 某商品上下架状态
  export const queryAgentGoodsStatus = params => post('/backend/agent-shop-goods-status', params)
  
  // 单个 shopGoodsSku修改价格
  export const updateAgentSkuPrice = params => post('/backend/agent-shop-sku-price-update', params)
  
  // 不享折扣商品
  export const goodsDiscountlist = params => post('/backend/goods-sku-discount-list', params)
  
  // 商品评论表
  export const queryCommentList = params => post('/backend/goods-comment-list', params)
  
  // 评价审核
  export const updateCommentApprove = params => post('/backend/goods-comment-approve', params)
  
  // 评论置顶
  export const putCommentTop = params => post('/backend/goods-comment-top', params)
  
  // 查看原文接口
  export const queryReplySubject = params => post('/backend/comment-reply-subject', params)
  
  // 评论/回复列表
  export const queryReplyList = params => post('/backend/comment-reply-list', params)
  