From a9992f40ee1409f821437ba385359c24c4660205 Mon Sep 17 00:00:00 2001 From: wyf <494641114@qq.com> Date: Fri, 31 Oct 2025 15:05:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common/color/ServiceConstant.dart | 6 +++--- pubspec.yaml | 10 +++++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/common/color/ServiceConstant.dart b/lib/common/color/ServiceConstant.dart index b57eca3..7854066 100644 --- a/lib/common/color/ServiceConstant.dart +++ b/lib/common/color/ServiceConstant.dart @@ -1,10 +1,10 @@ class ServiceConstant { // 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 = "vsbst-api.he-info.com";//服务地址 // 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"; //服务名称 @@ -38,7 +38,7 @@ class ServiceConstant { static String add_address = "/api/addresss/info"; //添加地址 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_report_url = "https://alltoone.he-info.cn/h5/#/mattress/sleep/sleep"; diff --git a/pubspec.yaml b/pubspec.yaml index fbe799f..7371303 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -9,7 +9,7 @@ environment: fluwx: 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. android: # interrupt_wx_request: true # Defaults to true. @@ -51,11 +51,11 @@ dependencies: 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 - ref: main + ref: b782e61b20 localstorage: ^5.0.0 img_picker: ^1.0.2 uuid: ^4.5.1 - mobile_scanner: ^6.0.10 + mobile_scanner: 6.0.10 # flutter_barcode_scanner: ^2.0.0 flutter_inappwebview: ^6.1.5 fluwx: ^5.5.2 @@ -81,6 +81,10 @@ dependencies: archive: ^4.0.0 jpush_flutter: ^3.3.6 share_plus: ^11.1.0 + mhtctrl: + git: + url: https://gitea.wslpc.real.he-info.cn:94/flutter/mhtctrl.git + ref: main dev_dependencies: flutter_test: