36 lines
1.8 KiB
Dart
36 lines
1.8 KiB
Dart
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 message_read = "/api/mesasge/read";//消息未读数量
|
|
static String device_show = "/api/device/bind";//更新设备绑定
|
|
static String disease_list = "/api/personnel/disease/list";//获取疾病类型
|
|
static String share_deleted = "";//删除分享
|
|
static String start_calibration = "/api/caibration";//开始校准
|
|
static String calibration_process = "/api/caibration";//校准进度
|
|
static String submit_repair = "";//提交报修
|
|
|
|
|
|
|
|
|
|
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";
|
|
|
|
}
|