更新
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";
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import 'package:ef/ef.dart';
|
||||
|
||||
class CommonVariables {
|
||||
static bool isNetWorkOn = false;
|
||||
static String supabaseUrl = "https://zhmht.swes.com.cn:3443";
|
||||
@@ -12,7 +14,7 @@ class CommonVariables {
|
||||
//公司名称
|
||||
static String enterpriseName = "合肥眠花糖家具有限责任公司";
|
||||
//备案时间
|
||||
static String ICPTime = "2022-2025";
|
||||
static String ICPTime = "2019-2029";
|
||||
static String shoph5Url = "https://zhmht.swes.com.cn:1443";
|
||||
|
||||
static Map<String, Function(dynamic)> callMap = {};
|
||||
@@ -22,4 +24,10 @@ class CommonVariables {
|
||||
static String shareText = "您的朋友邀请您使用《智慧眠花糖》APP,请复制后面链接在浏览器中打开! " +
|
||||
shoph5Url +
|
||||
"/#/pages/download/download";
|
||||
|
||||
List permissionInfo = [
|
||||
["位置权限说明".tr, "获得位置信息,连接附近的蓝牙设备与推荐附近门店".tr],
|
||||
["蓝牙权限说明".tr, "搜索链接附近的蓝牙设备".tr],
|
||||
["附近设备权限说明".tr, "搜索链接附近的蓝牙设备".tr]
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user