Files
Memoh/assets/zh_style_terminology.md.C89A7q1C.js
T
2026-02-25 07:57:19 +00:00

2 lines
3.3 KiB
JavaScript
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.
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 &quot;术语规范&quot;"></a></h1><blockquote><p>适用对象:文档编写者与维护者。 本页用于统一写作语义,不是面向最终用户的功能说明。</p></blockquote><h2 id="规范术语" tabindex="-1">规范术语 <a class="header-anchor" href="#规范术语" aria-label="Permalink to &quot;规范术语&quot;"></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 &quot;推荐写法&quot;"></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 &quot;禁用或不推荐写法&quot;"></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 &quot;示例&quot;"></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 &quot;自检清单&quot;"></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};