From 4de8e2cb9c195d89298b6a1ccde91b127d3386f5 Mon Sep 17 00:00:00 2001 From: jack ning Date: Wed, 8 Jun 2022 16:51:55 +0800 Subject: [PATCH] Update bytedesk_constants.dart --- .../lib/util/bytedesk_constants.dart | 44 +++++++++---------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/bytedesk_kefu/lib/util/bytedesk_constants.dart b/bytedesk_kefu/lib/util/bytedesk_constants.dart index 85bd7bc..20d265c 100755 --- a/bytedesk_kefu/lib/util/bytedesk_constants.dart +++ b/bytedesk_kefu/lib/util/bytedesk_constants.dart @@ -8,17 +8,17 @@ class BytedeskConstants { // // TODO: 增加自定义服务器地址接口 // 公司debug - static const bool isDebug = true; - static const bool isSecure = false; - static const bool isWebSocketWss = false; - static const String webSocketWssUrl = 'wss://www.bytedesk.com/websocket'; - static const String httpBaseUrl = 'http://' + mqttHost + ':8000'; - static const String httpBaseUrlAndroid = 'http://' + mqttHost + ':8000'; - static const String httpBaseUrliOS = 'http://' + mqttHost + ':8000'; - static const String httpUploadUrl = 'http://' + mqttHost + ':8000'; - static const String host = mqttHost + ':8000'; - static const int mqttPort = 3883; // not secure - static const String mqttHost = '172.16.0.78'; + // static const bool isDebug = true; + // static const bool isSecure = false; + // static const bool isWebSocketWss = false; + // static const String webSocketWssUrl = 'wss://www.bytedesk.com/websocket'; + // static const String httpBaseUrl = 'http://' + mqttHost + ':8000'; + // static const String httpBaseUrlAndroid = 'http://' + mqttHost + ':8000'; + // static const String httpBaseUrliOS = 'http://' + mqttHost + ':8000'; + // static const String httpUploadUrl = 'http://' + mqttHost + ':8000'; + // static const String host = mqttHost + ':8000'; + // static const int mqttPort = 3883; // not secure + // static const String mqttHost = '172.16.0.78'; // 本机测试 // static const bool isDebug = true; @@ -48,17 +48,17 @@ class BytedeskConstants { // static const String mqttHost = '192.168.0.106'; // 线上 - // static const bool isDebug = false; // false; - // static const bool isSecure = true; // secure - // static const bool isWebSocketWss = true; - // static const String webSocketWssUrl = 'wss://' + mqttHost + '/websocket'; - // static const int mqttPort = 13883; // secure - // static const String httpBaseUrl = 'https://' + mqttHost; - // static const String httpBaseUrlAndroid = 'https://' + mqttHost; - // static const String httpBaseUrliOS = 'https://' + mqttHost; - // static const String httpUploadUrl = 'https://upload.bytedesk.com'; - // static const String host = mqttHost; - // static const String mqttHost = 'flutter.bytedesk.com'; + static const bool isDebug = false; // false; + static const bool isSecure = true; // secure + static const bool isWebSocketWss = true; + static const String webSocketWssUrl = 'wss://' + mqttHost + '/websocket'; + static const int mqttPort = 13883; // secure + static const String httpBaseUrl = 'https://' + mqttHost; + static const String httpBaseUrlAndroid = 'https://' + mqttHost; + static const String httpBaseUrliOS = 'https://' + mqttHost; + static const String httpUploadUrl = 'https://upload.bytedesk.com'; + static const String host = mqttHost; + static const String mqttHost = 'flutter.bytedesk.com'; // static const String WORKGROUP_WID_LIANGSHIBAO = '201808101819291';