Update bytedesk_constants.dart

master
jack ning 3 years ago
parent 082b2c148b
commit 52ebb87b9e

@ -8,17 +8,17 @@ class BytedeskConstants {
// //
// TODO: // TODO:
// debug // debug
static const bool isDebug = true; // static const bool isDebug = true;
static const bool isSecure = false; // static const bool isSecure = false;
static const bool isWebSocketWss = false; // static const bool isWebSocketWss = false;
static const String webSocketWssUrl = 'wss://www.bytedesk.com/websocket'; // static const String webSocketWssUrl = 'wss://www.bytedesk.com/websocket';
static const String httpBaseUrl = 'http://' + mqttHost + ':8000'; // static const String httpBaseUrl = 'http://' + mqttHost + ':8000';
static const String httpBaseUrlAndroid = 'http://' + mqttHost + ':8000'; // static const String httpBaseUrlAndroid = 'http://' + mqttHost + ':8000';
static const String httpBaseUrliOS = 'http://' + mqttHost + ':8000'; // static const String httpBaseUrliOS = 'http://' + mqttHost + ':8000';
static const String httpUploadUrl = 'http://' + mqttHost + ':8000'; // static const String httpUploadUrl = 'http://' + mqttHost + ':8000';
static const String host = mqttHost + ':8000'; // static const String host = mqttHost + ':8000';
static const int mqttPort = 3883; // not secure // static const int mqttPort = 3883; // not secure
static const String mqttHost = '172.16.0.78'; // static const String mqttHost = '172.16.0.78';
// //
// static const bool isDebug = true; // static const bool isDebug = true;
@ -48,17 +48,17 @@ class BytedeskConstants {
// static const String mqttHost = '192.168.0.102'; // static const String mqttHost = '192.168.0.102';
// 线 // 线
// static const bool isDebug = false; // false; static const bool isDebug = false; // false;
// static const bool isSecure = true; // secure static const bool isSecure = true; // secure
// static const bool isWebSocketWss = true; static const bool isWebSocketWss = true;
// static const String webSocketWssUrl = 'wss://flutter.bytedesk.com/websocket'; static const String webSocketWssUrl = 'wss://flutter.bytedesk.com/websocket';
// static const int mqttPort = 13883; // secure static const int mqttPort = 13883; // secure
// static const String httpBaseUrl = 'https://' + mqttHost; static const String httpBaseUrl = 'https://' + mqttHost;
// static const String httpBaseUrlAndroid = 'https://' + mqttHost; static const String httpBaseUrlAndroid = 'https://' + mqttHost;
// static const String httpBaseUrliOS = 'https://' + mqttHost; static const String httpBaseUrliOS = 'https://' + mqttHost;
// static const String httpUploadUrl = 'https://upload.bytedesk.com'; static const String httpUploadUrl = 'https://upload.bytedesk.com';
// static const String host = mqttHost; static const String host = mqttHost;
// static const String mqttHost = 'flutter.bytedesk.com'; static const String mqttHost = 'flutter.bytedesk.com';
// //
static const String WORKGROUP_WID_LIANGSHIBAO = '201808101819291'; static const String WORKGROUP_WID_LIANGSHIBAO = '201808101819291';

Loading…
Cancel
Save