fix: (Dlink_topic security)

This commit is contained in:
dgiot 2022-03-10 19:50:49 +08:00
parent 29d34bf59a
commit cf30d3c745
2 changed files with 2 additions and 1 deletions

View File

@ -43,6 +43,7 @@
},
"/topic": {
"get": {
"security": [],
"summary": "获取topic列表",
"description": "获取topic列表",
"parameters": [

View File

@ -83,7 +83,7 @@ do_request(get_protocol, _Body, #{<<"sessionToken">> := _SessionToken} = _Contex
%% Proctol : Dlink topic列表
%% OperationId:topic
%% :GET /iotapi/topic
do_request(get_topic, _Body, #{<<"sessionToken">> := _SessionToken} = _Context, _Req) ->
do_request(get_topic, _Body, _Context, _Req) ->
Topics = dgiot_dlink:getTopic(),
{200, Topics};