Files
KinginfoGateway/handbook/build/docs/otherpage/index.html
Kimdiego2098 71ebb36fe9 更新文档
2023-10-19 20:36:28 +08:00

18 lines
28 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html lang="en" dir="ltr" class="docs-wrapper docs-doc-page docs-version-current plugin-docs plugin-id-default docs-doc-id-otherpage">
<head>
<meta charset="UTF-8">
<meta name="generator" content="Docusaurus v2.3.1">
<title data-rh="true">其他页面 | thingsgateway</title><meta data-rh="true" name="viewport" content="width=device-width,initial-scale=1"><meta data-rh="true" name="twitter:card" content="summary_large_image"><meta data-rh="true" property="og:url" content="https://diego2098.gitee.io/thingsgateway-docs/docs/otherpage"><meta data-rh="true" name="docusaurus_locale" content="en"><meta data-rh="true" name="docsearch:language" content="en"><meta data-rh="true" name="docusaurus_version" content="current"><meta data-rh="true" name="docusaurus_tag" content="docs-default-current"><meta data-rh="true" name="docsearch:version" content="current"><meta data-rh="true" name="docsearch:docusaurus_tag" content="docs-default-current"><meta data-rh="true" property="og:title" content="其他页面 | thingsgateway"><meta data-rh="true" name="description" content="一、页面介绍"><meta data-rh="true" property="og:description" content="一、页面介绍"><link data-rh="true" rel="icon" href="/thingsgateway-docs/img/favicon.ico"><link data-rh="true" rel="canonical" href="https://diego2098.gitee.io/thingsgateway-docs/docs/otherpage"><link data-rh="true" rel="alternate" href="https://diego2098.gitee.io/thingsgateway-docs/docs/otherpage" hreflang="en"><link data-rh="true" rel="alternate" href="https://diego2098.gitee.io/thingsgateway-docs/docs/otherpage" hreflang="x-default"><link rel="stylesheet" href="/thingsgateway-docs/assets/css/styles.2663bcc5.css">
<link rel="preload" href="/thingsgateway-docs/assets/js/runtime~main.2b19bbf8.js" as="script">
<link rel="preload" href="/thingsgateway-docs/assets/js/main.cf42840d.js" as="script">
</head>
<body class="navigation-with-keyboard">
<script>!function(){function t(t){document.documentElement.setAttribute("data-theme",t)}var e=function(){var t=null;try{t=localStorage.getItem("theme")}catch(t){}return t}();t(null!==e?e:"light")}()</script><div id="__docusaurus">
<div role="region" aria-label="Skip to main content"><a class="skipToContent_fXgn" href="#docusaurus_skipToContent_fallback">Skip to main content</a></div><nav aria-label="Main" class="navbar navbar--fixed-top navbarHideable_m1mJ"><div class="navbar__inner"><div class="navbar__items"><button aria-label="Toggle navigation bar" aria-expanded="false" class="navbar__toggle clean-btn" type="button"><svg width="30" height="30" viewBox="0 0 30 30" aria-hidden="true"><path stroke="currentColor" stroke-linecap="round" stroke-miterlimit="10" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"></path></svg></button><a class="navbar__brand" href="/thingsgateway-docs/"><div class="navbar__logo"><img src="/thingsgateway-docs/img/ThingsGatewayLogo.png" alt="ThingsGateway Logo" class="themedImage_ToTc themedImage--light_HNdA"><img src="/thingsgateway-docs/img/ThingsGatewayLogo.png" alt="ThingsGateway Logo" class="themedImage_ToTc themedImage--dark_i4oU"></div><b class="navbar__title text--truncate">ThingsGateway</b></a><a aria-current="page" class="navbar__item navbar__link navbar__link--active" href="/thingsgateway-docs/docs">文档</a><a class="navbar__item navbar__link" href="/thingsgateway-docs/docs/upgrade">更新日志</a></div><div class="navbar__items navbar__items--right"><div class="navbar__item dropdown dropdown--hoverable dropdown--right"><a href="#" aria-haspopup="true" aria-expanded="false" role="button" class="navbar__link">源码</a><ul class="dropdown__menu"><li><a href="https://gitee.com/diego2098/ThingsGateway" target="_blank" rel="noopener noreferrer" class="dropdown__link">Gitee主库<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li><a href="https://github.com/kimdiego2098/ThingsGateway" target="_blank" rel="noopener noreferrer" class="dropdown__link">GitHub<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li><a href="https://www.nuget.org/profiles/kimdiego" target="_blank" rel="noopener noreferrer" class="dropdown__link">Nuget<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><a href="https://gitee.com/dotnetchina" target="_blank" rel="noopener noreferrer" class="navbar__item navbar__link">社区<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type="button" disabled="" title="Switch between dark and light mode (currently light mode)" aria-label="Switch between dark and light mode (currently light mode)" aria-live="polite"><svg viewBox="0 0 24 24" width="24" height="24" class="lightToggleIcon_pyhR"><path fill="currentColor" d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"></path></svg><svg viewBox="0 0 24 24" width="24" height="24" class="darkToggleIcon_wfgR"><path fill="currentColor" d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"></path></svg></button></div><div class="searchBox_ZlJk"><div class="navbar__search searchBarContainer_NW3z"><input placeholder="Search" aria-label="Search" class="navbar__search-input"><div class="loadingRing_RJI3 searchBarLoadingRing_YnHq"><div></div><div></div><div></div><div></div></div><div class="searchHintContainer_Pkmr"><kbd class="searchHint_iIMx">ctrl</kbd><kbd class="searchHint_iIMx">K</kbd></div></div></div></div></div><div role="presentation" class="navbar-sidebar__backdrop"></div></nav><div id="docusaurus_skipToContent_fallback" class="main-wrapper mainWrapper_z2l0 docsWrapper_BCFX"><button aria-label="Scroll back to top" class="clean-btn theme-back-to-top-button backToTopButton_sjWU" type="button"></button><div class="docPage__5DB"><aside class="theme-doc-sidebar-container docSidebarContainer_b6E3"><div class="sidebarViewport_Xe31"><div class="sidebar_njMd sidebarWithHideableNavbar_wUlq"><a tabindex="-1" class="sidebarLogo_isFc" href="/thingsgateway-docs/"><img src="/thingsgateway-docs/img/ThingsGatewayLogo.png" alt="ThingsGateway Logo" class="themedImage_ToTc themedImage--light_HNdA"><img src="/thingsgateway-docs/img/ThingsGatewayLogo.png" alt="ThingsGateway Logo" class="themedImage_ToTc themedImage--dark_i4oU"><b>ThingsGateway</b></a><nav aria-label="Docs sidebar" class="menu thin-scrollbar menu_SIkG"><ul class="theme-doc-sidebar-menu menu__list"><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/thingsgateway-docs/docs/">01、说明使用前必要阅读</a></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/thingsgateway-docs/docs/upgrade">02、历史更新</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/thingsgateway-docs/docs/donate">03、支持作者及Pro版</a></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link" href="/thingsgateway-docs/docs/startguide">04、入门指南</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/thingsgateway-docs/docs/pluginconfig">05、网关配置</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/thingsgateway-docs/docs/runtimestate">06、网关状态</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/thingsgateway-docs/docs/rpclog">07、网关日志</a></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a class="menu__link menu__link--active" aria-current="page" href="/thingsgateway-docs/docs/otherpage">08、其他页面</a></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/thingsgateway-docs/docs/pluginmodbus">09、采集插件</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/thingsgateway-docs/docs/pluginopcuaserver">10、上传插件</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/thingsgateway-docs/docs/release">11、部署说明</a></div></li><li class="theme-doc-sidebar-item-category theme-doc-sidebar-item-category-level-1 menu__list-item menu__list-item--collapsed"><div class="menu__list-item-collapsible"><a class="menu__link menu__link--sublist menu__link--sublist-caret" aria-expanded="false" href="/thingsgateway-docs/docs/foundation/modbus">12、底层驱动文档</a></div></li><li class="theme-doc-sidebar-item-link theme-doc-sidebar-item-link-level-1 menu__list-item"><a href="https://www.cnblogs.com/ThingsGateway/collections/1104" target="_blank" rel="noopener noreferrer" class="menu__link menuExternalLink_NmtK">案例合集<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></nav><button type="button" title="Collapse sidebar" aria-label="Collapse sidebar" class="button button--secondary button--outline collapseSidebarButton_PEFL"><svg width="20" height="20" aria-hidden="true" class="collapseSidebarButtonIcon_kv0_"><g fill="#7a7a7a"><path d="M9.992 10.023c0 .2-.062.399-.172.547l-4.996 7.492a.982.982 0 01-.828.454H1c-.55 0-1-.453-1-1 0-.2.059-.403.168-.551l4.629-6.942L.168 3.078A.939.939 0 010 2.528c0-.548.45-.997 1-.997h2.996c.352 0 .649.18.828.45L9.82 9.472c.11.148.172.347.172.55zm0 0"></path><path d="M19.98 10.023c0 .2-.058.399-.168.547l-4.996 7.492a.987.987 0 01-.828.454h-3c-.547 0-.996-.453-.996-1 0-.2.059-.403.168-.551l4.625-6.942-4.625-6.945a.939.939 0 01-.168-.55 1 1 0 01.996-.997h3c.348 0 .649.18.828.45l4.996 7.492c.11.148.168.347.168.55zm0 0"></path></g></svg></button></div></div></aside><main class="docMainContainer_gTbr"><div class="container padding-top--md padding-bottom--lg"><div class="row"><div class="col docItemCol_VOVn"><div class="docItemContainer_Djhp"><article><nav class="theme-doc-breadcrumbs breadcrumbsContainer_Z_bl" aria-label="Breadcrumbs"><ul class="breadcrumbs" itemscope="" itemtype="https://schema.org/BreadcrumbList"><li class="breadcrumbs__item"><a aria-label="Home page" class="breadcrumbs__link" href="/thingsgateway-docs/"><svg viewBox="0 0 24 24" class="breadcrumbHomeIcon_YNFT"><path d="M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z" fill="currentColor"></path></svg></a></li><li itemscope="" itemprop="itemListElement" itemtype="https://schema.org/ListItem" class="breadcrumbs__item breadcrumbs__item--active"><span class="breadcrumbs__link" itemprop="name">08、其他页面</span><meta itemprop="position" content="1"></li></ul></nav><div class="tocCollapsible_ETCw theme-doc-toc-mobile tocMobile_ITEo"><button type="button" class="clean-btn tocCollapsibleButton_TO0P">On this page</button></div><div class="theme-doc-markdown markdown"><header><h1>其他页面</h1></header><h2 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="一页面介绍">一、页面介绍<a href="#一页面介绍" class="hash-link" aria-label="Direct link to 一、页面介绍" title="Direct link to 一、页面介绍"></a></h2><div class="theme-admonition theme-admonition-tip alert alert--success admonition_LlT9"><div class="admonitionHeading_tbUL"><span class="admonitionIcon_kALy"><svg viewBox="0 0 12 16"><path fill-rule="evenodd" d="M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"></path></svg></span><mdxadmonitiontitle><code>说明</code></mdxadmonitiontitle></div><div class="admonitionContent_S0QG"><p>大部分为后台框架的常用功能,不会再进行说明,</p><p>需注意的是Api授权菜单,关系到<strong>WebApi或者部分上传插件获取/写入网关数据的授权</strong></p></div></div><h3 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="1用户管理">1、用户管理<a href="#1用户管理" class="hash-link" aria-label="Direct link to 1、用户管理" title="Direct link to 1、用户管理"></a></h3><p><img loading="lazy" src="/thingsgateway-docs/assets/images/otherpage-1-12e82fc6b9af8fda387568adb1d130ab.png" width="2560" height="1550" class="img_ev3q"></p><h3 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="2角色管理">2、角色管理<a href="#2角色管理" class="hash-link" aria-label="Direct link to 2、角色管理" title="Direct link to 2、角色管理"></a></h3><p><img loading="lazy" src="/thingsgateway-docs/assets/images/otherpage-2-fbf6070b666177959f74b275f4bdc906.png" width="2560" height="1550" class="img_ev3q"></p><h3 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="3菜单管理">3、菜单管理<a href="#3菜单管理" class="hash-link" aria-label="Direct link to 3、菜单管理" title="Direct link to 3、菜单管理"></a></h3><p><img loading="lazy" src="/thingsgateway-docs/assets/images/otherpage-3-ca2992d34059ceaffc3829e2e54d1aa4.png" width="2560" height="1550" class="img_ev3q"></p><h3 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="4单页管理">4、单页管理<a href="#4单页管理" class="hash-link" aria-label="Direct link to 4、单页管理" title="Direct link to 4、单页管理"></a></h3><p><img loading="lazy" src="/thingsgateway-docs/assets/images/otherpage-4-bcad8e7a62b2720dc0116a76002380f3.png" width="2560" height="1550" class="img_ev3q"></p><h3 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="5系统配置">5、系统配置<a href="#5系统配置" class="hash-link" aria-label="Direct link to 5、系统配置" title="Direct link to 5、系统配置"></a></h3><p><img loading="lazy" src="/thingsgateway-docs/assets/images/otherpage-5-aa5cc4c7c9f7a3fde0e549523f5ebcb5.png" width="2560" height="1550" class="img_ev3q">
<img loading="lazy" src="/thingsgateway-docs/assets/images/otherpage-6-0d4aa826e143f2c19e2912877bb4b0c3.png" width="2560" height="1550" class="img_ev3q"></p><h3 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="6访问日志">6、访问日志<a href="#6访问日志" class="hash-link" aria-label="Direct link to 6、访问日志" title="Direct link to 6、访问日志"></a></h3><p><img loading="lazy" src="/thingsgateway-docs/assets/images/otherpage-7-b8523fae003ba6611253c3d9c619ef13.png" width="2560" height="1550" class="img_ev3q"></p><h3 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="7操作日志">7、操作日志<a href="#7操作日志" class="hash-link" aria-label="Direct link to 7、操作日志" title="Direct link to 7、操作日志"></a></h3><p><img loading="lazy" src="/thingsgateway-docs/assets/images/otherpage-8-5a736b8992119f11de82c9f6ef1b1edd.png" width="2560" height="1550" class="img_ev3q"></p><h3 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="8定时任务">8、定时任务<a href="#8定时任务" class="hash-link" aria-label="Direct link to 8、定时任务" title="Direct link to 8、定时任务"></a></h3><p><img loading="lazy" src="/thingsgateway-docs/assets/images/otherpage-9-026d54754cf836f7ac34e51dc4d703e8.png" width="2560" height="1550" class="img_ev3q"></p><h3 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="9会话管理">9、会话管理<a href="#9会话管理" class="hash-link" aria-label="Direct link to 9、会话管理" title="Direct link to 9、会话管理"></a></h3><p><img loading="lazy" src="/thingsgateway-docs/assets/images/otherpage-10-be6d65a9fddad093468fd5966b1422f0.png" width="2560" height="1550" class="img_ev3q"></p><h3 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="10api授权列表">10、Api授权列表<a href="#10api授权列表" class="hash-link" aria-label="Direct link to 10、Api授权列表" title="Direct link to 10、Api授权列表"></a></h3><p><img loading="lazy" src="/thingsgateway-docs/assets/images/otherpage-11-4fe7f61b35b01aa268fbb80d915aeb15.png" width="2560" height="1550" class="img_ev3q"></p><h3 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="11api授权用户">11、Api授权用户<a href="#11api授权用户" class="hash-link" aria-label="Direct link to 11、Api授权用户" title="Direct link to 11、Api授权用户"></a></h3><p><img loading="lazy" src="/thingsgateway-docs/assets/images/otherpage-12-ff99515c2f99f3510b70b1fd55798502.png" width="2560" height="1550" class="img_ev3q"></p><h3 class="anchor anchorWithHideOnScrollNavbar_WYt5" id="12api调试">12、Api调试<a href="#12api调试" class="hash-link" aria-label="Direct link to 12、Api调试" title="Direct link to 12、Api调试"></a></h3><p><img loading="lazy" src="/thingsgateway-docs/assets/images/otherpage-13-850af2a063d3c96227db0bbae0d57df3.png" width="2560" height="1550" class="img_ev3q"></p><div class="theme-admonition theme-admonition-tip alert alert--success admonition_LlT9"><div class="admonitionHeading_tbUL"><span class="admonitionIcon_kALy"><svg viewBox="0 0 12 16"><path fill-rule="evenodd" d="M6.5 0C3.48 0 1 2.19 1 5c0 .92.55 2.25 1 3 1.34 2.25 1.78 2.78 2 4v1h5v-1c.22-1.22.66-1.75 2-4 .45-.75 1-2.08 1-3 0-2.81-2.48-5-5.5-5zm3.64 7.48c-.25.44-.47.8-.67 1.11-.86 1.41-1.25 2.06-1.45 3.23-.02.05-.02.11-.02.17H5c0-.06 0-.13-.02-.17-.2-1.17-.59-1.83-1.45-3.23-.2-.31-.42-.67-.67-1.11C2.44 6.78 2 5.65 2 5c0-2.2 2.02-4 4.5-4 1.22 0 2.36.42 3.22 1.19C10.55 2.94 11 3.94 11 5c0 .66-.44 1.78-.86 2.48zM4 14h5c-.23 1.14-1.3 2-2.5 2s-2.27-.86-2.5-2z"></path></svg></span><mdxadmonitiontitle><code>说明</code></mdxadmonitiontitle></div><div class="admonitionContent_S0QG"><p>注意网关的WebApi接口需要登录获取Token(Bearer auth认证)</p><p><img loading="lazy" src="/thingsgateway-docs/assets/images/webapi-1-966615e53c016e0acf877ead4f5d64b2.png" width="1920" height="1040" class="img_ev3q"></p><p>如果使用网关调试页面需要在请求头添加认证token或者添加脚本自动识别</p><div class="codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#bfc7d5;--prism-background-color:#292d3e"><div class="codeBlockContent_biex"><pre tabindex="0" class="prism-code language-text codeBlock_bY9V thin-scrollbar"><code class="codeBlockLines_e6Vv"><span class="token-line" style="color:#bfc7d5"><span class="token plain">var token=ke.response.headers[&quot;access-token&quot;];</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">console.log(token);</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">if(token){</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> ke.global.setAllHeader(</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> &quot;Authorization&quot;,</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain"> &quot;Bearer &quot; + token</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">);</span><br></span><span class="token-line" style="color:#bfc7d5"><span class="token plain">}</span><br></span></code></pre><div class="buttonGroup__atx"><button type="button" aria-label="Copy code to clipboard" title="Copy" class="clean-btn"><span class="copyButtonIcons_eSgA" aria-hidden="true"><svg class="copyButtonIcon_y97N" viewBox="0 0 24 24"><path d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"></path></svg><svg class="copyButtonSuccessIcon_LjdS" viewBox="0 0 24 24"><path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"></path></svg></span></button></div></div></div><p><img loading="lazy" src="/thingsgateway-docs/assets/images/webapi-2-13066e52308095dc63cc849d0b05a904.png" width="1920" height="1040" class="img_ev3q">
<img loading="lazy" src="/thingsgateway-docs/assets/images/webapi-3-f9a469114d7b248e03739c1df7f1ea2c.png" width="1920" height="1040" class="img_ev3q"></p></div></div></div><footer class="theme-doc-footer docusaurus-mt-lg"><div class="theme-doc-footer-edit-meta-row row"><div class="col"><a href="https://gitee.com/diego2098/ThingsGateway/tree/master/handbook/docs/otherpage.mdx" target="_blank" rel="noreferrer noopener" class="theme-edit-this-page"><svg fill="currentColor" height="20" width="20" viewBox="0 0 40 40" class="iconEdit_Z9Sw" aria-hidden="true"><g><path d="m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"></path></g></svg>Edit this page</a></div><script src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script><div class="col lastUpdated_VsjB">📖<span id="busuanzi_value_page_pv"></span><br><span class="theme-last-updated">Last updated<!-- --> on <b><time datetime="2023-07-19T10:02:31.000Z">Jul 19, 2023</time></b> by <b>Kimdiego2098</b></span></div></div></footer></article><nav class="pagination-nav docusaurus-mt-lg" aria-label="Docs pages navigation"><a class="pagination-nav__link pagination-nav__link--prev" href="/thingsgateway-docs/docs/backendlog"><div class="pagination-nav__sublabel">Previous</div><div class="pagination-nav__label">后台日志</div></a><a class="pagination-nav__link pagination-nav__link--next" href="/thingsgateway-docs/docs/pluginmodbus"><div class="pagination-nav__sublabel">Next</div><div class="pagination-nav__label">Modbus采集插件</div></a></nav></div></div><div class="col col--3"><div class="tableOfContents_bqdL thin-scrollbar theme-doc-toc-desktop"><ul class="table-of-contents table-of-contents__left-border"><li><a href="#一页面介绍" class="table-of-contents__link toc-highlight">一、页面介绍</a><ul><li><a href="#1用户管理" class="table-of-contents__link toc-highlight">1、用户管理</a></li><li><a href="#2角色管理" class="table-of-contents__link toc-highlight">2、角色管理</a></li><li><a href="#3菜单管理" class="table-of-contents__link toc-highlight">3、菜单管理</a></li><li><a href="#4单页管理" class="table-of-contents__link toc-highlight">4、单页管理</a></li><li><a href="#5系统配置" class="table-of-contents__link toc-highlight">5、系统配置</a></li><li><a href="#6访问日志" class="table-of-contents__link toc-highlight">6、访问日志</a></li><li><a href="#7操作日志" class="table-of-contents__link toc-highlight">7、操作日志</a></li><li><a href="#8定时任务" class="table-of-contents__link toc-highlight">8、定时任务</a></li><li><a href="#9会话管理" class="table-of-contents__link toc-highlight">9、会话管理</a></li><li><a href="#10api授权列表" class="table-of-contents__link toc-highlight">10、Api授权列表</a></li><li><a href="#11api授权用户" class="table-of-contents__link toc-highlight">11、Api授权用户</a></li><li><a href="#12api调试" class="table-of-contents__link toc-highlight">12、Api调试</a></li></ul></li></ul></div></div></div></div></main></div></div><footer class="footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="col footer__col"><div class="footer__title">文档</div><ul class="footer__items clean-list"><li class="footer__item"><a class="footer__link-item" href="/thingsgateway-docs/docs">入门</a></li><li class="footer__item"><a class="footer__link-item" href="/thingsgateway-docs/docs">手册</a></li></ul></div><div class="col footer__col"><div class="footer__title">社区</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://gitee.com/diego2098/ThingsGateway/issues" target="_blank" rel="noopener noreferrer" class="footer__link-item">讨论<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li><li class="footer__item"><a href="https://gitee.com/diego2098/ThingsGateway/board" target="_blank" rel="noopener noreferrer" class="footer__link-item">看板<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div><div class="col footer__col"><div class="footer__title">更多</div><ul class="footer__items clean-list"><li class="footer__item"><a href="https://gitee.com/diego2098/ThingsGateway" target="_blank" rel="noopener noreferrer" class="footer__link-item">仓库<svg width="13.5" height="13.5" aria-hidden="true" viewBox="0 0 24 24" class="iconExternalLink_nPIU"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg></a></li></ul></div></div><div class="footer__bottom text--center"><div class="footer__copyright">Copyright © 2020-2023 Diego.</div></div></div></footer></div>
<script src="/thingsgateway-docs/assets/js/runtime~main.2b19bbf8.js"></script>
<script src="/thingsgateway-docs/assets/js/main.cf42840d.js"></script>
</body>
</html>