operations.payment.js
1.92 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
55
56
57
58
59
60
61
module.exports= {
namespace: "payment",
apis: {
findPayManageList: {
title: "支付管理列表",
url: "/PayManageController/findPayManageList",
params: []
},
findPayInfoById: {
title: "支付方式详情",
url: "/PayManageController/findPayInfoById",
params: [
{name:"id", type:"Number"}
]
},
createPayMode: {
title: "新增支付方式",
url: "/PayManageController/createPayMode",
params: [
{name:"payName", type:"String"},
{name:"recommendOrderPage", type:"Number", default:0},
{name:"recommendWords", type:"String"},
{name:"sortNumber", type:"Number", default:0},
{name:"recommendText1", type:"String"},
{name:"recommendText2", type:"String"}
]
},
updatePayInfoById: {
title: "编辑支付方式",
url: "/PayManageController/updatePayInfoById",
params: [
{name:"id", type:"Number"},
{name:"payName", type:"String"},
{name:"recommendOrderPage", type:"Number", default:0},
{name:"recommendWords", type:"String"},
{name:"sortNumber", type:"Number", default:0},
{name:"recommendText1", type:"String"},
{name:"recommendText2", type:"String"}
]
},
openPayModeById: {
title: "开启支付方式",
url: "/PayManageController/openPayModeById",
params: [
{name:"id", type:"Number"}
]
},
closePayModeById: {
title: "关闭支付方式",
url: "/PayManageController/closePayModeById",
params: [
{name:"id", type:"Number"}
]
}
}
}