cod.js 1.47 KB
module.exports=function(app) {
	/*品牌货到付款限制页面路由*/
	app.get("/goods/cod/brand/index","goods.cod.Index");
	
	/*分页*/
	app.post("/payDelivery/queryTotalBrandPayDelivery","cod_queryTotalBrandPayDelivery");

	/*开启 & 关闭 货到付款*/
	app.post("/payDelivery/addPayDeliveryCheck","cod_addPayDeliveryCheck");

	/*通过 & 驳回申请*/
	app.post("/payDelivery/reviewPayDeliveryCheck","cod_reviewPayDeliveryCheck");

	/*获取tab上的数量*/
	app.post("/payDelivery/queryCountBrandPayDelivery","cod_queryCountBrandPayDelivery");

	/*单品货到付款限制页面路由*/
	app.get("/goods/cod/goods/index","goods.cod.Index2");

	/*列表*/
	app.post("/payDelivery/queryPayDeliveryList","cod_queryPayDeliveryList");

	/*开启货到付款*/
	app.post("/payDelivery/openPayDelivery","cod_openPayDelivery");

	/*关闭货到付款*/
	app.post("/payDelivery/closePayDelivery","cod_closePayDelivery");

	/*通过申请*/
	app.post("/payDelivery/passPayDelivery","cod_passPayDelivery");

	/*驳回申请*/
	app.post("/payDelivery/rejectPayDelivery","cod_rejectPayDelivery");

	/*获取skn列表*/
	app.post("/payDelivery/queryPayDeliveryProductSkn","cod_queryPayDeliveryProductSkn");

	/*获取tab上的数量*/
	app.post("/payDelivery/queryCountProductPayDelivery","cod_queryCountProductPayDelivery");

	/*获取品牌列表*/
	app.post("/payDelivery/queryPayDeliveryBrandName","cod_queryPayDeliveryBrandName");

	/*批量导入*/
	app.get("/goods/cod/upload","goods.cod.Upload");
}