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,7 +38,7 @@ public class IotDeviceMessageRespVO { | ||
| 38 | @Schema(description = "请求编号", example = "req_123") | 38 | @Schema(description = "请求编号", example = "req_123") |
| 39 | private String requestId; | 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 | private String method; | 42 | private String method; |
| 43 | 43 | ||
| 44 | @Schema(description = "请求参数") | 44 | @Schema(description = "请求参数") |
yudao-module-iot/yudao-module-iot-biz/src/main/java/cn/iocoder/yudao/module/iot/dal/dataobject/device/IotDeviceMessageDO.java
| @@ -84,7 +84,7 @@ public class IotDeviceMessageDO { | @@ -84,7 +84,7 @@ public class IotDeviceMessageDO { | ||
| 84 | * 请求方法 | 84 | * 请求方法 |
| 85 | * | 85 | * |
| 86 | * 枚举 {@link IotDeviceMessageMethodEnum} | 86 | * 枚举 {@link IotDeviceMessageMethodEnum} |
| 87 | - * 例如说:thing.property.report 属性上报 | 87 | + * 例如说:thing.property.post 属性上报 |
| 88 | */ | 88 | */ |
| 89 | private String method; | 89 | private String method; |
| 90 | /** | 90 | /** |
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,7 +64,7 @@ public enum IotDeviceMessageMethodEnum implements ArrayValuable<String> { | ||
| 64 | // ========== OTA 固件 ========== | 64 | // ========== OTA 固件 ========== |
| 65 | // 可参考:https://help.aliyun.com/zh/iot/user-guide/perform-ota-updates | 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 | OTA_PROGRESS("thing.ota.progress", "OTA 升级进度上报", true), | 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
| @@ -72,7 +72,7 @@ public class IotDeviceMessage { | @@ -72,7 +72,7 @@ public class IotDeviceMessage { | ||
| 72 | * 请求方法 | 72 | * 请求方法 |
| 73 | * | 73 | * |
| 74 | * 枚举 {@link IotDeviceMessageMethodEnum} | 74 | * 枚举 {@link IotDeviceMessageMethodEnum} |
| 75 | - * 例如说:thing.property.report 属性上报 | 75 | + * 例如说:thing.property.post 属性上报 |
| 76 | */ | 76 | */ |
| 77 | private String method; | 77 | private String method; |
| 78 | /** | 78 | /** |