mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-12-02 04:08:54 +08:00
feat: dashboard amisview
This commit is contained in:
parent
07e21c0ae0
commit
7ac2996d34
@ -205,7 +205,6 @@ do_request(get_thingecho, _Args, _Context, _Req) ->
|
||||
|
||||
|
||||
do_request(post_cookie, #{<<"UserSession">> := UserSession, <<"cookie">> := Cookie} = _Args, _Context, _Req) ->
|
||||
io:format("~s ~p ~p ~n",[?FILE, ?LINE,Cookie]),
|
||||
case dgiot_parse_auth:put_cookie(UserSession, Cookie) of
|
||||
true ->
|
||||
{ok, #{<<"result">> => <<"success">>}};
|
||||
@ -214,5 +213,4 @@ do_request(post_cookie, #{<<"UserSession">> := UserSession, <<"cookie">> := Cook
|
||||
end;
|
||||
|
||||
do_request(_OperationId, _Args, _Context, _Req) ->
|
||||
io:format("~s ~p ~p ~n",[?FILE, ?LINE,_OperationId]),
|
||||
{error, <<"Not Allowed.">>}.
|
||||
|
@ -360,7 +360,7 @@ do_request(post_verify_code_action, #{<<"account">> := Account, <<"code">> := Co
|
||||
{400, unicode:characters_to_binary(<<"验证码未通过!"/utf8>>)}
|
||||
end;
|
||||
|
||||
%% System 概要: 验证手机号/邮箱是否通过 描述:验证手机号/邮箱是否通过
|
||||
|
||||
%% OperationId:post_excel_id
|
||||
%% 请求:POST /iotapi/excel_id
|
||||
do_request(post_excel_id, #{<<"id">> := ChannelId, <<"data">> := Data} = _Args, Context, Req) ->
|
||||
|
@ -227,7 +227,6 @@ do_request(get_roleuser, #{<<"where">> := Where} = Filter, #{<<"sessionToken">>
|
||||
undefined ->
|
||||
<<"{}">>;
|
||||
V ->
|
||||
io:format("~s ~p V ~p ~n",[?FILE, ?LINE, V]),
|
||||
V
|
||||
end,
|
||||
dgiot_parse_auth:get_roleuser(Filter#{<<"where">> => jsx:decode(Where, [return_maps]), <<"userfilter">> => jsx:decode(UserFilter, [return_maps])}, SessionToken);
|
||||
|
@ -27,7 +27,3 @@
|
||||
{dgiot_factory, {{enable_plugin_dgiot_factory}}}.
|
||||
{dgiot_printer, {{enable_plugin_dgiot_printer}}}.
|
||||
{dgiot_location, {{enable_plugin_dgiot_location}}}.
|
||||
{dgiot_current, {{enable_plugin_dgiot_current}}}.
|
||||
{dgiot_workshop, {{enable_plugin_dgiot_workshop}}}.
|
||||
{dgiot_customer, {{enable_plugin_dgiot_customer}}}.
|
||||
{dgiot_zhixin, {{enable_plugin_dgiot_zhixin}}}.
|
||||
|
@ -230,10 +230,6 @@ overlay_vars_rel(RelType) ->
|
||||
, {enable_plugin_dgiot_factory, true}
|
||||
, {enable_plugin_dgiot_printer, true}
|
||||
, {enable_plugin_dgiot_location, true}
|
||||
, {enable_plugin_dgiot_current, true}
|
||||
, {enable_plugin_dgiot_workshop, true}
|
||||
, {enable_plugin_dgiot_customer, true}
|
||||
, {enable_plugin_dgiot_zhixin, true}
|
||||
, {vm_args_file, VmArgs}
|
||||
].
|
||||
|
||||
@ -356,10 +352,6 @@ relx_plugin_apps_per_rel(cloud) ->
|
||||
, dgiot_factory
|
||||
, dgiot_printer
|
||||
, dgiot_location
|
||||
, dgiot_workshop
|
||||
, dgiot_current
|
||||
, dgiot_customer
|
||||
, dgiot_zhixin
|
||||
];
|
||||
relx_plugin_apps_per_rel(edge) ->
|
||||
[].
|
||||
|
Loading…
Reference in New Issue
Block a user