diff --git a/apps/web-antd/src/api/iot/alert/config/index.ts b/apps/web-antd/src/api/iot/alert/config/index.ts index a1d3bdfcc..777eed378 100644 --- a/apps/web-antd/src/api/iot/alert/config/index.ts +++ b/apps/web-antd/src/api/iot/alert/config/index.ts @@ -17,7 +17,7 @@ export namespace AlertConfigApi { smsTemplateCode?: string; mailTemplateCode?: string; notifyTemplateCode?: string; - createTime?: Date; + createTime?: string; } } diff --git a/apps/web-antd/src/api/iot/alert/record/index.ts b/apps/web-antd/src/api/iot/alert/record/index.ts index fea6e17a4..87d79e58c 100644 --- a/apps/web-antd/src/api/iot/alert/record/index.ts +++ b/apps/web-antd/src/api/iot/alert/record/index.ts @@ -14,7 +14,7 @@ export namespace AlertRecordApi { deviceMessage?: any; processStatus?: boolean; processRemark?: string; - createTime?: Date; + createTime?: string; } } diff --git a/apps/web-antd/src/api/iot/device/device/index.ts b/apps/web-antd/src/api/iot/device/device/index.ts index a55b017d5..ef0291867 100644 --- a/apps/web-antd/src/api/iot/device/device/index.ts +++ b/apps/web-antd/src/api/iot/device/device/index.ts @@ -24,7 +24,7 @@ export namespace IotDeviceApi { config?: string; // 设备配置 latitude?: number; // 设备位置的纬度 longitude?: number; // 设备位置的经度 - createTime?: Date; // 创建时间 + createTime?: string; // 创建时间 } /** 设备更新分组 Request VO */ diff --git a/apps/web-antd/src/api/iot/ota/firmware/index.ts b/apps/web-antd/src/api/iot/ota/firmware/index.ts index 7fd7469ca..a4c94c9a0 100644 --- a/apps/web-antd/src/api/iot/ota/firmware/index.ts +++ b/apps/web-antd/src/api/iot/ota/firmware/index.ts @@ -15,7 +15,7 @@ export namespace IoTOtaFirmwareApi { fileSize?: number; fileDigestAlgorithm?: string; fileDigestValue?: string; - createTime?: Date; + createTime?: string; } } diff --git a/apps/web-antd/src/api/iot/ota/task/index.ts b/apps/web-antd/src/api/iot/ota/task/index.ts index 7f4f5d6fb..6b3ec081b 100644 --- a/apps/web-antd/src/api/iot/ota/task/index.ts +++ b/apps/web-antd/src/api/iot/ota/task/index.ts @@ -14,7 +14,7 @@ export namespace IoTOtaTaskApi { deviceIds?: number[]; deviceTotalCount?: number; deviceSuccessCount?: number; - createTime?: Date; + createTime?: string; } } diff --git a/apps/web-antd/src/api/iot/product/category/index.ts b/apps/web-antd/src/api/iot/product/category/index.ts index 45ce4ccdb..8c02f7930 100644 --- a/apps/web-antd/src/api/iot/product/category/index.ts +++ b/apps/web-antd/src/api/iot/product/category/index.ts @@ -10,7 +10,7 @@ export namespace IotProductCategoryApi { sort?: number; // 分类排序 status?: number; // 分类状态 description?: string; // 分类描述 - createTime?: Date; // 创建时间 + createTime?: string; // 创建时间 } } diff --git a/apps/web-antd/src/api/iot/product/product/index.ts b/apps/web-antd/src/api/iot/product/product/index.ts index 9b4a88ed6..0e99b3ce1 100644 --- a/apps/web-antd/src/api/iot/product/product/index.ts +++ b/apps/web-antd/src/api/iot/product/product/index.ts @@ -22,7 +22,7 @@ export namespace IotProductApi { serializeType?: string; // 序列化类型 registerEnabled?: boolean; // 是否开启动态注册 deviceCount?: number; // 设备数量 - createTime?: Date; // 创建时间 + createTime?: string; // 创建时间 } } diff --git a/apps/web-antd/src/api/iot/rule/data/rule/index.ts b/apps/web-antd/src/api/iot/rule/data/rule/index.ts index e9ba120b2..985302de9 100644 --- a/apps/web-antd/src/api/iot/rule/data/rule/index.ts +++ b/apps/web-antd/src/api/iot/rule/data/rule/index.ts @@ -11,7 +11,7 @@ export namespace DataRuleApi { status?: number; sourceConfigs?: any[]; sinkIds?: number[]; - createTime?: Date; + createTime?: string; } } diff --git a/apps/web-antd/src/api/iot/rule/data/sink/index.ts b/apps/web-antd/src/api/iot/rule/data/sink/index.ts index 3c26df91d..8c002ec5e 100644 --- a/apps/web-antd/src/api/iot/rule/data/sink/index.ts +++ b/apps/web-antd/src/api/iot/rule/data/sink/index.ts @@ -25,7 +25,7 @@ export namespace DataSinkApi { | RocketMQConfig | TcpConfig | WebSocketConfig; - createTime?: Date; + createTime?: string; } /** HTTP 配置 */ diff --git a/apps/web-antd/src/api/iot/rule/scene/index.ts b/apps/web-antd/src/api/iot/rule/scene/index.ts index 23549f1ad..f3a2199b9 100644 --- a/apps/web-antd/src/api/iot/rule/scene/index.ts +++ b/apps/web-antd/src/api/iot/rule/scene/index.ts @@ -12,7 +12,7 @@ export namespace RuleSceneApi { triggers?: Trigger[]; actions?: Action[]; lastTriggeredTime?: Date; - createTime?: Date; + createTime?: string; } /** 场景联动规则的触发器 */