mirror of
https://gitee.com/zhijiantianya/ruoyi-vue-pro.git
synced 2026-03-22 05:07:17 +08:00
fix:【iot】coap 协议接入:testEventPost 单测的数据格式不正确
This commit is contained in:
@@ -135,11 +135,14 @@ public class IotCoapProtocolIntegrationTest {
|
|||||||
.put("id", IdUtil.fastSimpleUUID())
|
.put("id", IdUtil.fastSimpleUUID())
|
||||||
.put("method", IotDeviceMessageMethodEnum.EVENT_POST.getMethod())
|
.put("method", IotDeviceMessageMethodEnum.EVENT_POST.getMethod())
|
||||||
.put("version", "1.0")
|
.put("version", "1.0")
|
||||||
.put("identifier", "eat")
|
|
||||||
.put("params", MapUtil.builder()
|
.put("params", MapUtil.builder()
|
||||||
.put("width", 1)
|
.put("identifier", "eat")
|
||||||
.put("height", "2")
|
.put("value", MapUtil.builder()
|
||||||
.put("oneThree", "3")
|
.put("width", 1)
|
||||||
|
.put("height", "2")
|
||||||
|
.put("oneThree", "3")
|
||||||
|
.build())
|
||||||
|
.put("time", System.currentTimeMillis())
|
||||||
.build())
|
.build())
|
||||||
.build());
|
.build());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user