This commit is contained in:
anlicheng 2026-03-03 16:31:36 +08:00
parent 4f6df41b04
commit 224e9343f7

View File

@ -47,10 +47,9 @@ get_network(Id) when is_integer(Id) ->
Error
end.
%% todo
-spec auth_access_token(Params :: map()) -> {ok, Resp :: map()} | {error, Reason :: any()}.
auth_access_token(Params) when is_map(Params) ->
case catch do_post("auth_access_token", Params) of
case catch do_post("auth/access_token", Params) of
{ok, Resp} ->
case catch jiffy:decode(Resp, [return_maps]) of
Result when is_map(Result) ->