api.url.js
6.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
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
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', //真实接口名称,默认为空
},
//预订信息详情
'App.Reserve.Detail': {
cachetime: 30,
},
//建立预订关系
'App.Reserve.SetRelaOpenid': {
cachetime: -1,
},
//增加顾客信息
'App.Reserve.AddUser': {
cachetime: -1,
},
//邀请详情页面----设置分享信息
'App.Reserve.SetTopicFromShare': null,
//列表----我的日程
'App.Reserve.GetListFromScheAndRes': {
//cachetime: 30,
},
//订座详情页面----我愿意
'App.Reserve.SetRelaSuccess': {
silence: false,
},
//定个座儿 获取商户信息
'App.Reserve.SellerInfo': {
cachetime: 300,
},
//设置客户经理
'App.Reserve.SetReserveCusman': null,
//发送短信
'App.SendSMS.Message': {
silence: false,
},
//手机号搜索
'App.Reserve.GetReserveUser': null,
//预订列表
'App.Reserve.GetReserveList': {
silence: false,
},
//地图页-商家
'App.Customer.SellerList': null,
//地图页-商家-列表
'App.Customer.SellerLists':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': {
silence: false,
},
//App.Reserve.SmsBatchList 营销短信列表
'App.Reserve.SmsBatchList': null,
//App.Reserve.SmsBatchInfo 营销短信详细
'App.Reserve.SmsBatchInfo': {
silence: false,
},
//App.Reserve.GetReservePhones 获取可发短信的客户列表
'App.Reserve.GetReservePhones': null,
//App.Reserve.SmsBatchSend 短信发送
'App.Reserve.SmsBatchSend': {
alias:'App.SendSMS.SmsBatchSend',
silence: false,
},
//统计某个商家某天预订总数
'App.Reserve.ReservesCountDay':null,
//统计某个商家某月预订总数
'App.Reserve.ReservesCountMonth':{
cachetime: 300,
},
/**提前点餐**/
'App.Advance.CreateOrder':{
//silence: false,
},
//菜品列表
'App.Advance.GetCookbookByClass': null,
//菜品规格
'App.Advance.GetCookbookSelBySpecsId': null,
//添加到购物车
'App.Advance.AddCart': null,
//减菜
'App.Advance.ReduceOrder': null,
//设置人数,设置备注
'App.Advance.SetOrderById':null,
//清空购物车
'App.Advance.RemoveCart': {
silence: false,
},
//菜品备注tags
'App.Advance.GetRemarkBySellerid':{
cachetime: 300,
},
//下单
'App.Advance.PlaceOrder':null,
/**crm**/
'App.Reserve.Members':null,
//常用备注
'App.User.GetCustomRemark':null,
//添加备注
'App.User.AddCustomRemark':null,
//运营发送消息demo
'App.Reserve.OperationalMessagePush':{
silence: false,
},
//顾客端配置信息、菜系
'App.Reserve.GetCustomerConfig':{
cachetime: 1800,
},
//C端商家详情
'App.Customer.GetSellerDetail':null,
//是否收藏
'App.Customer.IsCollectionSeller':null,
//顾客收藏、取消收藏店铺
'App.Customer.SetCollectionRel':null,
//顾客收藏的店铺列表
'App.Customer.GetCollectionSellerList':null,
/**
* 邀请函
*/
//根据订座的openid 获取当前用户身份
'App.Invitation.UserIdentity':{
openid:'openid',
},
//增加客户经理基本信息
'App.Invitation.AddInvitationUser':{
openid:'openid',
},
//获取商家列表
'App.Invitation.GetSellerList':{
//cachetime: -1,
openid:'openid',
},
//编辑、增加商家信息
'App.Invitation.SetSellerInfo':{
openid:'openid',
},
//修改、录入邀请函信息,同时生成对应的商家信息
'App.Invitation.SetInvitationInfo':{
silence: false,
openid:'openid',
},
//邀请函详情
'App.Invitation.Detail':null,
//客户经理、预订人、受邀人信息建立
'App.Invitation.SetInvitationRel':{
//cachetime: -1,
openid:'inviting',
},
//受邀人同意参加,修改关系状态
'App.Invitation.SetInvitationConfirm':{
openid:'openid',
},
//根据客户经理openid 获取当前用户所负责的顾客
'App.Invitation.Members':{
openid:'openid',
},
//根据客户经理openid 获取当前用户预订列表
'App.Invitation.InvitationList':{
openid:'openid',
},
//该区域是否有商家活动 0/1 无/有
'App.Customer.IsSetActivity':null,
//商家活动列表
'App.Customer.GetActivitySellerList':null,
//上传图片,只能上传单个图片文件
'App.Examples_Upload.UploadQn':null,
//获得客户经理新顾客数
'App.Reserve.GetNewCustomerTotal':{
openid:'openid',
cachetime: 60,
},
//根据腾讯地点搜索api整合现有商家
'App.Customer.SearchMap':null,
//根据腾讯地点搜索api整合现有商家
'App.Customer.KeywordTips':null,
//设置C端用户常用信息
'App.Customer.SetCustomerInfo':{
openid:'openid',
silence:false,
},
//根据openid获取用的常用信息
'App.Customer.GetCustomerInfo':{
openid:'openid',
cachetime: -1,
},
//C端录入预定
'App.Customer.SetReserveInfo':{
openid:'openid',
silence:false,
},
//获得小程序码
'App.Other.generate_qrcode':{
host: 'https://cli.im/mina/',
alias:'generate_qrcode'
},
// 设置到店时间 rid=??&ddate=??
'App.Customer.SetDdate':{
openid:'openid',
silence:false,
},
// 预定失败推荐商家接口
'App.Customer.GetRecommendSellerList':null,
// 用户订单为空时推介商家
'App.Customer.GetRecommendSellerLists':null,
//获取营业时间段满房接口
'App.Customer.GetHouseFullDateTimes':null,
//根据指定年份月份获取当月满房的日期
'App.Customer.GetHouseFullDate':null,
//获取微信用户绑定的手机号
'App.Customer.GetCustomerTel':null,
//根据openid及联系电话删除对应的数据 将其状态改为0
'App.Customer.DelCustomerInfo':{
openid:'openid'
}
}