fix
This commit is contained in:
parent
3d39e0e7bd
commit
53fbfc5b12
@ -384,7 +384,7 @@ code_change(_OldVsn, StateName, State = #state{}, _Extra) ->
|
||||
convert_fields(#{<<"key">> := Key, <<"value">> := Value, <<"unit">> := Unit}) ->
|
||||
#{Key => jiffy:encode(#{<<"value">> => Value, <<"unit">> => Unit}, [force_utf8])};
|
||||
convert_fields(#{<<"key">> := Key, <<"value">> := Value}) ->
|
||||
#{Key => Value}.
|
||||
#{Key => #{<<"value">> => Value}}.
|
||||
|
||||
%% 获取到分发的路由
|
||||
router_uuid(#{<<"device_uuid">> := DeviceUUID}, _) when is_binary(DeviceUUID), DeviceUUID /= <<>> ->
|
||||
|
||||
@ -52,7 +52,7 @@
|
||||
[
|
||||
{host, "39.98.184.67"},
|
||||
{port, 8086},
|
||||
{token, <<"VlBhRqHguo7exc9C8DR2ol7JV8Gumc5MhGaPhd7Rr9UGhqAZET67tmI0CedIfpc1Tg-MaLwPcwzg_1iYZtvsZw==">>}
|
||||
{token, <<"0DGZaV_wk6OCt_Bazk5W_9L3Zo-y-bGzwPS6NDGAqy7iSzPVTgC0paINNJ6V3y3Eo_JYfWAHhXI8OZTDnW3IRQ==">>}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user