fix
This commit is contained in:
parent
ce7ad8a22c
commit
e251ffbb79
@ -169,7 +169,7 @@ handle_info({timeout, _, warn_ticker}, State = #state{warn_buf = WarnBuf, url =
|
||||
case length(WarnBuf) > 0 of
|
||||
true ->
|
||||
Warn0 = hd(WarnBuf),
|
||||
Warn = iolist_to_binary([Warn0, <<"(累计: ">>, integer_to_binary(length(WarnBuf)), <<")">>]),
|
||||
Warn = iolist_to_binary([Warn0, <<"(累计: "/utf8>>, integer_to_binary(length(WarnBuf)), <<")">>]),
|
||||
Body = format_warn(Warn, Users, PriKey),
|
||||
case catch do_post(Url, Body) of
|
||||
{ok, Resp} ->
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user