add tests

This commit is contained in:
anlicheng 2025-04-28 14:51:56 +08:00
parent 490894620b
commit 361a3bed9f

View File

@ -28,7 +28,7 @@ route_uuid(RouterUUID, EventType, Params) when is_binary(RouterUUID), is_integer
true -> true ->
lager:debug("[iot_ai_router] event_type: ~p, is test", [EventType]); lager:debug("[iot_ai_router] event_type: ~p, is test", [EventType]);
false -> false ->
iot_jinzhi_endpoint:forward(LocationCode, DynamicLocationCode, EventType, Params); iot_jinzhi_endpoint:forward(LocationCode, DynamicLocationCode, EventType, Params)
end; end;
{ok, _} -> {ok, _} ->
lager:debug("[iot_ai_router] hget location_code, uuid: ~p, not found", [RouterUUID]); lager:debug("[iot_ai_router] hget location_code, uuid: ~p, not found", [RouterUUID]);