mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-11-30 11:17:48 +08:00
fix: get_protocol
This commit is contained in:
parent
6b63692f93
commit
fa0e93ff9c
@ -73,7 +73,7 @@ handle(OperationID, Args, Context, Req) ->
|
||||
%% Proctol 概要: 获取Dlink协议列表
|
||||
%% OperationId:protocol
|
||||
%% 请求:GET /iotapi/protocol
|
||||
do_request(get_protocol, _Body, #{<<"sessionToken">> := _SessionToken} = _Context, _Req) ->
|
||||
do_request(get_protocol, _Body, _Context, _Req) ->
|
||||
Protocols = dgiot_dlink:get_all_protocol(),
|
||||
{200, Protocols};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user