Commit cc9cca82cb25240b9ce174632c447a61a075cf61

Authored by YunaiV
1 parent 5083dab1

fix(iot): 修复注释和枚举描述中的错误

- IotDeviceMessage/IotDeviceMessageDO/IotDeviceMessageRespVO: thing.property.report→thing.property.post
- IotDeviceMessageMethodEnum: OTA 固定信息推送→OTA 固件信息推送
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
... ... @@ -84,7 +84,7 @@ public class IotDeviceMessageDO {
84 84 * 请求方法
85 85 *
86 86 * 枚举 {@link IotDeviceMessageMethodEnum}
87   - * 例如说:thing.property.report 属性上报
  87 + * 例如说:thing.property.post 属性上报
88 88 */
89 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 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
... ... @@ -72,7 +72,7 @@ public class IotDeviceMessage {
72 72 * 请求方法
73 73 *
74 74 * 枚举 {@link IotDeviceMessageMethodEnum}
75   - * 例如说:thing.property.report 属性上报
  75 + * 例如说:thing.property.post 属性上报
76 76 */
77 77 private String method;
78 78 /**
... ...