From 52efd241e5b4ae131d86010af6cd91782e895239 Mon Sep 17 00:00:00 2001 From: anlicheng Date: Sun, 25 Jun 2023 16:37:44 +0800 Subject: [PATCH] fix --- apps/iot/src/http_handler/http_host_handler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/iot/src/http_handler/http_host_handler.erl b/apps/iot/src/http_handler/http_host_handler.erl index b6d70a9..dea7b52 100644 --- a/apps/iot/src/http_handler/http_host_handler.erl +++ b/apps/iot/src/http_handler/http_host_handler.erl @@ -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]),