import request from '@/utils/request'
|
|
const api = {
|
|
GetDistributionHistory: '/ProductManage/GetDistributionHistory',
|
DeleteDistributionHistory: '/ProductManage/DeleteDistributionHistory',
|
ProductDistribution: '/ProductManage/ProductDistribution',
|
GetProductUpdateLog: '/ProductManage/GetProductUpdateLog',
|
EditProductUpdateLog: '/ProductManage/EditProductUpdateLog',
|
GetProRules: '/ProductInfo/GetProRules',
|
GetProductList: 'ProductInfo/GetProductList',
|
GetYzItemUrl: '/ProductManage/GetYzItemUrl',
|
GetProductDetail: '/ProductInfo/GetProductDetail',
|
GetCategoryList: '/ProductInfo/GetCategoryList',
|
ListGetDistributionHistory: '/ProductManage/ListGetDistributionHistory',
|
UpdateYzProduct: '/ProductManage/UpdateYzProduct',
|
GetDaiFaProductList: '/ProductInfo/GetDaiFaProductList',
|
GetDaiFaDetail: '/ProductInfo/GetDaiFaDetail',
|
DistributebillGet: '/ProductInfo/DistributebillGet',
|
AddDistributebillTask: '/ProductManage/AddDistributebillTask',
|
ClearDistributebill: '/ProductInfo/ClearDistributebill',
|
DelingYz: '/ProductManage/DelingYz',
|
UpdateListingYz: '/ProductManage/UpdateListingYz',
|
BatchDeleteProductLog: '/ProductManage/BatchDeleteProductLog',
|
UpdateProTags: '/ProductBatchUpdate/UpdateProTags',
|
ReAddItem: '/ProductManage/ReAddItem'
|
}
|
|
export function ReAddItem (parameter) {
|
return request({
|
url: api.ReAddItem,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function UpdateProTags (parameter) {
|
return request({
|
url: api.UpdateProTags,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function BatchDeleteProductLog (parameter) {
|
return request({
|
url: api.BatchDeleteProductLog,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function UpdateListingYz (parameter) {
|
return request({
|
url: api.UpdateListingYz,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function DelingYz (parameter) {
|
return request({
|
url: api.DelingYz,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function ClearDistributebill (parameter) {
|
return request({
|
url: api.ClearDistributebill,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function AddDistributebillTask (parameter) {
|
return request({
|
url: api.AddDistributebillTask,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function DistributebillGet (parameter) {
|
return request({
|
url: api.DistributebillGet,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function GetDaiFaDetail (parameter) {
|
return request({
|
url: api.GetDaiFaDetail,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function GetDaiFaProductList (parameter) {
|
return request({
|
url: api.GetDaiFaProductList,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function UpdateYzProduct (parameter) {
|
return request({
|
url: api.UpdateYzProduct,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function ListGetDistributionHistory (parameter) {
|
return request({
|
url: api.ListGetDistributionHistory,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function GetCategoryList (parameter) {
|
return request({
|
url: api.GetCategoryList,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function GetProductDetail (parameter) {
|
return request({
|
url: api.GetProductDetail,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function GetYzItemUrl (parameter) {
|
return request({
|
url: api.GetYzItemUrl,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function GetProRules (parameter) {
|
return request({
|
url: api.GetProRules,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function GetProductList (parameter) {
|
return request({
|
url: api.GetProductList,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function GetDistributionHistory (parameter) {
|
return request({
|
url: api.GetDistributionHistory,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function DeleteDistributionHistory (parameter) {
|
return request({
|
url: api.DeleteDistributionHistory,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function ProductDistribution (parameter) {
|
return request({
|
url: api.ProductDistribution,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function GetProductUpdateLog (parameter) {
|
return request({
|
url: api.GetProductUpdateLog,
|
method: 'post',
|
data: parameter
|
})
|
}
|
|
export function EditProductUpdateLog (parameter) {
|
return request({
|
url: api.EditProductUpdateLog,
|
method: 'post',
|
data: parameter
|
})
|
}
|