api.url.js
17.1 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
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
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='
//ximing http://www.dzapi.com/index.php?s=
alias: 'App.TestManagement.TestReal', //真实接口名称,默认为空
msgSecCheck:true, //进行内容安全检查
hasDisabledRMT:true, //默认false进行网络并发管理, true不进行并发管理
},
//预订信息详情
'App.Reserve.Detail': {
cachetime: 30,
openid:'openid',
},
//建立预订关系
'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,
alias:'App.Reserve.NewGetReserveList'
},
//地图页-商家
'App.Customer.SellerList': {
//alias: 'App.Customer.NewSellerList'
},
//地图页-商家-列表
'App.Customer.SellerLists':{
alias: 'App.Customer.NewSellerLists'
},
//桌位列表
'App.Tables.GetTableListsBySellerId': {
cachetime: 60,
},
//获得推荐桌位
'App.Reserve.GetTableList':{
alias:'App.Reserve.NewGetTableList'
},
//录入预订
'App.Reserve.SetReserveInfo':{
alias:'App.Reserve.NewSetReserveInfo',
msgSecCheck:true,
},
// 修改当前预订状态 0:待确认,1:已定座,2:确认到店,3:用餐完成
'App.Reserve.SetReserveStatus': {
silence: false,
},
//分离后的在线预订专用修改当前预订
'App.Customer.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,
alias:'App.Reserve.NewExportReserve'
},
//查询短信剩余及套餐
'App.Reserve.SmsInfo': {
alias: 'App.SendSMS.SmsInfo',
cachetime: 60,
},
//生成支付签名接口
'App.Reserve.SmsBuy': {
alias: 'App.Pay.WxPaySub',
},
/**短信营销**/
//App.Reserve.SmsBatchUpdate 新增或编辑短信
'App.Reserve.SmsBatchUpdate': {
silence: false,
msgSecCheck:true,
},
//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.NewSmsBatchSend',
silence: false,
},
//真实发送短信
'App.SendSMS.SyncSmsBatchSend':null,
//统计某个商家某天预订总数
'App.Reserve.ReservesCountDay':{
alias:'App.Reserve.NewReservesCountDay',
},
//统计某个商家某月预订总数
'App.Reserve.ReservesCountMonth':{
cachetime: 300,
},
/**提前点餐**/
'App.Advance.CreateOrder':{
//silence: false,
hasDisabledRMT:true,//可并发
},
//菜品列表
'App.Advance.GetCookbookByClass': null,
//菜品规格
'App.Advance.GetCookbookSelBySpecsId': null,
//添加到购物车
'App.Advance.AddCart': {
hasDisabledRMT:true,//可并发
},
//减菜
'App.Advance.ReduceOrder': {
hasDisabledRMT:true,//可并发
},
//设置人数,设置备注
'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':{
msgSecCheck:true,
},
//运营发送消息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',
msgSecCheck:true,
},
//修改、录入邀请函信息,同时生成对应的商家信息
'App.Invitation.SetInvitationInfo':{
silence: false,
openid:'openid',
msgSecCheck:true,
},
//邀请函详情
'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':{
alias:'App.App.KeywordTips'//限制城市
},
//设置C端用户常用信息
'App.Customer.SetCustomerInfo':{
openid:'openid',
silence:false,
msgSecCheck:true,
},
//根据openid获取用的常用信息
'App.Customer.GetCustomerInfo':{
openid:'openid',
cachetime: -1,
},
//C端录入预定
'App.Customer.SetReserveInfo':{
openid:'openid',
silence:false,
msgSecCheck:true,
//alias:'App.Customer.SetReserveInfotest'
},
//获得小程序码
'App.Other.generate_qrcode':{
host: 'https://cli.im/mina/',
alias:'generate_qrcode'
},
// 设置到店时间 rid=??&ddate=??
'App.Customer.SetDdate':{
openid:'openid',
silence:false,
},
//我的订单
'App.Customer.GetMyOrder':null,
// 预定失败推荐商家接口
'App.Customer.GetRecommendSellerList':null,
// 用户订单为空时推介商家
'App.Customer.GetRecommendSellerLists':null,
//获取营业时间段满房接口
'App.Customer.GetHouseFullDateTimes':null,
//根据指定年份月份获取当月满房的日期
'App.Customer.GetHouseFullDate':{
hasDisabledRMT:true,
},
//获取微信用户绑定的手机号
'App.Customer.GetCustomerTel':null,
//根据openid及联系电话删除对应的数据 将其状态改为0
'App.Customer.DelCustomerInfo':{
openid:'openid'
},
//在线预订配置-获取商家包间分类
'App.Seller.GetSellerTableClass':{
hasDisabledRMT:true,
},
//获取商家设置预订安排模板页面
'App.Seller.GetSellerTemplateConf':{
hasDisabledRMT:true,
},
//置满包间分类
'App.Seller.SetTableClassFull':{
hasDisabledRMT:true,
},
//获取包间置满日期
'App.Customer.GetTableFillUpDate':{
hasDisabledRMT:true,
},
//提供openid获取身份信息
'App.Seller.VerificationIsAdmin':{
cachetime: 1800,
},
//搜索相关
'App.Customer.SetHistorySearch':{
openid:'openid'
},
//搜索相关
'App.Customer.DelHistorySearch':{
openid:'openid'
},
//搜索相关
'App.Customer.GetHistorySearch':{
openid:'openid',
cachetime: -1,
},
//查看短信内容
'App.SendSMS.GetSmsContent':null,
//发送短信
'App.SendSMS.NewMessage':null,
//商户修改在线预定
'App.Customer.SetReserveInfoById':null,
//生成小程序码
'App.System.GetWxLiteCode':null,
//获取在线预定列表
'App.Reserve.GetOnlineReserveList':null,
//绑定关系(用户浏览记录)
'App.Customer.BindClicks':{
openid:'openid',
},
//清空浏览记录(用户浏览记录)
'App.Customer.ClearHistory':{
openid:'openid',
},
//获取用户浏览记录(用户浏览记录)
'App.Customer.GetHistoryList':{
openid:'openid',
},
//快速备注
'App.Customer.GetUserRemarkes':{
openid:'openid',
cachetime: -1,
},
//写入快速备注
'App.Customer.SetUserRemarkes':{
openid:'openid',
},
//订阅消息
'App.Wechat.Subscribe':{
openid:'openid',
},
//获取商家用户(店员)详情
'App.Reserve.GetSellerUserDetail':{
openid:'openid',
},
//C端用户取消预订操作
'App.Customer.SetReserveStatusByUser':{
openid:'openid',
},
//获取用户余额
'App.User.GetBalance':{
openid:'openid',
},
//获取用户余额
'App.User.GetConsume':{
openid:'openid',
},
//获取单个任务
'App.Task.GetTaskInfo':{
openid:'openid',
},
//获取用户任务列表
'App.Task.GetTaskInfos':{
openid:'openid',
},
//领取任务 aid tid
'App.Task.SetTaskInfo':{
openid:'openid',
},
//企业微信用的完成任务 aid tid
'App.Task.GetTaskByOpenid':{
openid:'openid',
},
//获取账单详情
'App.Customer.GetOrderInfo':null,
//初始化账单
'App.Customer.InitOrder':{
openid:'openid',
},
//用户发票关联账单、同时生成个人发票记录
'App.Customer.SetInvoice':{
openid:'openid',
},
//催促消息
'App.PushMsg.SendUrgeMsg':null,
//构造支付参数
'App.PayOnline.CombineTransactions':{
openid:'openid',
},
//商家确认账单操作
'App.Customer.UpdateOrderInfo':{
silence:false,
},
//进店领取红包
'App.Customer.SetCardRel':{
openid:'openid',
},
//根据不同状态获取用户对应的卡券列表
'App.Customer.GetUserCard':{
openid:'openid',
},
//根据账单ID,改变用户自主选择的卡券类型
'App.Customer.ChangeDiscountCombination':{
openid:'openid',
silence: false,
},
//获取商家菜品套餐列列表
'App.Foodset.GetFoodsetList':{
cachetime: 120,
},
//获取商家菜品套餐详情
'App.Foodset.GetFoodsetDetail':null,
//JSAPI下单API【1=菜品套餐支付】
'App.PayOnline.JsApiPay':{
openid:'openid',
},
//获取用户已购买的套餐信息
'App.Foodset.GetUserFoodOrders':{
openid:'openid',
},
//根据区域查询指定条件下的商家列表
'App.Customer.GetSellerListByFoods':null,
//用来检测找包间首页优惠板块是否显示
'App.Customer.IsSetActivityByFoods':null,
//根据地理位置获取相应的商家活动列表
'App.Customer.GetActivitySellerListByFoods':null,
//根据code获取指定区域下面的推介的商家列表
'App.Customer.GetRecomList':null,
//根据账单ID获取账单详情
'App.Foodset.GetFoodOrdersDetail':null,
//根据唯一code获取相关参数
'App.Customer.GetWxLiteCodeInfo':null,
//分享关系记录
'App.Customer.SetShareRel':null,
//预订成功之后用户评价当前预订
'App.User.SetComment':{
openid:'author_openid',
msgSecCheck:true,
},
//根据不同场景获取不同的列表数据 flag
'App.Customer.GetSellerComments':{
openid:'openid',
},
//根据商家的订单以及用户查询
'App.Customer.CheckIsComment':{
openid:'openid',
},
//获取商家评价的每个标签的统计
'App.Customer.GetCountCommentLabel':null,
//修改评论状态、审核人、时间
'App.Customer.CheckComment':{
openid:'openid',
},
//获取商家优惠对接人信息
'App.Customer.GetSellerPreferentialDocking':null,
//接单人,获得商家设置的接单人列表
'App.Customer.GetReceptionists':null,
//买单优惠
'App.Customer.GetSellerListByCheck':null,
//套餐优惠
'App.Foodset.GetListByFoodset':null,
//线下优惠
'App.Customer.GetSellerListByActivity':null,
//用户活动列表 不传aid查用户列表 传aid查详情
'App.Activity.ActivityListByOpenid':{
openid:'openid',
},
//点击使用 进优惠券详情时 调这个 创建核销码
'App.Activity.UseCreateQrcode':{
openid:'openid',
},
//扫码进页面 点核销 调这个
'App.Activity.SetActivityStatus':null,
//用户在小程序点前往查看 跳转到公众号后 前端调这个接口 程序自动调关联领取关系
'App.Activity.SetActivityAsReserve':{
openid:'openid',
},
//获取预定绑定活动
'App.Activity.GetActivityByRid':null,
//获取各状态列表
'App.Activity.GetListByStatus':{
openid:'openid',
},
'App.Activity.GetCustomerActivityBaseinfo':null,
'App.Photo.getSellerPhotoById':null,
'App.Contact.UploadCustomerMedia':{
openid:'openid'
},
//绑定客户经理关系
'App.Activity.SetRelation':{
openid:'openid'
},
//客户经理积分设置
'App.Activity.SetIntegral':{
openid:'openid'
},
//判断是否点击确认收到
'App.Reserve.GetIsRelaSuccess':{
openid:'openid'
},
//App获取桌位关联图片
'App.Tables.GetTablesPhoto':null,
//小程序获取桌位关联图片
'App.Tables.GetTablesPhotoBySid':null,
//订单预订成功是否消费
'App.Reserve.GetReserveIsConsume':{
openid:'openid'
},
//预定同一商家、时段时提醒
'App.Reserve.GetReserveIsExits':{
openid:'openid'
},
//新充值活动详情
'App.Activity.GetNewRecharge':{
openid:'openid'
},
//客户经理优惠券信息
'App.Activity.GetActivityById':{
openid:'openid'
},
//创建购买优惠活动订单
'App.Activity.CreateNewRechargeOrder':{
openid:'openid'
},
//合单支付
'App.PayOnline.CombineTransactionsByRecharge':{
openid:'openid'
},
//新增客户信息
'App.GuestManage.InsGuest':{
openid:'openid'
},
// 未使用优惠券列表
'App.Activity.GetNewRechargeListByOrderid':{
openid:'openid'
},
// 未使用优惠券列表
'App.Activity.GetNewRechargeListByOpenid':{
openid:'openid'
},
// 获取订单中券详情
'App.Activity.GetOrderRechargeByid':{
openid:'openid'
},
// 申请优惠券退款
'App.PayOnline.RechargeRefundApply':{
openid:'openid'
},
// 新版券合单购买
'App.PayOnline.CombineTransactionsByNewRecharge':{
openid:'openid'
},
// 券订单评论状态
'App.Activity.SetNewRechargeOrderByIsComment':{
openid:'openid'
},
// 新充值活动列表
'App.Activity.GetNewRechargeList':{
openid:'openid'
},
// 获取商家订座配置
'App.Seller.GetDzSellerConf':{
openid:'openid'
},
// 获取所有分类下所有菜品列表
'App.Cookbook.GetCookbookByClass':{
openid:'openid'
},
// 获取提前点餐订单详情
'App.Advance.GetOrderInfo':{
openid:'openid'
},
// 获取手机号是否为商家会员
'App.GuestManage.GetIsMemberByPhone':{
openid:'openid'
},
// 修改客户信息
'App.GuestManage.SetGuestInfo':{
openid:'openid'
},
// 预定ID获取排菜
'App.PlanCook.GetPlanCookByRid':{
openid:'openid'
},
// 获取七牛上传token信息
'App.Qiniu.GetUploadToken':{
openid:'openid'
},
// 收集店铺信息
'App.SellerVersion.SetSellerCollect':{
openid:'openid'
},
// 发送意向店铺通知短信
'App.SaiYouYun.SendIntention':{
openid:'openid'
},
// 获取商家的版本信息
'App.SellerVersion.GetSellerVersion':{
openid:'openid'
},
// 用户从邀请函支付定金
'App.PayOnline.CombineTransactionsByDeposit':{
openid:'openid'
},
// 通过预订ID查收定金详情
'App.Reserve.GetReserveDepositByRid':{
openid:'openid'
},
// 获取预订详情自定义图文
'App.Reserve.GetReserveImgText':{
openid:'openid'
},
// 发送赛邮云短信验证码
'App.SaiYouYun.VcCodeMessage':{
openid:'openid'
},
//录入预订
'App.Reserve.AndroidSetReserveInfo':{
alias:'Android.Reserve.SetReserveInfo',
msgSecCheck:true,
},
}