更新
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
class ServiceConstant {
|
||||
static const String baseHost = "vsbs-test.he-info.cn"; //服务地址
|
||||
static const String baseHost = "zhmht.swes.com.cn:27020"; //服务地址
|
||||
// static const String baseHost = "vsbs-test.he-info.cn"; //服务地址
|
||||
// static const String baseHost = "vsbst-api.he-info.cn";//服务地址
|
||||
static const String service_address = "http://$baseHost";
|
||||
// static const String service_address = "http://$baseHost";
|
||||
static const String service_address = "https://$baseHost";
|
||||
|
||||
static String server_service = "/vsbs_app_server"; //服务名称
|
||||
|
||||
@@ -17,7 +19,7 @@ class ServiceConstant {
|
||||
static String person_info = "/api/personnel/info"; //用户资料
|
||||
static String sleep_report = "/api/device/sleep/data"; //睡眠报告
|
||||
static String device_share = "/api/device/share"; //分享设备
|
||||
|
||||
|
||||
static String message_list = "/api/mesasge/list"; //消息列表
|
||||
static String message_read = "/api/mesasge/read"; //消息未读数量
|
||||
static String device_show = "/api/device/bind"; //更新设备绑定
|
||||
@@ -32,7 +34,6 @@ class ServiceConstant {
|
||||
static String city_data = "/api/city/data/info"; //城市数据
|
||||
static String address_list = "/api/addresss/list"; //查询地址列表
|
||||
static String add_address = "/api/addresss/info"; //添加地址
|
||||
|
||||
|
||||
static String logService = "$service_address/vsbs_log";
|
||||
static const String webSocketService = "wss://$baseHost/vsbs_ws_gateway/ws";
|
||||
|
||||
Reference in New Issue
Block a user