mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-12-12 12:16:01 +08:00
fix: (Dlink_topic security)
This commit is contained in:
parent
29d34bf59a
commit
cf30d3c745
@ -43,6 +43,7 @@
|
||||
},
|
||||
"/topic": {
|
||||
"get": {
|
||||
"security": [],
|
||||
"summary": "获取topic列表",
|
||||
"description": "获取topic列表",
|
||||
"parameters": [
|
||||
|
@ -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};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user