http_url.dart
6.68 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
class HttpUrl {
static const String server_address = "https://xt04.colorcun.com/"; //服务端请求地址
static const String app_user_login =
"?service=Android.User.AppUserLogin"; //登录地址
static const String user_token_init =
"?service=Android.User.UserTokenInit"; //初始化推送token
static const String sellerinfo =
"?service=Android.Reserve.SellerInfo"; //获取商家信息
static const String login_out = "?service=Android.User.AppLoginOut"; //退出登录
static const String get_message_list =
"?service=Android.Reserve.GetMessageList"; //获取消息列表
static const String get_message_num =
"?service=Android.Reserve.GetUnMsgTotal"; //获取未处理消息数目
static const String get_reserve_list =
"?service=Android.Reserve.NewGetReserveList"; //获取已预订列表
static const String reserve_count_day =
"?service=Android.Reserve.NewReservesCountDay"; //获取一天订单统计数目
static const String reserve_detail = "?service=Android.Reserve.Detail"; //订单详情
static const String set_reserve_cusman =
"?service=Android.Reserve.SetReserveCusman"; //设置客户经理
static const String table_list =
"?service=Android.Tables.GetTableListsBySellerId"; //桌位列表
static const String set_reserve_status =
"?service=Android.Customer.SetReserveStatus"; //设置订单状态
static const String set_message_status =
"?service=Android.Advance.SetMessageStatus"; //设置消息状态
static const String get_sms_content =
"?service=App.SendSMS.GetSmsContent"; //获取短信内容
static const String send_sms = "?service=App.SendSMS.NewMessage"; //发送短信
static const String check_update =
"http://xt03.colorcun.com/admin/api/compareversion?flat=3";
static const String upload_contact =
"?service=App.Seller.SaveCallRecord"; //上传通讯录
static const String get_table_list =
"?service=Android.Reserve.NewGetTableList"; //根据商家ID 获取桌位信息列表: 1:散座 2:包间 默认:获取所有数据
static const String set_reserve_info =
"?service=Android.Reserve.SetReserveInfo"; //录入/更改内部预订
static const String set_customer_info =
"?service=Android.Customer.SetReserveInfo"; //更改在线预订
static const String set_switch_status =
"?service=App.Reserve.SetSwitchStatus"; //启用/停用桌位
static const String sms_info = "?service=App.SendSMS.SmsInfo"; //短信余量查询及套餐查询接口
static const String set_seller_info =
"?service=App.Seller.SetSellerById"; // 根据商家ID设置商家信息
static const String get_seller_info =
"?service=App.Seller.GetSellerById"; // 根据商家ID获取商家信息
static const String set_order_time =
"?service=App.Seller.SetReOrderTime"; //在线预订配置-接单时间
static const String get_custom_remark =
"?service=App.User.GetCustomRemark"; //获取常用备注
static const String del_custom_remark =
"?service=App.User.DelCustomRemark"; //删除常用备注
static const String add_custom_remark =
"?service=App.User.AddCustomRemark"; //添加常用备注
static const String get_reserve_user =
"?service=App.Reserve.GetReserveUser"; //获取历史录入联系人
static const String get_order_food =
"?service=App.Advance.CreateOrder"; //顾客扫桌码点餐-扫码创建订单
static const String get_reserve_detail =
"?service=App.Reserve.Detail"; //订座详情页面
static const String get_qiniu_info =
"?service=App.Qiniu.GetUploadToken"; //获取七牛上传token信息
static const String get_order_info =
"?service=App.Customer.GetOrderInfo"; //获取账单详情
static const String update_order_info =
"?service=App.Customer.UpdateOrderInfo"; // 商家确认账单
static const String new_get_reserve_list =
"?service=App.Reserve.NewGetReserveList"; //商家预订本列表【2019-11-26】
static const String create_customer_activity =
"?service=App.Activity.CreateCustomerActivity"; //客户经理创建活动
static const String get_customer_activity =
"?service=App.Activity.CustomerActivityList"; //获取所创建活动的列表
static const String set_customer_activity =
"?service=App.Activity.SetCustomerActivity"; //修改所创建活动的列表
static const String set_activity_as_reserve =
"?service=App.Activity.SetActivityAsReserve"; //设置预定绑定活动ID
static const String get_activity_by_rid =
"?service=App.Activity.GetActivityByRid"; //获取预定绑定活动
static const String set_customer_activity_baseinfo =
"?service=App.Activity.SetCustomerActivityBaseinfo"; //客户经理添加/修改基本信息
static const String get_customer_activity_baseinfo =
"?service=App.Activity.GetCustomerActivityBaseinfo"; //客户经理获取基本信息
static const String get_seller_photo_by_id =
"?service=App.Photo.getSellerPhotoById"; //查看商家图片
static const String send_vc_code =
"?service=App.SendSMS.SendVcCode"; //绑定手机号码时,给用户发送短信验证码接口
static const String check_seller_acc =
"?service=App.User.CheckSellerAcc"; //APP微信登录后检测是否存在商家
static const String app_sendsms_wxSendSms =
"?service=App.SendSMS.WxSendSms"; //预订安排发短信
static const String add_seller_info =
"?service=App.Seller.AddSeller"; //添加商家信息
static const String get_seller_user_info =
"?service=App.Seller.GetUserData"; //添加商家信息和当前登录人的信息
static const String check_bind_phone =
"?service=App.User.CheckbindPhone"; //APP微信登录后检测是否绑定过手机号
static const String get_integral_list =
"?service=App.Activity.GetIntegralList"; //获取客户经理积分列表
static const String add_table_area =
"?service=App.Tables.AddTableRegion"; // 添加商家桌位区域
static const String get_area_by_sellerid =
"?service=App.Tables.GetRegionBySellerid"; // 获取区域列表
static const String add_table = "?service=App.Tables.AddTable"; // 添加商家桌位信息
static const String add_forward =
"?service=App.Activity.AddForward"; // 客户经理转发记录
static const String up_reserve_info =
"?service=App.Reserve.UpReserveInfo"; // 编辑订单附加信息
static const String set_table_photo =
"?service=App.Tables.SetTablePhoto"; // App设置桌位关联图片
static const String get_table_photo =
"?service=App.Tables.GetTablePhoto"; // App获取桌位关联图片
static const String del_table_photo =
"?service=App.Tables.DelTablePhoto"; // Apps删除桌位关联图片
}