goods.yohoCoin.js 1.17 KB
module.exports=function(app) {
	/*yoho币管理页面渲染*/
	app.get("/goods/yohoCoin/index","goods.yohoCoin.Index",function(){
		this.$extend={
			moduleName:"商品管理",
			pageName:"YOHO币管理"
		}
	});

	/*yoho币管理列表查询*/
	app.post("/good/yohoCoin/queryPageList","yohoCoin_queryPageList");

	/*编辑保存yoho币*/
	app.post("/good/yohoCoin/set","yohoCoin_set");

	/*批量上传TaskId查询*/
	app.post("/yohoCoin/importResult/queryBatchImportResult","yohoCoin_queryBatchImportResult");

	/*批量确认提交*/
	app.post("/good/yohoCoin/insertBatch","yohoCoin_insertBatch");

	/*yoho币审核页面渲染*/
	app.get("/goods/yohoCoin/Audit","goods.yohoCoin.Audit",function(){
		this.$extend={
			moduleName:"商品管理",
			pageName:"YOHO币审核"
		}
	});

	/*yoho币审核列表查询*/
	app.post("/good/yohoCoin/queryPageList4Audit","yohoCoin_queryPageList4Audit");

	/*审核通过*/
	app.post("/good/yohoCoin/pass","yohoCoin_pass");

	/*批量审核通过*/
	app.post("/good/yohoCoin/passBatch","yohoCoin_passBatch");

	/*驳回*/
	app.post("/good/yohoCoin/reject","yohoCoin_reject");

	/*批量驳回*/
	app.post("/good/yohoCoin/rejectBatch","yohoCoin_rejectBatch");
}