This commit is contained in:
wyf
2025-10-31 15:05:10 +08:00
parent 58f4b1f0bb
commit a9992f40ee
2 changed files with 10 additions and 6 deletions

View File

@@ -1,10 +1,10 @@
class ServiceConstant { class ServiceConstant {
// static const String baseHost = "zhmht.swes.com.cn:27021"; //服务地址 眠花糖测试地址 // static const String baseHost = "zhmht.swes.com.cn:27021"; //服务地址 眠花糖测试地址
static const String baseHost = "zhmht.swes.com.cn:27020"; //服务地址 眠花糖正式地址 static String baseHost = "zhmht.swes.com.cn:27020"; //服务地址 眠花糖正式地址
// static const String baseHost = "vsbs-test.he-info.cn"; //服务地址 本地测试地址 // static const String baseHost = "vsbs-test.he-info.cn"; //服务地址 本地测试地址
// static const String baseHost = "vsbst-api.he-info.com";//服务地址 // static const String baseHost = "vsbst-api.he-info.com";//服务地址
// static const String service_address = "http://$baseHost"; // static const String service_address = "http://$baseHost";
static const String service_address = "https://$baseHost"; static String service_address = "https://$baseHost";
static String server_service = "/vsbs_app_server"; //服务名称 static String server_service = "/vsbs_app_server"; //服务名称
@@ -38,7 +38,7 @@ class ServiceConstant {
static String add_address = "/api/addresss/info"; //添加地址 static String add_address = "/api/addresss/info"; //添加地址
static String logService = "$service_address/vsbs_log"; static String logService = "$service_address/vsbs_log";
static const String webSocketService = "wss://$baseHost/vsbs_ws_gateway/ws"; static String webSocketService = "wss://$baseHost/vsbs_ws_gateway/ws";
static const String sleep_token = "HdAMjzqiYQKsmHRyEFKhfRGQ"; static const String sleep_token = "HdAMjzqiYQKsmHRyEFKhfRGQ";
static const String sleep_report_url = static const String sleep_report_url =
"https://alltoone.he-info.cn/h5/#/mattress/sleep/sleep"; "https://alltoone.he-info.cn/h5/#/mattress/sleep/sleep";

View File

@@ -9,7 +9,7 @@ environment:
fluwx: fluwx:
app_id: 'wx929c548fea6af9c7' #填写自己的 WeChat app id.眠花糖 app_id: 'wx929c548fea6af9c7' #填写自己的 WeChat app id.眠花糖
# app_id: 'wxeb2688220799e2c5' #填写自己的 WeChat app id.太和e护 # app_id: 'wxeb2688220799e2c5' #填写自己的 app id.太和e护
debug_logging: false # Logging in debug mode. debug_logging: false # Logging in debug mode.
android: android:
# interrupt_wx_request: true # Defaults to true. # interrupt_wx_request: true # Defaults to true.
@@ -51,11 +51,11 @@ dependencies:
git: git:
url: https://gitea.wslpc.real.he-info.cn:94/flutter/easydevice.git url: https://gitea.wslpc.real.he-info.cn:94/flutter/easydevice.git
# url: http:///enchantedwyf@git.it.real.he-info.cn:90/r/easydevice.git # url: http:///enchantedwyf@git.it.real.he-info.cn:90/r/easydevice.git
ref: main ref: b782e61b20
localstorage: ^5.0.0 localstorage: ^5.0.0
img_picker: ^1.0.2 img_picker: ^1.0.2
uuid: ^4.5.1 uuid: ^4.5.1
mobile_scanner: ^6.0.10 mobile_scanner: 6.0.10
# flutter_barcode_scanner: ^2.0.0 # flutter_barcode_scanner: ^2.0.0
flutter_inappwebview: ^6.1.5 flutter_inappwebview: ^6.1.5
fluwx: ^5.5.2 fluwx: ^5.5.2
@@ -81,6 +81,10 @@ dependencies:
archive: ^4.0.0 archive: ^4.0.0
jpush_flutter: ^3.3.6 jpush_flutter: ^3.3.6
share_plus: ^11.1.0 share_plus: ^11.1.0
mhtctrl:
git:
url: https://gitea.wslpc.real.he-info.cn:94/flutter/mhtctrl.git
ref: main
dev_dependencies: dev_dependencies:
flutter_test: flutter_test: