api.url.js
2.9 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
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/?s='
},
//预定信息详情
'App.Reserve.Detail': {
cachetime: 60,
},
//建立预定关系
'App.Reserve.SetRelaOpenid': {
cachetime: -1,
},
//增加顾客信息
'App.Reserve.AddUser': {
cachetime: -1,
},
//邀请详情页面----设置分享信息
'App.Reserve.SetTopicFromShare': null,
//列表----我的日程
'App.Reserve.GetListFromScheAndRes': {
cachetime: 30,
},
//订座详情页面----我愿意
'App.Reserve.SetRelaSuccess': null,
//定个座儿 获取商户信息
'App.Reserve.SellerInfo': {
cachetime: 300,
},
//设置客户经理
'App.Reserve.SetReserveCusman': null,
//发送短信
'App.SendSMS.Message': {
silence: false,
},
//手机号搜索
'App.Reserve.GetReserveUser': null,
//预定列表
'App.Reserve.GetReserveList': {
silence: false,
},
//商家列表
'App.Reserve.SellerList': null,
//桌位列表
'App.Tables.GetTableListsBySellerId': {
cachetime: 60,
},
// 修改当前预定状态 0:待确认,1:已定座,2:确认到店,3:用餐完成
'App.Reserve.SetReserveStatus': {
silence: false,
},
//修改当前桌子是否启用 0:未启用,1:启用
'App.Reserve.SetSwitchStatus': {
silence: false,
},
//进行商户判断
'App.Reserve.SellerForOpenid': null,
//商户端账号表增加订座儿openid
'App.Reserve.UpdateSellerUser': {
cachetime: 60,
},
//导出
'App.Reserve.ExportReserve': {
silence: false,
},
//查询短信剩余及套餐
'App.Reserve.SmsInfo': {
alias: 'App.SendSMS.SmsInfo',
cachetime: 60,
},
//生成支付签名接口
'App.Reserve.SmsBuy': {
alias: 'App.Pay.WxPaySub',
},
/**短信营销**/
//App.Reserve.SmsBatchUpdate 新增或编辑短信
'App.Reserve.SmsBatchUpdate': null,
//App.Reserve.SmsBatchList 营销短信列表
'App.Reserve.SmsBatchList': null,
//App.Reserve.SmsBatchInfo 营销短信详细
'App.Reserve.SmsBatchInfo': null,
//App.Reserve.GetReservePhones 获取可发短信的客户列表
'App.Reserve.GetReservePhones': null,
//App.Reserve.SmsBatchSend 短信发送
'App.Reserve.SmsBatchSend': null,
/**提前点餐**/
//菜品列表
'App.Cookbook.GetCookbookByClass': null,
//菜品规格
'App.Cookbook.GetCookbookSelBySpecsId': null,
//添加到购物车
'App.Orders.AddCart': null,
//减菜
'App.Orders.ReduceOrder': null,
//清空购物车
'App.Orders.ClearCookById': null,
//购物车
'App.Orders.GetOrderById': null,
}