This commit is contained in:
anlicheng 2023-06-25 16:37:44 +08:00
parent 7979c763ca
commit 52efd241e5

View File

@ -76,7 +76,7 @@ handle_request("POST", "/host/publish_command", _,
<<"t_id">> => integer_to_binary(TaskId),
<<"t">> => Timeout,
<<"ts">> => iot_util:current_time(),
<<"m">> => Params
<<"m">> => jiffy:encode(Params, [force_utf8])
},
BinReply = jiffy:encode(append_service_name(PostParams, Reply), [force_utf8]),