{
“clientid”: “c_emqx”,
“username”: “u_emqx”,
“topic”: “t/a”,
“qos”: 1,
“payload”:“{"tag":"admin","yearmonth": 202301,"time": "2023-01-06 12:00:00.123","deviceId": 10,"val": [1,2,3],"rangeval": 30,"status": 0,"remarks": "我是备注sco1"}”
}
以上是传入的参数,那么规则应该选择哪个?是FOREACH吗?,如果是那么动作里面该如何循环数据
val数组,然后保存两条对应数据