yohoCoin.js
1.39 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
module.exports=function(app) {
/*yoho币管理页面渲染*/
app.get("/goods/yohoCoin/index","goods.yohoCoin.Index",function(){
this.$extend={
moduleName:"商品管理",
pageName:"YOHO币管理",
skn: true,
store: true,
brand: true,
supplier: true,
gender: true,
sortTree: true,
returnCoinTime: false,
bulkImport: true,
bulkExport: true,
gridurl: '/good/yohoCoin/queryPageList'
}
});
/*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(){
});
/*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");
}