diff --git a/bytedesk_kefu/lib/util/bytedesk_constants.dart b/bytedesk_kefu/lib/util/bytedesk_constants.dart index 1ad26e1..4994242 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.102'; // 线上 - // static const bool isDebug = false; // false; - // static const bool isSecure = true; // secure - // static const bool isWebSocketWss = true; - // static const String webSocketWssUrl = 'wss://flutter.bytedesk.com/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://flutter.bytedesk.com/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';