http_url.dart
9.22 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
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 get_tables_photo =
"?service=App.Tables.GetTablesPhoto"; // App获取所传多个桌位关联图片
static const String del_table_photo =
"?service=App.Tables.DelTablePhoto"; // Apps删除桌位关联图片
static const String get_statistics_list =
"?service=App.Reserve.ReserveStatistics"; //App订单统计
static const String get_seller_tableclass =
"?service=App.Seller.GetSellerTableClass"; //获取商家包间类型
static const String set_table_class_full =
"?service=App.Seller.SetTableClassFull"; // 在线预订配置-置满包间分类
static const String get_table_fill_update =
"?service=App.Customer.GetTableFillUpDate"; // 根据指定日期,返回当前商家包间类型置满情况的日期
static const String app_pay_sub =
"?service=App.Pay.AppPaySub"; // 根据指定日期,返回当前商家包间类型置满情况的日期
static const String get_table_class_by_id =
"?service=App.Seller.GetTableClassById"; // 获取包间分类
static const String set_table_class =
"?service=App.Seller.SetTableClass"; // 添加/修改包间分类
static const String get_cookbook_by_class =
"?service=App.Cookbook.GetCookbookByClass"; //分类下所有菜品列表(1.传orderid顾客端获取带订单信息的 否则不传
static const String get_cookbook_by_seller_id =
"?service=App.Cookbook.GetCookbookClassBySellerId"; //获取商家所有菜品分类
static const String del_cookbook_by_id =
"?service=App.Cookbook.DelCookbookClassById"; //删除菜品分类
static const String add_cookbook_class =
"?service=App.Cookbook.AddCookbookClass"; //添加菜品分类信息
static const String add_cookbook = "?service=App.Cookbook.AddCookbook"; //添加菜品
static const String get_spec_by_sellerid =
"?service=App.Cookbook.GetSpecBySellerid"; //获取商家计价单位
static const String get_cookbook_by_id =
"?service=App.Cookbook.GetCookbookById"; // 获取单个菜品信息
static const String get_auth_user_lists =
"?service=App.Seller.GetAuthUserLists"; // 店员列表
static const String add_seller_clerk =
"?service=App.Seller.AddsellerClerk"; // 添加店员
static const String set_user_is_call =
"?service=App.Seller.SetUserIsCall"; // 运营设置商家接单人
static const String delete_auth_user =
"?service=App.Seller.DeleteAuthUser"; // 删除店员
static const String edit_auth_user =
"?service=App.Seller.EditAuthUser"; // 编辑店员
static const String bind_phone_seller_user =
"?service=App.Seller.BindPhoneSellerUser"; // 账号表-员工绑定手机号
}