api.url.js
3.7 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
export default {
//示例,JS接口名,和服务端接口名称保持一致
'App.TestManagement.Test': {
silence: true, //静默,不带loading; 默认 true 不带loading
cachetime: 0, //缓存 0无,-1永久,86400秒; 默认 0 不缓存
timeout: 2000, //接口超时时间,默认2s
host: '', //默认空使用04服务器,测试填写 'https://xt05.colorcun.com:10006/?s='
alias: 'App.TestManagement.TestReal', //真实接口名称,默认为空
openid:'openid'
},
//http://xt04.colorcun.com/docs.php?service=App.Seller.AddTableClass&detail=1&type=fold创建包间分类
'App.Seller.AddTableClass':null,
//http://xt04.colorcun.com/docs.php?service=App.Seller.SetTableClassFull&detail=1&type=fold置满包间分类
'App.Seller.SetTableClassFull':null,
//http://xt04.colorcun.com/docs.php?service=App.Seller.SetTableClass&detail=1&type=fold修改包间分类
'App.Seller.SetTableClass':null,
//http://xt04.colorcun.com/docs.php?service=App.Seller.GetSellerTableClass&detail=1&type=fold获取商家包间分类
'App.Seller.GetSellerTableClass':null,
//http://xt04.colorcun.com/docs.php?service=App.Seller.GetTableClassById&detail=1&type=fold获取包间分类详情
'App.Seller.GetTableClassById':null,
//http://xt04.colorcun.com/docs.php?service=App.Seller.SetReOrderTime&detail=1&type=fold设置接单时间
'App.Seller.SetReOrderTime':null,
//在线预订配置-获取已选、不可选的桌位
'App.Seller.GetTableNotOption':null,
//获取openid
'App.Wechat.GetSellerOpenidByCode':null,
//获取商家信息
'App.Seller.GetSellerById':null,
//获取商家列表
'App.Seller.GetSystemByOpenid':null,
//修改商家信息
'App.Seller.SetSellerById':null,
//获取商家配置信息
'App.Seller.GetSellerConfig':null,
//修改商家配送信息
'App.Seller.SetSellerConfig':null,
//添加打印机
'App.Prints.AddPrints':null,
//修改打印机
'App.Prints.SetPrints':null,
//获取打印机品牌类型
'App.Prints.GetPrintsBrand':null,
//获取打印机信息
'App.Prints.GetPrintsById':null,
//获取打印机列表
'App.Prints.GetPrintsBySellerId':null,
//删除打印机
'App.Prints.DelPrints':null,
//获取授权信息
'App.Wechat.WxLogin':null,
//获取店员列表
'App.Seller.GetAuthUserLists':null,
//获取店员信息
'App.Seller.GetAuthUser':null,
//编辑店员信息
'App.Seller.EditAuthUser':null,
//移除店员
'App.Seller.DeleteAuthUser':null,
//获取菜品份类
'App.Cookbook.GetCookbookClassBySellerId':null,
//获取菜品数据-商户
'App.Cookbook.GetCookbookByClass':null,
//获取菜品数据-顾客
'App.Cookbook.NewGetCookbookByClass':null,
//添加菜品
'App.Orders.AddCart':null,
//减菜品
'App.Orders.ReduceOrder':null,
//获取购物车数据
'App.Orders.GetCartByOpenid':null,
'App.Orders.GetOrderTotalMoney':null,
//添加收货地址
'App.User.AddAddress':null,
//获取收货地址
'App.User.GetOpenidAddress':null,
//创建订单
'App.Orders.CreateOrder':null,
'App.Pay.WxPay':null,
//获取订单详情
'App.Orders.GetOrderById':null,
//获取订单列表
'App.Orders.GetOrderListByOpenid':null,
'App.Orders.SetOrderById':null,
//清空购物车
'App.Orders.ClearCar':null,
'App.Pay.Refund':null,
//订单汇总
'App.Orders.GetSellerSummaryOrder':null,
//批量添加员工
'App.Seller.BatchAddUser':null,
//获取添加员工二维码
'App.Seller.CreatebatchQrcode':null
}