Commit cc9cca82cb25240b9ce174632c447a61a075cf61
1 parent
5083dab1
fix(iot): 修复注释和枚举描述中的错误
- IotDeviceMessage/IotDeviceMessageDO/IotDeviceMessageRespVO: thing.property.report→thing.property.post - IotDeviceMessageMethodEnum: OTA 固定信息推送→OTA 固件信息推送
Showing
4 changed files
with
4 additions
and
4 deletions
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/controller/admin/device/vo/message/IotDeviceMessageRespVO.java
| ... | ... | @@ -38,7 +38,7 @@ public class IotDeviceMessageRespVO { |
| 38 | 38 | @Schema(description = "请求编号", example = "req_123") |
| 39 | 39 | private String requestId; |
| 40 | 40 | |
| 41 | - @Schema(description = "请求方法", requiredMode = Schema.RequiredMode.REQUIRED, example = "thing.property.report") | |
| 41 | + @Schema(description = "请求方法", requiredMode = Schema.RequiredMode.REQUIRED, example = "thing.property.post") | |
| 42 | 42 | private String method; |
| 43 | 43 | |
| 44 | 44 | @Schema(description = "请求参数") | ... | ... |
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/dal/dataobject/device/IotDeviceMessageDO.java
yudao-module-iot/yudao-module-iot-core/src/main/java/cn/iocoder/yudao/module/iot/core/enums/IotDeviceMessageMethodEnum.java
| ... | ... | @@ -64,7 +64,7 @@ public enum IotDeviceMessageMethodEnum implements ArrayValuable<String> { |
| 64 | 64 | // ========== OTA 固件 ========== |
| 65 | 65 | // 可参考:https://help.aliyun.com/zh/iot/user-guide/perform-ota-updates |
| 66 | 66 | |
| 67 | - OTA_UPGRADE("thing.ota.upgrade", "OTA 固定信息推送", false), | |
| 67 | + OTA_UPGRADE("thing.ota.upgrade", "OTA 固件信息推送", false), | |
| 68 | 68 | OTA_PROGRESS("thing.ota.progress", "OTA 升级进度上报", true), |
| 69 | 69 | |
| 70 | 70 | ; | ... | ... |
yudao-module-iot/yudao-module-iot-core/src/main/java/cn/iocoder/yudao/module/iot/core/mq/message/IotDeviceMessage.java