price.js 1.33 KB
module.exports=function(app) {
	/*代销变价页面渲染*/
	app.get("/goods/pricechange/index","goods.price.PriceChange",function () {
		this.$extend={
			moduleName:'商品管理',
			pageName:'代销变价'
		}
	});

	/*列表数据*/
	app.post("/goods/price/list","price_queryProductPriceList");

	/*获得单个变价详情*/
	app.post("/goods/getPrice","price_getProductPrice");

	/*单个变价接口*/
	app.post("/goods/updatePrice","price_updateProductPrice");

	/*变价记录*/
	app.post("/goods/queryProductPriceListBySkn","price_queryProductPriceListBySkn");
	
	/*变价记录(新)*/
	app.post("/goods/queryNewProductPriceListBySkn","price_queryNewProductPriceListBySkn");

	/*删除变价记录*/
	app.post("/goods/deletePricePlan","price_deletePricePlan");

	/*批量变价接口*/
	app.post("/goods/batchUpdatePrice","price_batchUpdateProductPrice");

	

	/**************************品牌合作模式页面渲染*******************************/
	app.get("/goods/brandCooperation/index","goods.price.BrandCooperation",function(){
		this.$extend={
			moduleName:'商品管理',
			pageName:'品牌合作模式设置'
		}
	});

	/*列表数据*/
	app.post("/brandCooperation/queryBrandCooperationList","price_queryBrandCooperationList");

	/*修改合作模式*/
	app.post("/brandCooperation/saveBrandCooperation","price_saveBrandCooperation");
}