更新设备校准
This commit is contained in:
@@ -109,7 +109,7 @@ void startMessagePolling() {
|
||||
messageController.getMessageStatus();
|
||||
// print("轮询消息状态成功");
|
||||
} catch (e) {
|
||||
print("轮询消息状态失败: $e");
|
||||
print("轮询消息状态失败: $e");
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -129,6 +129,9 @@ void initEasyDartModule() {
|
||||
WebSocketConfig(ServiceConstant.webSocketService, (data) {
|
||||
// 接收到服务消息
|
||||
var json = jsonDecode(data);
|
||||
if (json['code'] != null && json['code'] != 200) {
|
||||
EasyDartModule.logger.error("websocket连接失败--》" + json);
|
||||
}
|
||||
if (json["path"] != null) {
|
||||
var call = CommonVariables.callMap[json["path"]];
|
||||
if (call != null) {
|
||||
|
||||
Reference in New Issue
Block a user