|
|
@ -16,7 +16,7 @@ import 'package:shared_preferences/shared_preferences.dart'; |
|
|
|
class SocketClient { |
|
|
|
class SocketClient { |
|
|
|
|
|
|
|
|
|
|
|
//47.93.216.24:9090 线上 192.168.10.129:9090 测试 |
|
|
|
//47.93.216.24:9090 线上 192.168.10.129:9090 测试 |
|
|
|
final String ip = !kDebugMode ? '192.168.10.129' : '47.93.216.24'; |
|
|
|
final String ip = kDebugMode ? '192.168.10.129' : '47.93.216.24'; |
|
|
|
final num port = 9090; |
|
|
|
final num port = 9090; |
|
|
|
Socket _socket; |
|
|
|
Socket _socket; |
|
|
|
SharedPreferences _shared; |
|
|
|
SharedPreferences _shared; |
|
|
|