更新控制页面图标

This commit is contained in:
wyf
2026-04-07 09:33:43 +08:00
parent ca00faad0b
commit 0ead6eb952
4 changed files with 6 additions and 3 deletions

View File

@@ -301,9 +301,11 @@ class MHTBlueToothController extends GetControllerEx<MHTBlueToothModel> {
data: data,
onSuccess: (res) {
resFlag = true;
EasyDartModule.logger.info("更新睡眠习惯成功: ${res.msg}");
},
onFailure: (res) {
resFlag = false;
EasyDartModule.logger.info("更新睡眠习惯失败: ${res.msg}");
},
);
return resFlag;
@@ -491,7 +493,8 @@ class MHTBlueToothController extends GetControllerEx<MHTBlueToothModel> {
}
ef.log("全部指令");
EasyDartModule.logger.info("设备mac${commandData['mac']}" +"wifi指令控制下发时间-->${DateTime.now()}");
EasyDartModule.logger.info(
"设备mac${commandData['mac']}" + "wifi指令控制下发时间-->${DateTime.now()}");
commandData['wfr'] = true; //是否等待响应 true: 等待 false:不等待(默认)
commandData['type'] = 0; //0 base64数据 1 二进制数据