mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
2 lines
3.3 KiB
JavaScript
2 lines
3.3 KiB
JavaScript
import{_ as e,o as l,c as t,ag as a}from"./chunks/framework.ePeAWSvT.js";const u=JSON.parse('{"title":"术语规范","description":"","frontmatter":{},"headers":[],"relativePath":"zh/style/terminology.md","filePath":"zh/style/terminology.md","lastUpdated":1770887583000}'),i={name:"zh/style/terminology.md"};function r(n,o,s,d,c,h){return l(),t("div",null,[...o[0]||(o[0]=[a('<h1 id="术语规范" tabindex="-1">术语规范 <a class="header-anchor" href="#术语规范" aria-label="Permalink to "术语规范""></a></h1><blockquote><p>适用对象:文档编写者与维护者。 本页用于统一写作语义,不是面向最终用户的功能说明。</p></blockquote><h2 id="规范术语" tabindex="-1">规范术语 <a class="header-anchor" href="#规范术语" aria-label="Permalink to "规范术语""></a></h2><ul><li><strong>系统账号(<code>User</code>)</strong>:Memoh 系统内账号。</li><li><strong>平台账号(<code>ChannelIdentity</code>)</strong>:用户在外部接入平台上的账号,不是 Memoh 内账号。</li><li><strong>接入平台(<code>channel</code>)</strong>:承载入站消息的外部平台。</li><li><strong>账号绑定(<code>bind</code>)</strong>:把平台账号关联到系统账号的过程。</li><li><strong>绑定码(Bind Code)</strong>:用于账号绑定的一次性代码。</li><li><strong>Bot</strong>:由系统账号管理的资源与授权边界。</li></ul><h2 id="推荐写法" tabindex="-1">推荐写法 <a class="header-anchor" href="#推荐写法" aria-label="Permalink to "推荐写法""></a></h2><ul><li>面向产品语义时,优先写 <strong>“平台账号”</strong>,不要直接写 actor。</li><li>描述业务行为时,优先写 <strong>“接入平台”</strong>,不要直接写 channel。</li><li>首次出现保留技术别名,后续可只用中文术语: <ul><li>平台账号(<code>ChannelIdentity</code>)</li><li>系统账号(<code>User</code>)</li><li>账号绑定(<code>bind</code>)</li></ul></li></ul><h2 id="禁用或不推荐写法" tabindex="-1">禁用或不推荐写法 <a class="header-anchor" href="#禁用或不推荐写法" aria-label="Permalink to "禁用或不推荐写法""></a></h2><ul><li>在概念文档中直接使用 <strong>actor</strong>(除非明确引用代码符号)。</li><li>使用含糊表述如 <strong>“平台用户”</strong>(未区分系统账号与平台账号)。</li><li>写出“平台账号是 Memoh 内部账号”这类错误语义。</li></ul><h2 id="示例" tabindex="-1">示例 <a class="header-anchor" href="#示例" aria-label="Permalink to "示例""></a></h2><ul><li>正确:<strong>“平台账号是用户在飞书上的账号,不是 Memoh 系统账号。”</strong></li><li>正确:<strong>“账号绑定用于把平台账号关联到系统账号。”</strong></li><li>错误:<strong>“Actor 是 Memoh 里的用户。”</strong></li></ul><h2 id="自检清单" tabindex="-1">自检清单 <a class="header-anchor" href="#自检清单" aria-label="Permalink to "自检清单""></a></h2><ul><li>是否明确区分了系统账号与平台账号?</li><li>叙述中是否将 channel 表述为接入平台?</li><li>是否仅在首处保留技术别名?</li></ul>',12)])])}const m=e(i,[["render",r]]);export{u as __pageData,m as default};
|