Commit Graph

12 Commits

Author SHA1 Message Date
yuhaiming
86e511f418 浇水bug修改 2026-07-13 14:22:11 +08:00
yuhaiming
7deda9bdc0 浇水bug修改 2026-07-09 08:26:37 +08:00
yuhaiming
319ebd19ad MQTT通信修改 使用服务器数据库 2026-06-30 08:12:35 +08:00
yuhaiming
0f165b50ff fix: MQTT 排程完成回调移除无效的 LoginHelper.getUserId
MQTT 消息处理线程没有登录上下文,LoginHelper.getUserId() 取不到值
还会覆盖 buildWateringLog 里基于设备查询设置的 userId

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-23 15:38:19 +08:00
yuhaiming
694e32abbf fix: 设备删除增加用户校验、ACK 在线状态刷新改非阻塞、停止跟踪日志
- AppDeviceServiceImpl#deleteWithValidByIds 校验设备归属当前用户,
  避免任意已登录用户越权删除其他用户的设备及关联数据
- MqttCommandAckService#refreshDeviceOnline 由 lock.lock 改为 tryLock,
  防止 MQTT 处理线程在状态刷新锁上排队堆积;状态写入幂等,跳过本次刷新
  由后续 ACK 兜底
- 从版本控制中移除 logs/ 历史日志,gitignore 已忽略该目录

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-06-23 15:36:38 +08:00
yuhaiming
5548512633 {"type":"assistant","message":{"role":"assistant","content":[{"type":"text","text":"我会快速查看当前 git diff 的文件清单和统计,确认这次提交的主线,避免只根据截断 diff 猜测。"}]}}{"type":"assistant","message":{"role":"assistant","content":[{"type":"tool_use","id":"item_1","name":"bash","input":{"command":"\"C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps\\\\pwsh.exe\" -Command 'git diff --stat'","description":"Run \"C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Microsoft\\\\WindowsApps\\\\pwsh.exe\""}}]}} 2026-06-17 10:07:56 +08:00
yuhaiming
c74363afa4 设备心跳调整 app新增增设备时绑定联网设备 2026-06-13 10:51:45 +08:00
yuhaiming
c7f9df980a mqtt对接嵌入式 2026-06-11 10:07:03 +08:00
yuhaiming
1ab8c28c36 mqtt 模块添加 2026-06-04 11:24:08 +08:00
yuhaiming
ccfecae584 init 2026-05-09 10:17:44 +08:00
yuhaiming
39fe8065da init 2026-05-09 10:12:36 +08:00
yuhaiming
def9b89ecd init 2026-04-24 14:14:41 +08:00