|
|
module.exports={
|
|
|
namespace:"price",
|
|
|
apis:{
|
|
|
queryProductPriceList:{
|
|
|
title:'代销变价',
|
|
|
url:'/product/queryProductPriceList',
|
|
|
params: [
|
|
|
{name: 'product_skn',type: 'Number'},
|
|
|
{name: 'shop_id',type: 'Number'},
|
|
|
{name: 'brand_id',type: 'Number'},
|
|
|
{name: 'supplier_id',type: 'Number'},
|
|
|
{name: 'is_jit',type: 'String'},
|
|
|
{name: 'is_auditing',type: 'Number'},
|
|
|
{name: 'stock',type: 'Number'},
|
|
|
{name: 'gender',type: 'Number'},
|
|
|
{name: 'max_sort_id',type: 'Number'},
|
|
|
{name: 'middle_sort_id', type: 'Number'},
|
|
|
{name: 'small_sort_id', type: 'Number'},
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
getProductPrice:{
|
|
|
title:'获得单个变价详情',
|
|
|
url: '/product/getProductPrice',
|
|
|
params: [
|
|
|
{name: 'param', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
updatePrice:{
|
|
|
title:'单个变价接口',
|
|
|
url: '/product/getProductPrice',
|
|
|
params: [
|
|
|
{name: 'product_skn', type: 'number'},
|
|
|
{name: 'sales_price', type: 'number'},
|
|
|
{name: 'vip_discount_type', type: 'number'},
|
|
|
{name: 'return_coin', type: 'number'},
|
|
|
{name: 'vip_price', type: 'number'},
|
|
|
{name: 'vip1_price', type: 'number'},
|
|
|
{name: 'vip2_price', type: 'number'},
|
|
|
{name: 'vip3_price', type: 'number'}
|
|
|
]
|
|
|
},
|
|
|
queryProductPriceListBySkn:{
|
|
|
title:'变价记录',
|
|
|
url: '/product/queryProductPriceListBySkn',
|
|
|
namespace:"price",
|
|
|
apis:{
|
|
|
queryProductPriceList:{
|
|
|
title:'代销变价',
|
|
|
url:'/product/queryProductPriceList',
|
|
|
params: [
|
|
|
{name: 'param', type: 'Number'}
|
|
|
{name: 'product_skn',type: 'Number'},
|
|
|
{name: 'shop_id',type: 'Number'},
|
|
|
{name: 'brand_id',type: 'Number'},
|
|
|
{name: 'supplier_id',type: 'Number'},
|
|
|
{name: 'is_jit',type: 'String'},
|
|
|
{name: 'is_auditing',type: 'Number'},
|
|
|
{name: 'stock',type: 'Number'},
|
|
|
{name: 'gender',type: 'Number'},
|
|
|
{name: 'max_sort_id',type: 'Number'},
|
|
|
{name: 'middle_sort_id', type: 'Number'},
|
|
|
{name: 'small_sort_id', type: 'Number'},
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
deletePricePlan:{
|
|
|
title:'删除变价记录',
|
|
|
url: '/product/deletePricePlan',
|
|
|
getProductPrice:{
|
|
|
title:'获得单个变价详情',
|
|
|
url: '/product/getProductPrice',
|
|
|
params: [
|
|
|
{name: 'param', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
batchUpdateProductPrice:{
|
|
|
title:'批量变价接口',
|
|
|
url: '/product/batchUpdateProductPrice',
|
|
|
params: [
|
|
|
{name: 'batchList', type: 'String'},
|
|
|
{name: 'cgpriceStartTime', type: 'String'},
|
|
|
{name: 'cgpriceEndTime', type: 'String'}
|
|
|
]
|
|
|
},
|
|
|
updateProductPrice:{
|
|
|
title:'单个变价接口',
|
|
|
title:'单个变价接口',
|
|
|
url: '/product/updateProductPrice',
|
|
|
params: [
|
|
|
params: [
|
|
|
{name: 'product_skn', type: 'number'},
|
|
|
{name: 'sales_price', type: 'number'},
|
|
|
{name: 'vip_discount_type', type: 'number'},
|
...
|
...
|
@@ -76,29 +39,53 @@ module.exports={ |
|
|
{name: 'vip1_price', type: 'number'},
|
|
|
{name: 'vip2_price', type: 'number'},
|
|
|
{name: 'vip3_price', type: 'number'},
|
|
|
{name: 'student_price', type: 'number'},
|
|
|
{name: 'cgpriceStartTime', type: 'String'},
|
|
|
{name: 'cgpriceEndTime', type: 'String'}
|
|
|
]
|
|
|
},
|
|
|
queryProductPriceListBySkn:{
|
|
|
title:'变价记录',
|
|
|
url: '/product/queryProductPriceListBySkn',
|
|
|
params: [
|
|
|
{name: 'param', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
deletePricePlan:{
|
|
|
title:'删除变价记录',
|
|
|
url: '/product/deletePricePlan',
|
|
|
params: [
|
|
|
{name: 'param', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
batchUpdateProductPrice:{
|
|
|
title:'批量变价接口',
|
|
|
url: '/product/batchUpdateProductPrice',
|
|
|
params: [
|
|
|
{name: 'batchList', type: 'String'},
|
|
|
{name: 'cgpriceStartTime', type: 'String'},
|
|
|
{name: 'cgpriceEndTime', type: 'String'}
|
|
|
]
|
|
|
},
|
|
|
queryBrandCooperationList:{
|
|
|
title:'品牌合作模式设置列表数据',
|
|
|
url: '/brandCooperation/queryBrandCooperationList',
|
|
|
params: [
|
|
|
{name: 'cooperateTypeId', type: 'Number'},
|
|
|
{name: 'brandId', type: 'number'},
|
|
|
{name: 'setFlag', type: 'Number'},
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
saveBrandCooperation:{
|
|
|
title:'修改合作模式',
|
|
|
url: '/brandCooperation/saveBrandCooperation',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'},
|
|
|
{name: 'cooperateTypeId', type: 'String'},
|
|
|
{name: 'brandId', type: 'Number'}
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
]
|
|
|
},
|
|
|
queryBrandCooperationList:{
|
|
|
title:'品牌合作模式设置列表数据',
|
|
|
url: '/brandCooperation/queryBrandCooperationList',
|
|
|
params: [
|
|
|
{name: 'cooperateTypeId', type: 'Number'},
|
|
|
{name: 'brandId', type: 'number'},
|
|
|
{name: 'setFlag', type: 'Number'},
|
|
|
{name: 'page', type: 'Number'},
|
|
|
{name: 'size', type: 'Number'}
|
|
|
]
|
|
|
},
|
|
|
saveBrandCooperation:{
|
|
|
title:'修改合作模式',
|
|
|
url: '/brandCooperation/saveBrandCooperation',
|
|
|
params: [
|
|
|
{name: 'id', type: 'Number'},
|
|
|
{name: 'cooperateTypeId', type: 'String'},
|
|
|
{name: 'brandId', type: 'Number'}
|
|
|
]
|
|
|
}
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|