Result_RuntimeCommand
统一业务结果封装。
codeinteger必填
业务结果码;200 表示成功。
msgstring必填
结果消息。
errorKeystring可为空
稳定的业务错误键;成功时为 null。
data object可为空必填
成功时的业务数据;业务失败或无数据时为 null。
commandIdstring可为空必填
调用方关联标识;未提供时为 null。
codestring必填
属性或动作编码。
successboolean必填
设备指令返回的成功标记;须独立于外层 code 检查,不代表设备端幂等或可安全自动重试。
successboolean
外层业务是否成功;等价于 code=200。
Result_RuntimeCommand
{
"code": 0,
"msg": "string",
"errorKey": "string",
"data": {
"commandId": "string",
"code": "string",
"success": true
},
"success": true
}