feat: post_evidence

This commit is contained in:
AvantLiu 2021-11-22 16:51:45 +08:00
parent 8d109b0bfd
commit 3f927bcc06

View File

@ -71,7 +71,7 @@ handle(OperationID, Args, Context, Req) ->
%%%===================================================================
%%% Version:API版本
%%%===================================================================
do_request(post_evidence, Args, #{<<"sessionToken">> := SessionToken} = _Context, Req) ->
do_request(post_evidence, Args, #{<<"sessionToken">> := SessionToken} = _Context, _Req) ->
?LOG(info, "Args ~p ", [Args]),
case dgiot_evidence:post(Args#{<<"sessionToken">> => SessionToken}) of
{ok, Result} ->