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

- IotDeviceMessage/IotDeviceMessageDO/IotDeviceMessageRespVO: thing.property.report→thing.property.post
- IotDeviceMessageMethodEnum: OTA 固定信息推送→OTA 固件信息推送
This commit is contained in:
YunaiV
2026-02-14 09:31:51 +08:00
parent 5083dab10b
commit cc9cca82cb
4 changed files with 4 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ public class IotDeviceMessageRespVO {
@Schema(description = "请求编号", example = "req_123")
private String requestId;
@Schema(description = "请求方法", requiredMode = Schema.RequiredMode.REQUIRED, example = "thing.property.report")
@Schema(description = "请求方法", requiredMode = Schema.RequiredMode.REQUIRED, example = "thing.property.post")
private String method;
@Schema(description = "请求参数")

View File

@@ -84,7 +84,7 @@ public class IotDeviceMessageDO {
* 请求方法
*
* 枚举 {@link IotDeviceMessageMethodEnum}
* 例如说thing.property.report 属性上报
* 例如说thing.property.post 属性上报
*/
private String method;
/**

View File

@@ -64,7 +64,7 @@ public enum IotDeviceMessageMethodEnum implements ArrayValuable<String> {
// ========== OTA 固件 ==========
// 可参考https://help.aliyun.com/zh/iot/user-guide/perform-ota-updates
OTA_UPGRADE("thing.ota.upgrade", "OTA 固信息推送", false),
OTA_UPGRADE("thing.ota.upgrade", "OTA 固信息推送", false),
OTA_PROGRESS("thing.ota.progress", "OTA 升级进度上报", true),
;

View File

@@ -72,7 +72,7 @@ public class IotDeviceMessage {
* 请求方法
*
* 枚举 {@link IotDeviceMessageMethodEnum}
* 例如说thing.property.report 属性上报
* 例如说thing.property.post 属性上报
*/
private String method;
/**