add tests
This commit is contained in:
parent
490894620b
commit
361a3bed9f
@ -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]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user