fix mocker

This commit is contained in:
anlicheng 2023-06-19 14:39:33 +08:00
parent f269525ba9
commit 373c0748cf

View File

@ -310,7 +310,7 @@ handle_info({timeout, _, inform_ticker}, State = #state{aes = Aes, topic = Topic
<<"at">> => iot_util:current_time(), <<"at">> => iot_util:current_time(),
<<"services">> => [ <<"services">> => [
#{ #{
<<"scene_id">> => 1, <<"props">> => <<"1:2:3">>,
<<"name">> => <<"测试微服务"/utf8>>, <<"name">> => <<"测试微服务"/utf8>>,
<<"version">> => <<"V1.0">>, <<"version">> => <<"V1.0">>,
<<"version_copy">> => <<"CopyV1.0">>, <<"version_copy">> => <<"CopyV1.0">>,
@ -318,7 +318,7 @@ handle_info({timeout, _, inform_ticker}, State = #state{aes = Aes, topic = Topic
}, },
#{ #{
<<"scene_id">> => 1, <<"props">> => <<"1:2:3">>,
<<"name">> => <<"水表"/utf8>>, <<"name">> => <<"水表"/utf8>>,
<<"version">> => <<"V1.0">>, <<"version">> => <<"V1.0">>,
<<"version_copy">> => <<"CopyV1.0">>, <<"version_copy">> => <<"CopyV1.0">>,