更新分享
This commit is contained in:
29
lib/common/color/ServiceConstant.dart
Normal file
29
lib/common/color/ServiceConstant.dart
Normal file
@@ -0,0 +1,29 @@
|
||||
class ServiceConstant {
|
||||
static const String baseHost = "vsbs-test.he-info.cn";//服务地址
|
||||
static const String service_address = "http://$baseHost";
|
||||
|
||||
static String server_service = "/vsbs_app_server";//服务名称
|
||||
|
||||
static String send_code = "/api/verifycode/send";//发送验证码
|
||||
static String login = "/api/user/login";//登录
|
||||
static String get_bluetooth_device_status = "/api/device/status/info";//设备绑定状态
|
||||
static String device_bind = "/api/device/bind";//设备绑定
|
||||
static String device_type = "/api/device/type/list";//设备类型
|
||||
static String upload_file = "/api/file/info";//上传文件
|
||||
static String user_info = "/api/user/info";//更新用户资料,查询用户信息
|
||||
static String device_list = "/api/device/list";//绑定设备列表
|
||||
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 device_show = "/api/device/bind";//更新设备绑定
|
||||
static String disease_list = "/api/personnel/disease/list";//获取疾病类型
|
||||
|
||||
|
||||
|
||||
static String logService = "$service_address/vsbs_log";
|
||||
static const String webSocketService = "wss://$baseHost/vsbs_ws_gateway/ws";
|
||||
static const String sleep_token = "HdAMjzqiYQKsmHRyEFKhfRGQ";
|
||||
static const String sleep_report_url = "https://alltoone.he-info.cn/h5/#/mattress/sleep/sleep";
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user