diff --git a/apps/dgiot_dlink/src/handler/dgiot_dlink_handler.erl b/apps/dgiot_dlink/src/handler/dgiot_dlink_handler.erl index bcdcab55..fd6e89db 100644 --- a/apps/dgiot_dlink/src/handler/dgiot_dlink_handler.erl +++ b/apps/dgiot_dlink/src/handler/dgiot_dlink_handler.erl @@ -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};