<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>ChiroPhy’s Wiki</title>
        <link>https://chirophy.online/</link>
        <description>一个使用 `NotionNext` 搭建的新玩具</description>
        <lastBuildDate>Sun, 17 May 2026 20:26:09 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>zh-CN</language>
        <copyright>All rights reserved 2026, ChiroPhy</copyright>
        <item>
            <title><![CDATA[kimi-API踩坑记录]]></title>
            <link>https://chirophy.online/technology/kimi-api</link>
            <guid>https://chirophy.online/technology/kimi-api</guid>
            <pubDate>Wed, 06 May 2026 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-358a3987e31180709de4cafa92258fb0"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-358a3987e31180e3accfe730638e4114" data-id="358a3987e31180e3accfe730638e4114"><span><div id="358a3987e31180e3accfe730638e4114" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180e3accfe730638e4114" title="Kimi API 异常消费事件运维笔记"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Kimi API 异常消费事件运维笔记</span></span></h2><blockquote class="notion-quote notion-block-358a3987e31180a4bd63ebcde659c238"><div><b>事件日期</b>：2026-05-03
<b>影响金额</b>：¥929.93（已申诉成功，平台退回 ¥1000）
<b>根因</b>：Kimi 平台 Context Caching 计费 bug
<b>文档创建</b>：2026-05-06
<b>状态</b>：✅ 已解决，防御方案已制定</div></blockquote><hr class="notion-hr notion-block-358a3987e31180d68391cf492d17b4f9"/><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-358a3987e3118072b101dc6969eb08a9" data-id="358a3987e3118072b101dc6969eb08a9"><span><div id="358a3987e3118072b101dc6969eb08a9" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e3118072b101dc6969eb08a9" title="一、事件回顾"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">一、事件回顾</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180deb844e10eddddedd4" data-id="358a3987e31180deb844e10eddddedd4"><span><div id="358a3987e31180deb844e10eddddedd4" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180deb844e10eddddedd4" title="1.1 现象"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1.1 现象</span></span></h4><div class="notion-text notion-block-358a3987e31180a393aef9e65e6c859d">2026 年 5 月 3 日单日，Kimi API 账户出现异常消费：</div><table class="notion-simple-table notion-block-358a3987e31180d2849ecb81025401f7"><tbody><tr class="notion-simple-table-row notion-simple-table-header-row notion-block-358a3987e3118063a3d9c37926cce4e0"><td class="" style="width:120px"><div class="notion-simple-table-cell">项目</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">金额</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">占比</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e31180e787d5f9c532756621"><td class="" style="width:120px"><div class="notion-simple-table-cell">Context Caching 费用</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">¥929.93</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">98.6%</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e3118004a522db7f70f66e90"><td class="" style="width:120px"><div class="notion-simple-table-cell">模型推理费用</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">¥13.01</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">1.4%</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e3118015bb01f0d8017f51db"><td class="" style="width:120px"><div class="notion-simple-table-cell"><b>当日总消费</b></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell"><b>¥942.94</b></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">100%</div></td></tr></tbody></table><div class="notion-text notion-block-358a3987e3118048be3dc9e86903bff9">异常表现：</div><ul class="notion-list notion-list-disc notion-block-358a3987e311808aaba9ce7ba5301a85"><li>Context Caching 费用是模型推理费用的 <b>71 倍</b></li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e31180ab8f9cd80299aefe7c"><li>消费集中爆发于单日，非持续累积</li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e3118059815ecd01436b7be3"><li>账户余额由正转负（-¥15.34）</li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e31180509e38c9b9c4810ea3"><li>当月累计消费达 ¥1050.15</li></ul><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e3118001ab83e59d3e1c85e3" data-id="358a3987e3118001ab83e59d3e1c85e3"><span><div id="358a3987e3118001ab83e59d3e1c85e3" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e3118001ab83e59d3e1c85e3" title="1.2 调用环境"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1.2 调用环境</span></span></h4><ul class="notion-list notion-list-disc notion-block-358a3987e311807fa202fcbb0e12af79"><li><b>调用方式</b>：直接使用 <code class="notion-inline-code">requests</code> / <code class="notion-inline-code">curl</code> 调用原生 API</li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e31180c6a0abcfd6e8df3d9f"><li><b>使用模型</b>：kimi-k2.6</li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e311809cbfb9c536d7b8bc46"><li><b>API 端点</b>：<code class="notion-inline-code">https://api.moonshot.cn/v1/chat/completions</code></li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e31180bab852dffa7b60bd68"><li><b>代码中的 caching 调用</b>：❌ 无（从未调用过任何 <code class="notion-inline-code">/v1/caching</code> 接口）</li></ul><hr class="notion-hr notion-block-358a3987e311809eb8edde04c3dd8229"/><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-358a3987e3118040be7fc542b64913ed" data-id="358a3987e3118040be7fc542b64913ed"><span><div id="358a3987e3118040be7fc542b64913ed" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e3118040be7fc542b64913ed" title="二、根因分析"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">二、根因分析</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e3118029842edb52df960daa" data-id="358a3987e3118029842edb52df960daa"><span><div id="358a3987e3118029842edb52df960daa" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e3118029842edb52df960daa" title="2.1 Kimi Context Caching 的两种模式"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2.1 Kimi Context Caching 的两种模式</span></span></h4><div class="notion-text notion-block-358a3987e31180bab840f80bd60a0d22"><b>显式缓存（Explicit Cache）</b></div><ul class="notion-list notion-list-disc notion-block-358a3987e3118069aec1f448f58fe003"><li>用户主动调用 <code class="notion-inline-code">/v1/caching</code> 接口创建/管理 cache</li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e311801e9c5ee1d579882d20"><li>三段式收费：创建费（¥24/M tokens）+ 存储费（按时间）+ 命中费（¥0.02/次）</li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e31180b5a7d7f556c594034b"><li><b>公测期仅对 Tier3-Tier5 用户开放</b>（累计充值 $3000+）</li></ul><div class="notion-text notion-block-358a3987e31180fab3dcfe9b23abd838"><b>隐式缓存（Implicit Cache）</b></div><ul class="notion-list notion-list-disc notion-block-358a3987e31180c09361e2ffe090a643"><li>平台自动开启，无需配置</li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e311807b974ad77d7c3510c4"><li>系统自动识别重复上下文前缀</li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e311809fb43de7469d4e719d"><li>命中后按输入价格的 16.9%~17.5% 计费（应是降本机制）</li></ul><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180fcbc9bf039b779a87d" data-id="358a3987e31180fcbc9bf039b779a87d"><span><div id="358a3987e31180fcbc9bf039b779a87d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180fcbc9bf039b779a87d" title="2.2 矛盾点"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2.2 矛盾点</span></span></h4><table class="notion-simple-table notion-block-358a3987e311802f96d0ca29f0d7312e"><tbody><tr class="notion-simple-table-row notion-simple-table-header-row notion-block-358a3987e311804cbc6fc18fa97c425b"><td class="" style="width:120px"><div class="notion-simple-table-cell">事实</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">推论</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e31180e5a292c4ad9efdfb6c"><td class="" style="width:120px"><div class="notion-simple-table-cell">代码中无任何 caching 调用</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">不可能产生显式缓存费用</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e31180099eefc3005ef577a8"><td class="" style="width:120px"><div class="notion-simple-table-cell">累计充值仅 ¥1050（约 $150）</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">不具备 Tier5 资格，无法使用显式 Context Caching</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e31180a8bee4cc2a8bb89747"><td class="" style="width:120px"><div class="notion-simple-table-cell">隐式缓存设计是降本机制</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">不应产生独立的高额计费项</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e3118036b1a0dd91955e9fde"><td class="" style="width:120px"><div class="notion-simple-table-cell">账单却显示 ¥929 Context Caching 费用</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell"><b>这是平台计费 bug</b></div></td></tr></tbody></table><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180828520ec565eff8704" data-id="358a3987e31180828520ec565eff8704"><span><div id="358a3987e31180828520ec565eff8704" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180828520ec565eff8704" title="2.3 Moonshot 官方确认"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2.3 Moonshot 官方确认</span></span></h4><div class="notion-text notion-block-358a3987e311802b8599ddfcec87c310">申诉后 Moonshot 客服确认为平台 bug，全额退回 ¥1000 至账户余额。</div><hr class="notion-hr notion-block-358a3987e31180cbac64c298abc19cbf"/><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-358a3987e3118027a1f3e0784e155ed9" data-id="358a3987e3118027a1f3e0784e155ed9"><span><div id="358a3987e3118027a1f3e0784e155ed9" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e3118027a1f3e0784e155ed9" title="三、申诉过程与成功要点"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">三、申诉过程与成功要点</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e3118025908ce9531e9e0c72" data-id="358a3987e3118025908ce9531e9e0c72"><span><div id="358a3987e3118025908ce9531e9e0c72" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e3118025908ce9531e9e0c72" title="3.1 关键证据链"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3.1 关键证据链</span></span></h4><div class="notion-text notion-block-358a3987e31180368702f2431f65a859">申诉成功的核心是构建无可辩驳的事实证据：</div><ol start="1" class="notion-list notion-list-numbered notion-block-358a3987e31180298a45ce7785fd782d" style="list-style-type:decimal"><li><b>代码证据</b>：证明从未调用任何 caching 相关接口</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-358a3987e3118050a0c5f63a46b67886" style="list-style-type:decimal"><li><b>资格证据</b>：累计充值未达 Tier5，无权使用显式 Context Caching</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-358a3987e3118042ac3dc7bba36748b8" style="list-style-type:decimal"><li><b>比例证据</b>：缓存费占比 98.6%，与模型推理费比例严重失衡</li></ol><ol start="4" class="notion-list notion-list-numbered notion-block-358a3987e31180aabbcdf37c19455b36" style="list-style-type:decimal"><li><b>官方文档证据</b>：隐式缓存按官方说明应是降本机制</li></ol><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180a4a9efe01eea11c65a" data-id="358a3987e31180a4a9efe01eea11c65a"><span><div id="358a3987e31180a4a9efe01eea11c65a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180a4a9efe01eea11c65a" title="3.2 有效话术结构"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3.2 有效话术结构</span></span></h4><div class="notion-text notion-block-358a3987e311801da2b9c413e4ca10b1">避免&quot;求情式&quot;申诉，采用&quot;事实陈述式&quot;申诉：</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e311802791dfecf123f7976e" data-id="358a3987e311802791dfecf123f7976e"><span><div id="358a3987e311802791dfecf123f7976e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e311802791dfecf123f7976e" title="3.3 申诉教训"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3.3 申诉教训</span></span></h4><ul class="notion-list notion-list-disc notion-block-358a3987e311805eba06c43a53e79211"><li>✅ <b>基于事实</b>：引用官方文档条款，而非情感诉求</li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e31180cf9272d4acc9b8ce1f"><li>✅ <b>数据说话</b>：用比例、数字证明异常</li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e311808e8d6ff22ad1c995e8"><li>✅ <b>态度专业</b>：求&quot;协助核查&quot;而非&quot;要求退款&quot;，给对方台阶</li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e311802eb4d3e06fab4c9c64"><li>✅ <b>保留证据</b>：截图、代码、文档全部归档</li></ul><hr class="notion-hr notion-block-358a3987e3118027a4d9f64126f6806d"/><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-358a3987e311801c9b8bd84efd1b5519" data-id="358a3987e311801c9b8bd84efd1b5519"><span><div id="358a3987e311801c9b8bd84efd1b5519" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e311801c9b8bd84efd1b5519" title="四、防御方案（四层架构）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">四、防御方案（四层架构）</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e311806dac8dc33345eae9e6" data-id="358a3987e311806dac8dc33345eae9e6"><span><div id="358a3987e311806dac8dc33345eae9e6" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e311806dac8dc33345eae9e6" title="4.1 防御体系总览"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">4.1 防御体系总览</span></span></h4><div class="notion-text notion-block-358a3987e31180c7b97cf83fb82e49d4"><b>重要程度</b>：第一层 &gt;&gt;&gt; 其他。即使其他防线失效，¥30/天的硬上限仍能兜底。</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180e1b11af94ed5c1e310" data-id="358a3987e31180e1b11af94ed5c1e310"><span><div id="358a3987e31180e1b11af94ed5c1e310" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180e1b11af94ed5c1e310" title="4.2 第一层：平台用量限制"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">4.2 第一层：平台用量限制</span></span></h4><div class="notion-text notion-block-358a3987e31180feb0b1cc617895cbd7">在 Kimi 控制台 → 组织管理 → 用量限制 设置：</div><table class="notion-simple-table notion-block-358a3987e31180938ea8e70dc5ea1e15"><tbody><tr class="notion-simple-table-row notion-simple-table-header-row notion-block-358a3987e3118022b605e15bddb06103"><td class="" style="width:120px"><div class="notion-simple-table-cell">设置项</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">推荐值</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">说明</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e31180c49394d7fdeacb3aef"><td class="" style="width:120px"><div class="notion-simple-table-cell">每日消费上限</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">¥30</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">正常使用绝对达不到，触发=出问题</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e31180a5952dfffb4c405047"><td class="" style="width:120px"><div class="notion-simple-table-cell">每月消费上限</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">¥200</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">月度兜底</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e3118035a794c873eaf1c5a9"><td class="" style="width:120px"><div class="notion-simple-table-cell">余额预警</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">¥100</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">低于此值发通知</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e31180f1b117f4f93e4c3576"><td class="" style="width:120px"><div class="notion-simple-table-cell">自动充值</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">❌ 关闭</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">防止 bug 期间自动续费</div></td></tr></tbody></table><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e311801d85dac1490d958a55" data-id="358a3987e311801d85dac1490d958a55"><span><div id="358a3987e311801d85dac1490d958a55" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e311801d85dac1490d958a55" title="4.3 第二层：API Key 速率限制"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">4.3 第二层：API Key 速率限制</span></span></h4><div class="notion-text notion-block-358a3987e31180968decd38e834827e9">针对小型应用 + kimi-k2 + 防代码 bug 场景：</div><table class="notion-simple-table notion-block-358a3987e31180d885abeaf9eb1d0bad"><tbody><tr class="notion-simple-table-row notion-simple-table-header-row notion-block-358a3987e31180e4b3e1f22396e188d3"><td class="" style="width:120px"><div class="notion-simple-table-cell">限制项</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">推荐值</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">理由</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e311808d956dd9467ef7d260"><td class="" style="width:120px"><div class="notion-simple-table-cell">TPM</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">60,000</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">单次大请求够用，循环失控会被卡</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e31180fa8368c45dae234282"><td class="" style="width:120px"><div class="notion-simple-table-cell">RPM</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">60</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">平均每秒 1 次，少量并发够用</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e31180199994c213d7f29d31"><td class="" style="width:120px"><div class="notion-simple-table-cell">TPD</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">2,000,000</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">日 token 上限约 ¥40-80</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e311803692f4e97203fda30c"><td class="" style="width:120px"><div class="notion-simple-table-cell">RPD</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">2,000</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">防整夜失控</div></td></tr></tbody></table><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e3118030a45df64ac7abbde1" data-id="358a3987e3118030a45df64ac7abbde1"><span><div id="358a3987e3118030a45df64ac7abbde1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e3118030a45df64ac7abbde1" title="4.4 第三层：监控脚本"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">4.4 第三层：监控脚本</span></span></h4><div class="notion-text notion-block-358a3987e31180d08c44e0255665c729">详见 <code class="notion-inline-code">/opt/kimi-monitor/</code> 部署，监控原理见第五节。</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180c19877f8073652f91a" data-id="358a3987e31180c19877f8073652f91a"><span><div id="358a3987e31180c19877f8073652f91a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180c19877f8073652f91a" title="4.5 第四层：代码层防御"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">4.5 第四层：代码层防御</span></span></h4><hr class="notion-hr notion-block-358a3987e31180409019c5cb768a74af"/><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-358a3987e3118080ad70dbd8de67d856" data-id="358a3987e3118080ad70dbd8de67d856"><span><div id="358a3987e3118080ad70dbd8de67d856" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e3118080ad70dbd8de67d856" title="五、监控脚本部署"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">五、监控脚本部署</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180c0b27ff6ba4a7a629f" data-id="358a3987e31180c0b27ff6ba4a7a629f"><span><div id="358a3987e31180c0b27ff6ba4a7a629f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180c0b27ff6ba4a7a629f" title="5.1 监控原理"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">5.1 监控原理</span></span></h4><div class="notion-text notion-block-358a3987e31180e8a265e576cae96975">由于 Kimi 公开 API 没有提供消费明细查询接口，采用<b>间接监控法</b>：</div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180028c04d37e8b522182" data-id="358a3987e31180028c04d37e8b522182"><span><div id="358a3987e31180028c04d37e8b522182" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180028c04d37e8b522182" title="5.2 三级告警阈值"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">5.2 三级告警阈值</span></span></h4><table class="notion-simple-table notion-block-358a3987e3118076a1f9d960671da169"><tbody><tr class="notion-simple-table-row notion-simple-table-header-row notion-block-358a3987e311809ea66ef90525955907"><td class="" style="width:120px"><div class="notion-simple-table-cell">级别</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">触发条件</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">颜色</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">动作</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e3118099a47aee7b837c3c5a"><td class="" style="width:120px"><div class="notion-simple-table-cell">注意</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">5 分钟下降 &gt; ¥5</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">🟡</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">Telegram 通知</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e311808bb903ea4738b69601"><td class="" style="width:120px"><div class="notion-simple-table-cell">警告</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">5 分钟下降 &gt; ¥20</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">🟠</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">Telegram 通知 + 详情</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e31180ea9633dedd35d396ad"><td class="" style="width:120px"><div class="notion-simple-table-cell">紧急</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">5 分钟下降 &gt; ¥50</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">🔴</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">立即通知 + 建议禁用 Key</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e3118069916fdac25a1b3216"><td class="" style="width:120px"><div class="notion-simple-table-cell">余额低</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">余额 &lt; ¥10</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">🟡</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">Telegram 提醒</div></td></tr></tbody></table><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e3118013bee2d55569ee70ac" data-id="358a3987e3118013bee2d55569ee70ac"><span><div id="358a3987e3118013bee2d55569ee70ac" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e3118013bee2d55569ee70ac" title="5.3 文件结构"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">5.3 文件结构</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180d6ae12eaa3bc8554b9" data-id="358a3987e31180d6ae12eaa3bc8554b9"><span><div id="358a3987e31180d6ae12eaa3bc8554b9" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180d6ae12eaa3bc8554b9" title="5.4 部署步骤"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">5.4 部署步骤</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180fcae4ae1efdbeac30e" data-id="358a3987e31180fcae4ae1efdbeac30e"><span><div id="358a3987e31180fcae4ae1efdbeac30e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180fcae4ae1efdbeac30e" title="5.5 配置文件模板"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">5.5 配置文件模板</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e3118004b2dfe88727145241" data-id="358a3987e3118004b2dfe88727145241"><span><div id="358a3987e3118004b2dfe88727145241" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e3118004b2dfe88727145241" title="5.6 接入 Uptime Kuma（推荐）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">5.6 接入 Uptime Kuma（推荐）</span></span></h4><div class="notion-text notion-block-358a3987e311809a99e8c75ec6dc6761">防止监控脚本自身故障的&quot;监控的监控&quot;：</div><ol start="1" class="notion-list notion-list-numbered notion-block-358a3987e31180bfaf49ee445a86e7d3" style="list-style-type:decimal"><li>Uptime Kuma 创建 Push 类型监控，超时设为 10 分钟</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-358a3987e311809f90fce03e97cbe8ca" style="list-style-type:decimal"><li>在 <code class="notion-inline-code">kimi-monitor.sh</code> 主逻辑结尾添加：</li><ol class="notion-list notion-list-numbered notion-block-358a3987e311809f90fce03e97cbe8ca" style="list-style-type:lower-alpha"></ol></ol><ol start="3" class="notion-list notion-list-numbered notion-block-358a3987e31180f59dc2db6572a73ba8" style="list-style-type:decimal"><li>脚本超过 10 分钟无 push，Uptime Kuma 会告警</li></ol><hr class="notion-hr notion-block-358a3987e31180b6bda5d7e6da36b2b0"/><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-358a3987e31180e1b6d4fcca45452e02" data-id="358a3987e31180e1b6d4fcca45452e02"><span><div id="358a3987e31180e1b6d4fcca45452e02" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180e1b6d4fcca45452e02" title="六、应急响应流程"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">六、应急响应流程</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e311806ebbcbf9fe79ce2bf1" data-id="358a3987e311806ebbcbf9fe79ce2bf1"><span><div id="358a3987e311806ebbcbf9fe79ce2bf1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e311806ebbcbf9fe79ce2bf1" title="6.1 收到 Telegram 告警时"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">6.1 收到 Telegram 告警时</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180ff9b73eb5bafbd7e47" data-id="358a3987e31180ff9b73eb5bafbd7e47"><span><div id="358a3987e31180ff9b73eb5bafbd7e47" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180ff9b73eb5bafbd7e47" title="🟡 注意级别（5分钟下降 ¥5-20）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">🟡 注意级别（5分钟下降 ¥5-20）</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180cb99c7ddea7e7b08a0" data-id="358a3987e31180cb99c7ddea7e7b08a0"><span><div id="358a3987e31180cb99c7ddea7e7b08a0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180cb99c7ddea7e7b08a0" title="🟠 警告级别（5分钟下降 ¥20-50）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">🟠 警告级别（5分钟下降 ¥20-50）</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e311803d97fae86b7624acdd" data-id="358a3987e311803d97fae86b7624acdd"><span><div id="358a3987e311803d97fae86b7624acdd" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e311803d97fae86b7624acdd" title="🔴 紧急级别（5分钟下降 &gt; ¥50）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">🔴 紧急级别（5分钟下降 &gt; ¥50）</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180428cb9cb87475dc761" data-id="358a3987e31180428cb9cb87475dc761"><span><div id="358a3987e31180428cb9cb87475dc761" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180428cb9cb87475dc761" title="6.2 余额低告警"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">6.2 余额低告警</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180168ac3f325a03d08a2" data-id="358a3987e31180168ac3f325a03d08a2"><span><div id="358a3987e31180168ac3f325a03d08a2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180168ac3f325a03d08a2" title="6.3 监控脚本失效告警（Uptime Kuma）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">6.3 监控脚本失效告警（Uptime Kuma）</span></span></h4><hr class="notion-hr notion-block-358a3987e31180f9812ff482f74089a9"/><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-358a3987e31180b88675deabec685e88" data-id="358a3987e31180b88675deabec685e88"><span><div id="358a3987e31180b88675deabec685e88" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180b88675deabec685e88" title="七、关键文档与链接"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">七、关键文档与链接</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e3118080916ac8d9df6b51d3" data-id="358a3987e3118080916ac8d9df6b51d3"><span><div id="358a3987e3118080916ac8d9df6b51d3" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e3118080916ac8d9df6b51d3" title="7.1 Kimi 官方文档"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">7.1 Kimi 官方文档</span></span></h4><ul class="notion-list notion-list-disc notion-block-358a3987e31180ffaabff52ac16fcdf5"><li>平台首页：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://platform.moonshot.cn/">https://platform.moonshot.cn/</a></li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e31180c5a711eb10d6c2826e"><li>API 文档：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://platform.moonshot.cn/docs/">https://platform.moonshot.cn/docs/</a></li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e31180029302c81f3fe27d9d"><li>余额查询接口：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://platform.moonshot.cn/docs/api/balance">https://platform.moonshot.cn/docs/api/balance</a></li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e311807eb5e1cac99687a479"><li>速率限制：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://platform.moonshot.cn/docs/pricing/limits">https://platform.moonshot.cn/docs/pricing/limits</a></li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e311808db717c48a96c80df7"><li>Context Caching 介绍：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://platform.moonshot.cn/blog/posts/context-caching">https://platform.moonshot.cn/blog/posts/context-caching</a></li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e31180b58ed9ef9b67bc0df8"><li>定价说明：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://platform.moonshot.cn/docs/pricing/chat">https://platform.moonshot.cn/docs/pricing/chat</a></li></ul><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180e99077ff8a68e6bb47" data-id="358a3987e31180e99077ff8a68e6bb47"><span><div id="358a3987e31180e99077ff8a68e6bb47" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180e99077ff8a68e6bb47" title="7.2 申诉渠道"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">7.2 申诉渠道</span></span></h4><ul class="notion-list notion-list-disc notion-block-358a3987e31180d9a5dfe57fcf5ddd6e"><li>控制台工单：右上角&quot;联系销售&quot;</li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e31180ad84edf3385a653c09"><li>邮件：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="mailto:sales@moonshot.cn">sales@moonshot.cn</a></li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e311804ba88de390bbbe31d7"><li>12315 投诉（终极手段）</li></ul><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180278489e419b62ad178" data-id="358a3987e31180278489e419b62ad178"><span><div id="358a3987e31180278489e419b62ad178" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180278489e419b62ad178" title="7.3 监控相关"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">7.3 监控相关</span></span></h4><ul class="notion-list notion-list-disc notion-block-358a3987e31180f7a030cc02c40e787c"><li>Telegram Bot API：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://core.telegram.org/bots/api">https://core.telegram.org/bots/api</a></li></ul><ul class="notion-list notion-list-disc notion-block-358a3987e31180dd9a62e1f5a1950c6c"><li>MarkdownV2 转义规则：<a target="_blank" rel="noopener noreferrer" class="notion-link" href="https://core.telegram.org/bots/api#markdownv2-style">https://core.telegram.org/bots/api#markdownv2-style</a></li></ul><hr class="notion-hr notion-block-358a3987e31180cc8a99fe0c1f528a14"/><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-358a3987e311808087baea2a847027e9" data-id="358a3987e311808087baea2a847027e9"><span><div id="358a3987e311808087baea2a847027e9" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e311808087baea2a847027e9" title="八、经验总结"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">八、经验总结</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180a68f91ffe904a7ab7f" data-id="358a3987e31180a68f91ffe904a7ab7f"><span><div id="358a3987e31180a68f91ffe904a7ab7f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180a68f91ffe904a7ab7f" title="8.1 核心教训"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">8.1 核心教训</span></span></h4><ol start="1" class="notion-list notion-list-numbered notion-block-358a3987e31180e49d5eeca6c66f5686" style="list-style-type:decimal"><li><b>金额硬上限是终极防线</b>：技术防御都可能失败，平台金额上限不会</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-358a3987e311805eb755c6cb3de4cd6e" style="list-style-type:decimal"><li><b>隐式机制最危险</b>：用户无感知开启的功能，一旦计费 bug 就是巨坑</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-358a3987e31180718995f3e14aacc02d" style="list-style-type:decimal"><li><b>公开账单的不对称性</b>：用户只能看汇总，平台知道明细</li></ol><ol start="4" class="notion-list notion-list-numbered notion-block-358a3987e31180d3acc3db30d160b665" style="list-style-type:decimal"><li><b>申诉要靠事实，不靠情感</b>：基于官方文档条款的矛盾点最有力</li></ol><ol start="5" class="notion-list notion-list-numbered notion-block-358a3987e31180a5b781e32186c0bf73" style="list-style-type:decimal"><li>所有 LLM 平台的&quot;用量限制&quot;都要假设是软限制，除非官方明确承诺实时熔断</li></ol><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e31180d89638e6cb5bd1ed26" data-id="358a3987e31180d89638e6cb5bd1ed26"><span><div id="358a3987e31180d89638e6cb5bd1ed26" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180d89638e6cb5bd1ed26" title="8.2 通用 LLM API 安全清单"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">8.2 通用 LLM API 安全清单</span></span></h4><div class="notion-text notion-block-358a3987e31180f48eb6d2621b035216">不只适用于 Kimi，所有付费 LLM API 都建议：</div><div class="notion-to-do notion-block-358a3987e31180e5ac1dcd9daad0f39f"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-checked"><svg viewBox="0 0 14 14"><path d="M5.5 12L14 3.5 12.5 2l-7 7-4-4.003L0 6.499z"></path></svg></div></span><div class="notion-to-do-body notion-to-do-checked">设置每日/每月消费上限</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-358a3987e31180478070ca433e1af435"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-checked"><svg viewBox="0 0 14 14"><path d="M5.5 12L14 3.5 12.5 2l-7 7-4-4.003L0 6.499z"></path></svg></div></span><div class="notion-to-do-body notion-to-do-checked">关闭自动充值</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-358a3987e31180ad88fdfea9c133a54d"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-unchecked"></div></span><div class="notion-to-do-body">使用独立 API Key（业务/测试/监控分离）</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-358a3987e311805c8d28e219de34db7d"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-checked"><svg viewBox="0 0 14 14"><path d="M5.5 12L14 3.5 12.5 2l-7 7-4-4.003L0 6.499z"></path></svg></div></span><div class="notion-to-do-body notion-to-do-checked">配置速率限制（TPM/RPM/RPD）</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-358a3987e311802b93e5ee168f98094c"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-checked"><svg viewBox="0 0 14 14"><path d="M5.5 12L14 3.5 12.5 2l-7 7-4-4.003L0 6.499z"></path></svg></div></span><div class="notion-to-do-body notion-to-do-checked">部署余额监控脚本</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-358a3987e31180539a91dcdbe4cf5aa5"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-checked"><svg viewBox="0 0 14 14"><path d="M5.5 12L14 3.5 12.5 2l-7 7-4-4.003L0 6.499z"></path></svg></div></span><div class="notion-to-do-body notion-to-do-checked">接入告警通道（Telegram/邮件等）</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-358a3987e31180258099c60ace509f20"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-unchecked"></div></span><div class="notion-to-do-body">应用代码加超时和异常处理</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-358a3987e31180c284e4c93399252b7a"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-unchecked"></div></span><div class="notion-to-do-body">不主动启用未充分理解的&quot;省钱&quot;功能（如各种 caching）</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-358a3987e31180aa930cecc28701cda6"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-checked"><svg viewBox="0 0 14 14"><path d="M5.5 12L14 3.5 12.5 2l-7 7-4-4.003L0 6.499z"></path></svg></div></span><div class="notion-to-do-body notion-to-do-checked">保留申诉证据（代码、日志、截图）</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-358a3987e311809abc25e1075a5f4864"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-checked"><svg viewBox="0 0 14 14"><path d="M5.5 12L14 3.5 12.5 2l-7 7-4-4.003L0 6.499z"></path></svg></div></span><div class="notion-to-do-body notion-to-do-checked">定期检查账单异常项</div></div><div class="notion-to-do-children"></div></div><h4 class="notion-h notion-h3 notion-h-indent-2 notion-block-358a3987e3118091a383fbd969543855" data-id="358a3987e3118091a383fbd969543855"><span><div id="358a3987e3118091a383fbd969543855" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e3118091a383fbd969543855" title="8.3 防御深度（Defense in Depth）思想"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">8.3 防御深度（Defense in Depth）思想</span></span></h4><hr class="notion-hr notion-block-358a3987e311804f8f9cd58cb93e5780"/><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-358a3987e31180089845c95dd2a06ebe" data-id="358a3987e31180089845c95dd2a06ebe"><span><div id="358a3987e31180089845c95dd2a06ebe" class="notion-header-anchor"></div><a class="notion-hash-link" href="#358a3987e31180089845c95dd2a06ebe" title="九、变更记录"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">九、变更记录</span></span></h3><table class="notion-simple-table notion-block-358a3987e311805c9bc1f61d3b579f45"><tbody><tr class="notion-simple-table-row notion-simple-table-header-row notion-block-358a3987e31180488065e4e0b4585993"><td class="" style="width:120px"><div class="notion-simple-table-cell">日期</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">变更</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">备注</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e31180029ccbc2aecafd5ade"><td class="" style="width:120px"><div class="notion-simple-table-cell">2026-05-03</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">异常事件发生</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">当日消费 ¥942</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e31180de98afe0bf3258009a"><td class="" style="width:120px"><div class="notion-simple-table-cell">2026-05-04~05</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">申诉与协商</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">平台确认 bug</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e31180b1aae4e528eb5beb9f"><td class="" style="width:120px"><div class="notion-simple-table-cell">2026-05-06</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">退款到账 ¥1000 + 制定防御方案</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">-</div></td></tr><tr class="notion-simple-table-row notion-block-358a3987e31180019358c2f15101f617"><td class="" style="width:120px"><div class="notion-simple-table-cell">2026-05-06</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">文档创建</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">本笔记</div></td></tr></tbody></table></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Docker清理镜像及容器]]></title>
            <link>https://chirophy.online/Linux/docker-clean</link>
            <guid>https://chirophy.online/Linux/docker-clean</guid>
            <pubDate>Fri, 12 Sep 2025 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-26ca3987e3118066a99ae616170de7a0"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-26ca3987e31180b9b112f7601342c55f" data-id="26ca3987e31180b9b112f7601342c55f"><span><div id="26ca3987e31180b9b112f7601342c55f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#26ca3987e31180b9b112f7601342c55f" title="清理 Docker 未使用镜像"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>清理 Docker 未使用镜像</b></span></span></h2><div class="notion-text notion-block-26ca3987e31180a691f2c27af8f0ce43">在 Docker 中清理未使用的镜像可以通过几个不同的命令实现。以下是几种常用的方法：</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-26ca3987e311806da31cf3cad813564d" data-id="26ca3987e311806da31cf3cad813564d"><span><div id="26ca3987e311806da31cf3cad813564d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#26ca3987e311806da31cf3cad813564d" title="1. 删除悬空镜像（无标签镜像）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>1. 删除悬空镜像（无标签镜像）</b></span></span></h3><div class="notion-text notion-block-26ca3987e31180fc9b7af07fff2b3133">这个命令会删除所有未被容器使用的悬空镜像（dangling images）。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-26ca3987e311802bad98cca3014aebbf" data-id="26ca3987e311802bad98cca3014aebbf"><span><div id="26ca3987e311802bad98cca3014aebbf" class="notion-header-anchor"></div><a class="notion-hash-link" href="#26ca3987e311802bad98cca3014aebbf" title="2. 删除所有未使用的镜像"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>2. 删除所有未使用的镜像</b></span></span></h3><div class="notion-text notion-block-26ca3987e3118023ae12e4ac27f1b53d">这个命令会删除所有未被任何容器使用的镜像，包括有标签的和无标签的。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-26ca3987e31180a49570ce799447762d" data-id="26ca3987e31180a49570ce799447762d"><span><div id="26ca3987e31180a49570ce799447762d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#26ca3987e31180a49570ce799447762d" title="3. 强制删除且不提示确认"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>3. 强制删除且不提示确认</b></span></span></h3><div class="notion-text notion-block-26ca3987e31180558bb7c6ff61583440">添加 <code class="notion-inline-code">-f</code> 或 <code class="notion-inline-code">--force</code> 标志可以跳过确认提示。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-26ca3987e31180b99052d0e79990fc0d" data-id="26ca3987e31180b99052d0e79990fc0d"><span><div id="26ca3987e31180b99052d0e79990fc0d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#26ca3987e31180b99052d0e79990fc0d" title="4. 同时删除镜像和容器"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>4. 同时删除镜像和容器</b></span></span></h3><div class="notion-text notion-block-26ca3987e311805889fbf843d4f309cd">这个命令会删除：</div><ul class="notion-list notion-list-disc notion-block-26ca3987e311808095deee09c4433a67"><li>所有停止的容器</li></ul><ul class="notion-list notion-list-disc notion-block-26ca3987e3118028871fde1c65a5c669"><li>所有未被容器使用的网络</li></ul><ul class="notion-list notion-list-disc notion-block-26ca3987e31180e898f9f43482767f79"><li>所有悬空镜像</li></ul><ul class="notion-list notion-list-disc notion-block-26ca3987e31180aeb0f7f246478356a1"><li>所有悬空构建缓存</li></ul><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-26ca3987e311806da1e3df8fa5c37eb1" data-id="26ca3987e311806da1e3df8fa5c37eb1"><span><div id="26ca3987e311806da1e3df8fa5c37eb1" class="notion-header-anchor"></div><a class="notion-hash-link" href="#26ca3987e311806da1e3df8fa5c37eb1" title="5. 彻底清理（包括未使用的卷和构建缓存）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title"><b>5. 彻底清理（包括未使用的卷和构建缓存）</b></span></span></h3><div class="notion-text notion-block-26ca3987e3118060b35cdbe4b81cc907">这个更激进的命令会删除所有未使用的资源，包括卷和构建缓存（谨慎使用）。</div><div class="notion-blank notion-block-278a3987e311800c8cf1e5989228f9cf"> </div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-278a3987e311809eaad5d65218ba41c0" data-id="278a3987e311809eaad5d65218ba41c0"><span><div id="278a3987e311809eaad5d65218ba41c0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#278a3987e311809eaad5d65218ba41c0" title="6. 定时清理"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">6. 定时清理</span></span></h3><div class="notion-text notion-block-278a3987e31180d79a69dd8d547f7f78">编辑当前用户的 cron 任务</div><div class="notion-text notion-block-278a3987e311800f9933c1ab39f02f69">添加以下行（每天凌晨 3 点执行）：</div><div class="notion-blank notion-block-334a3987e31180859582d3e0ae490b47"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[常见204测速URL]]></title>
            <link>https://chirophy.online/technology/204url</link>
            <guid>https://chirophy.online/technology/204url</guid>
            <pubDate>Tue, 17 Mar 2026 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-326a3987e3118025be68c663e961d9eb"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-block-326a3987e31180d2949be94e92b9de4d"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="📄">📄</span></div><div class="notion-callout-text">最后更新：2026-03-17</div></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-326a3987e31180a2a56ee7d8996c7633" data-id="326a3987e31180a2a56ee7d8996c7633"><span><div id="326a3987e31180a2a56ee7d8996c7633" class="notion-header-anchor"></div><a class="notion-hash-link" href="#326a3987e31180a2a56ee7d8996c7633" title="Google 系（最常用）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Google 系（最常用）</span></span></h3><table class="notion-simple-table notion-block-326a3987e311809eaa69e47d3ffea4d4"><tbody><tr class="notion-simple-table-row notion-simple-table-header-row notion-block-326a3987e311802abadcc0cf9156255a"><td class="" style="width:120px"><div class="notion-simple-table-cell">URL</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">说明</div></td></tr><tr class="notion-simple-table-row notion-block-326a3987e31180e5bff9e20d41df9936"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">https://www.gstatic.com/generate_204</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">Google 标准 204，最常用</div></td></tr><tr class="notion-simple-table-row notion-block-326a3987e31180b1b923dc126b3470d2"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">http://www.google.com/generate_204</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">Google HTTP 版本</div></td></tr><tr class="notion-simple-table-row notion-block-326a3987e31180168195edcfa6cd3069"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">https://connectivitycheck.gstatic.com/generate_204</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">Android 连通性检测</div></td></tr><tr class="notion-simple-table-row notion-block-326a3987e3118061ae17e978108b2e65"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">http://connectivitycheck.android.com/generate_204</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">Android 旧版检测</div></td></tr></tbody></table><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-326a3987e31180fab607cfdcc9acdc75" data-id="326a3987e31180fab607cfdcc9acdc75"><span><div id="326a3987e31180fab607cfdcc9acdc75" class="notion-header-anchor"></div><a class="notion-hash-link" href="#326a3987e31180fab607cfdcc9acdc75" title="国内可访问（适合测试国内直连）"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">国内可访问（适合测试国内直连）</span></span></h3><table class="notion-simple-table notion-block-326a3987e311804badf7ec5a60a1a916"><tbody><tr class="notion-simple-table-row notion-simple-table-header-row notion-block-326a3987e31180009114f410eec7f35b"><td class="" style="width:120px"><div class="notion-simple-table-cell">URL</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">说明</div></td></tr><tr class="notion-simple-table-row notion-block-326a3987e31180f893c2f6446a1578cf"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">http://connect.rom.miui.com/generate_204</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">小米 MIUI</div></td></tr><tr class="notion-simple-table-row notion-block-326a3987e311806e9d1ddc68c641dcb2"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">http://wifi.vivo.com.cn/generate_204</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">Vivo</div></td></tr><tr class="notion-simple-table-row notion-block-326a3987e31180e4a0fcc30c5e556659"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">http://wifi.oppo.com/generate_204</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">OPPO</div></td></tr><tr class="notion-simple-table-row notion-block-326a3987e31180f8b19ee5fd29295bac"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">http://connectivitycheck.platform.hicloud.com/generate_204</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">华为</div></td></tr></tbody></table><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-326a3987e31180cebc35e7436dce3063" data-id="326a3987e31180cebc35e7436dce3063"><span><div id="326a3987e31180cebc35e7436dce3063" class="notion-header-anchor"></div><a class="notion-hash-link" href="#326a3987e31180cebc35e7436dce3063" title="其他国际节点"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">其他国际节点</span></span></h3><table class="notion-simple-table notion-block-326a3987e31180099656c407e6a4a517"><tbody><tr class="notion-simple-table-row notion-simple-table-header-row notion-block-326a3987e3118009916ae168b379ebcb"><td class="" style="width:120px"><div class="notion-simple-table-cell">URL</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">说明</div></td></tr><tr class="notion-simple-table-row notion-block-326a3987e311807aab57f82c9deaf05c"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">https://cp.cloudflare.com/generate_204</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">Cloudflare</div></td></tr><tr class="notion-simple-table-row notion-block-326a3987e3118039934fe7567ee291f9"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">http://nmcheck.gnome.org/check_network_status.txt</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">GNOME（返回文本，非204）</div></td></tr><tr class="notion-simple-table-row notion-block-326a3987e3118089838ec8eab2ee733c"><td class="" style="width:120px"><div class="notion-simple-table-cell"><code class="notion-inline-code">https://captive.apple.com/hotspot-detect.html</code></div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">Apple（返回 200，非204）</div></td></tr></tbody></table><hr class="notion-hr notion-block-326a3987e311800d9ecbcffc4f04af50"/><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-326a3987e31180d5ad9afa0f25f21736" data-id="326a3987e31180d5ad9afa0f25f21736"><span><div id="326a3987e31180d5ad9afa0f25f21736" class="notion-header-anchor"></div><a class="notion-hash-link" href="#326a3987e31180d5ad9afa0f25f21736" title="使用建议"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">使用建议</span></span></h3><ul class="notion-list notion-list-disc notion-block-326a3987e31180b0b539d8e5c3e6dfdf"><li><b>Clash / Mihomo</b>：推荐 <code class="notion-inline-code">https://www.gstatic.com/generate_204</code>，响应快、稳定</li></ul><ul class="notion-list notion-list-disc notion-block-326a3987e31180fdadadcfebcc04ef17"><li><b>测延迟准确性</b>：优先用 HTTPS，避免运营商对 HTTP 劫持干扰</li></ul><ul class="notion-list notion-list-disc notion-block-326a3987e31180b9af74f8d9ca7ccbeb"><li><b>多地区节点</b>：可同时配多个 URL 做 fallback，提高检测可靠性</li></ul><ul class="notion-list notion-list-disc notion-block-326a3987e31180acbc49c03537aac751"><li><b>日本/亚太节点</b>：<code class="notion-inline-code">gstatic.com</code> 在亚太有 CDN 节点，测速结果较真实</li></ul></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OpenClaw 权限分离机制总结]]></title>
            <link>https://chirophy.online/technology/openclaw-permissions</link>
            <guid>https://chirophy.online/technology/openclaw-permissions</guid>
            <pubDate>Wed, 04 Mar 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[OpenClaw 2026.3.2 版本权限分离机制详解，包括 tools.profile 四种模式、安全加固建议及配置最佳实践。]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-319a3987e311813081bcc0409aad0207"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-block-319a3987e31181c89820d080de2f10be"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="📄">📄</span></div><div class="notion-callout-text">基于 2026.3.2 版本 | 最后更新：2026-03-04</div></div><hr class="notion-hr notion-block-319a3987e31181be8758e4219fc7931a"/><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-319a3987e311814a80d3c22c525b52b9" data-id="319a3987e311814a80d3c22c525b52b9"><span><div id="319a3987e311814a80d3c22c525b52b9" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e311814a80d3c22c525b52b9" title="1. 权限体系概览"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1. 权限体系概览</span></span></h2><div class="notion-text notion-block-319a3987e31181ca9b09e9ccf77741fa">OpenClaw 采用分层权限模型，从工具集、API 认证、命令执行到文件系统访问，实现细粒度控制。</div><hr class="notion-hr notion-block-319a3987e311818aa902d2f597dd6ca2"/><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-319a3987e311818c98b5d74206e5661a" data-id="319a3987e311818c98b5d74206e5661a"><span><div id="319a3987e311818c98b5d74206e5661a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e311818c98b5d74206e5661a" title="2. 工具集权限 (tools.profile)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2. 工具集权限 (tools.profile)</span></span></h2><div class="notion-text notion-block-319a3987e31181639fbadd01a6984203">控制可用工具范围，支持四种预定义模式：</div><table class="notion-simple-table notion-block-319a3987e31181029cc8dd798b56d1d6"><tbody><tr class="notion-simple-table-row notion-simple-table-header-row notion-block-319a3987e31181019888e0219983bd54"><td class="" style="width:120px"><div class="notion-simple-table-cell">Profile</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">可用工具</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">适用场景</div></td></tr><tr class="notion-simple-table-row notion-block-319a3987e3118159b421cba84d72d766"><td class="" style="width:120px"><div class="notion-simple-table-cell">minimal</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">仅 session_status</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">极简监控、只读查看</div></td></tr><tr class="notion-simple-table-row notion-block-319a3987e31181368425e6f3c78253ba"><td class="" style="width:120px"><div class="notion-simple-table-cell">coding</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">文件操作 + 命令执行 + 会话管理 + 记忆 + 图像分析</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">编程开发</div></td></tr><tr class="notion-simple-table-row notion-block-319a3987e31181b0b9cdf6e8080d614d"><td class="" style="width:120px"><div class="notion-simple-table-cell">messaging</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">消息相关工具 + 基础会话管理</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">普通聊天用户（2026.3.2+ 新安装默认）</div></td></tr><tr class="notion-simple-table-row notion-block-319a3987e311812faac2ea37139aa7ae"><td class="" style="width:120px"><div class="notion-simple-table-cell">full</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">无限制（全部工具）</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">开发者、管理员</div></td></tr></tbody></table><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-319a3987e31181f2bac8f84319c10059" data-id="319a3987e31181f2bac8f84319c10059"><span><div id="319a3987e31181f2bac8f84319c10059" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e31181f2bac8f84319c10059" title="功能对比表"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">功能对比表</span></span></h3><table class="notion-simple-table notion-block-319a3987e311816aa4dbcdf4512089a2"><tbody><tr class="notion-simple-table-row notion-simple-table-header-row notion-block-319a3987e31181ad82b4c34c147cbbf2"><td class="" style="width:120px"><div class="notion-simple-table-cell">功能</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">minimal</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">coding</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">messaging</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">full</div></td></tr><tr class="notion-simple-table-row notion-block-319a3987e31181238c57f6c82536a3a6"><td class="" style="width:120px"><div class="notion-simple-table-cell">文件操作</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">❌</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">✅</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">❌</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">✅</div></td></tr><tr class="notion-simple-table-row notion-block-319a3987e311816187b0edc762c1d7f7"><td class="" style="width:120px"><div class="notion-simple-table-cell">命令执行</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">❌</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">✅</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">❌</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">✅</div></td></tr><tr class="notion-simple-table-row notion-block-319a3987e3118107b979c08758517138"><td class="" style="width:120px"><div class="notion-simple-table-cell">网络搜索</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">❌</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">❌</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">❌</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">✅</div></td></tr><tr class="notion-simple-table-row notion-block-319a3987e311814f9fdfcb6449bb0b8e"><td class="" style="width:120px"><div class="notion-simple-table-cell">浏览器控制</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">❌</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">❌</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">❌</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">✅</div></td></tr><tr class="notion-simple-table-row notion-block-319a3987e3118158b7e7d5c217be18ca"><td class="" style="width:120px"><div class="notion-simple-table-cell">消息发送</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">❌</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">❌</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">✅</div></td><td class="" style="width:120px"><div class="notion-simple-table-cell">✅</div></td></tr></tbody></table><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-319a3987e311813e9fadfc93df59637a" data-id="319a3987e311813e9fadfc93df59637a"><span><div id="319a3987e311813e9fadfc93df59637a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e311813e9fadfc93df59637a" title="工具组速查 (group:*)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">工具组速查 (group:*)</span></span></h3><ul class="notion-list notion-list-disc notion-block-319a3987e31181c9b4eff1f3b26f722b"><li>group:fs — read, write, edit, apply_patch</li></ul><ul class="notion-list notion-list-disc notion-block-319a3987e3118165a09bf45238ffd143"><li>group:runtime — exec, bash, process</li></ul><ul class="notion-list notion-list-disc notion-block-319a3987e311816eb46bdcbafe3082d0"><li>group:sessions — sessions_list, sessions_history, sessions_send, sessions_spawn, session_status</li></ul><ul class="notion-list notion-list-disc notion-block-319a3987e311819d904eef9ced2defcd"><li>group:memory — memory_search, memory_get</li></ul><ul class="notion-list notion-list-disc notion-block-319a3987e311812894aaef9d7db7a991"><li>group:web — web_search, web_fetch</li></ul><ul class="notion-list notion-list-disc notion-block-319a3987e3118170839bf032621ccd9f"><li>group:ui — browser, canvas</li></ul><ul class="notion-list notion-list-disc notion-block-319a3987e3118145a68af784e99bf68a"><li>group:messaging — message</li></ul><ul class="notion-list notion-list-disc notion-block-319a3987e311810c84d8f416757cb0b7"><li>group:automation — cron, gateway</li></ul><hr class="notion-hr notion-block-319a3987e31181478746ef90e4b4fa0b"/><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-319a3987e311819f9b93fe80b52ed81b" data-id="319a3987e311819f9b93fe80b52ed81b"><span><div id="319a3987e311819f9b93fe80b52ed81b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e311819f9b93fe80b52ed81b" title="3. 其他权限层级"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3. 其他权限层级</span></span></h2><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-319a3987e311815c9be1e2df0fe8269b" data-id="319a3987e311815c9be1e2df0fe8269b"><span><div id="319a3987e311815c9be1e2df0fe8269b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e311815c9be1e2df0fe8269b" title="3.1 API 认证配置 (auth.profiles)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3.1 API 认证配置 (auth.profiles)</span></span></h3><div class="notion-text notion-block-319a3987e31181ca8bfed7910963bb03">管理不同 AI 提供商的认证方式，支持多提供商（Moonshot、Kimi、MiniMax 等）和 API Key、OAuth 等模式。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-319a3987e311812e9c25e381ba3beaa4" data-id="319a3987e311812e9c25e381ba3beaa4"><span><div id="319a3987e311812e9c25e381ba3beaa4" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e311812e9c25e381ba3beaa4" title="3.2 命令执行权限 (gateway.nodes.denyCommands)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3.2 命令执行权限 (gateway.nodes.denyCommands)</span></span></h3><div class="notion-text notion-block-319a3987e31181198b88d14168c34bb6">默认禁用高风险命令：camera.snap / camera.clip（摄像头）、screen.record（屏幕录制）、calendar.add / contacts.add / reminders.add（隐私数据写入）</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-319a3987e311810b95f2dc76a258c7a0" data-id="319a3987e311810b95f2dc76a258c7a0"><span><div id="319a3987e311810b95f2dc76a258c7a0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e311810b95f2dc76a258c7a0" title="3.3 文件系统边界控制"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3.3 文件系统边界控制</span></span></h3><div class="notion-text notion-block-319a3987e31181cf8a11cda418fb34ef">通过 workspaceAccess（rw/ro/none）和 tools.fs.workspaceOnly 控制文件访问范围。2026.3.2 起，非 rw 模式下 /workspace 自动只读挂载。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-319a3987e31181e28c64fdd6f4247594" data-id="319a3987e31181e28c64fdd6f4247594"><span><div id="319a3987e31181e28c64fdd6f4247594" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e31181e28c64fdd6f4247594" title="3.4 沙盒隔离 (sandbox)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3.4 沙盒隔离 (sandbox)</span></span></h3><div class="notion-text notion-block-319a3987e31181e39839ecaec1c19ca6">限制子代理运行环境：ACP 运行时禁止从沙盒会话 spawn；sandbox=require 与 ACP 运行时互斥。</div><h3 class="notion-h notion-h2 notion-h-indent-1 notion-block-319a3987e3118185b3c8f0218a16c25a" data-id="319a3987e3118185b3c8f0218a16c25a"><span><div id="319a3987e3118185b3c8f0218a16c25a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e3118185b3c8f0218a16c25a" title="3.5 凭证管理 (SecretRef)"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3.5 凭证管理 (SecretRef)</span></span></h3><div class="notion-text notion-block-319a3987e31181698bbacfbe24a1cf9d">2026.3.2 扩展至 64 个目标，覆盖运行时收集器、openclaw secrets 流程等。未解析引用在活动表面快速失败，非活动表面报告非阻塞诊断。</div><hr class="notion-hr notion-block-319a3987e3118157b2bed25c8a21d42d"/><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-319a3987e31181dd8c97cad7f9406224" data-id="319a3987e31181dd8c97cad7f9406224"><span><div id="319a3987e31181dd8c97cad7f9406224" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e31181dd8c97cad7f9406224" title="4. 权限配置最佳实践"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">4. 权限配置最佳实践</span></span></h2><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-319a3987e311812884e7ebf66afcc725" data-id="319a3987e311812884e7ebf66afcc725"><span><div id="319a3987e311812884e7ebf66afcc725" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e311812884e7ebf66afcc725" title="场景 A：普通聊天用户"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">场景 A：普通聊天用户</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-319a3987e3118117880fe50be599f0ce" data-id="319a3987e3118117880fe50be599f0ce"><span><div id="319a3987e3118117880fe50be599f0ce" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e3118117880fe50be599f0ce" title="场景 B：开发者环境"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">场景 B：开发者环境</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-319a3987e31181968378ccf522909254" data-id="319a3987e31181968378ccf522909254"><span><div id="319a3987e31181968378ccf522909254" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e31181968378ccf522909254" title="场景 C：全能管理员"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">场景 C：全能管理员</span></span></h4><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-319a3987e311810886e4ee25a87a8410" data-id="319a3987e311810886e4ee25a87a8410"><span><div id="319a3987e311810886e4ee25a87a8410" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e311810886e4ee25a87a8410" title="场景 D：高安全隔离"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">场景 D：高安全隔离</span></span></h4><hr class="notion-hr notion-block-319a3987e31181308174e61c8ed80803"/><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-319a3987e311811b9b32c64126f9d03a" data-id="319a3987e311811b9b32c64126f9d03a"><span><div id="319a3987e311811b9b32c64126f9d03a" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e311811b9b32c64126f9d03a" title="5. 2026.3.2 Breaking Changes"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">5. 2026.3.2 Breaking Changes</span></span></h2><ol start="1" class="notion-list notion-list-numbered notion-block-319a3987e31181eca3a6c334ef3c4c53" style="list-style-type:decimal"><li>默认工具集：新安装默认 messaging（不再是 full）</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-319a3987e31181f696f1ea42ae263c2c" style="list-style-type:decimal"><li>ACP 默认启用：需显式 acp.dispatch.enabled=false 禁用</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-319a3987e31181698603d291f856a8c5" style="list-style-type:decimal"><li>Zalo 插件重构：移除外部 CLI 依赖，改用原生 JS 集成</li></ol><hr class="notion-hr notion-block-319a3987e3118104b77beb3885a976f3"/><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-319a3987e3118124824df7bbe9327252" data-id="319a3987e3118124824df7bbe9327252"><span><div id="319a3987e3118124824df7bbe9327252" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e3118124824df7bbe9327252" title="6. 安全加固建议"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">6. 安全加固建议</span></span></h2><div class="notion-to-do notion-block-319a3987e311810ab9a6e8c9218a0106"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-unchecked"></div></span><div class="notion-to-do-body">定期检查 denyCommands 列表</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-319a3987e31181238ad7fff0e5439684"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-unchecked"></div></span><div class="notion-to-do-body">生产环境使用 workspaceOnly: true</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-319a3987e311813e8a48dbbabc16103e"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-unchecked"></div></span><div class="notion-to-do-body">敏感操作开启 sandbox: require</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-319a3987e31181bc9682c320c8761d41"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-checked"><svg viewBox="0 0 14 14"><path d="M5.5 12L14 3.5 12.5 2l-7 7-4-4.003L0 6.499z"></path></svg></div></span><div class="notion-to-do-body notion-to-do-checked">配置文件备份权限已自动设为 0600（2026.3.2+）</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-319a3987e31181ca9aa5d8b425a309b6"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-unchecked"></div></span><div class="notion-to-do-body">使用 openclaw config validate 验证配置</div></div><div class="notion-to-do-children"></div></div><div class="notion-to-do notion-block-319a3987e311811398c8f59b705360a5"><div class="notion-to-do-item"><span class="notion-property notion-property-checkbox"><div class="notion-property-checkbox-unchecked"></div></span><div class="notion-to-do-body">按需选择 tools.profile，避免过度授权</div></div><div class="notion-to-do-children"></div></div><hr class="notion-hr notion-block-319a3987e31181508a07e384e33cd765"/><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-319a3987e3118120b89fceb12ff1aa12" data-id="319a3987e3118120b89fceb12ff1aa12"><span><div id="319a3987e3118120b89fceb12ff1aa12" class="notion-header-anchor"></div><a class="notion-hash-link" href="#319a3987e3118120b89fceb12ff1aa12" title="附录：配置验证命令"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">附录：配置验证命令</span></span></h2><hr class="notion-hr notion-block-319a3987e3118116b438cfc902f89fa2"/><blockquote class="notion-quote notion-block-319a3987e311815e8365f611ed68aade"><div>文档由 OpenClaw 助手生成</div></blockquote></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gitea修改上传数量]]></title>
            <link>https://chirophy.online/Linux/gitea-number</link>
            <guid>https://chirophy.online/Linux/gitea-number</guid>
            <pubDate>Tue, 20 Jan 2026 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-2eea3987e31180fc8479ff18dbfe8105"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-text notion-block-2eea3987e311804c857df3acbbc59d3d">Gitea默认上传数量为5，由此需要上传数量限制。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-2eea3987e31180f1a13bf705abac50ce" data-id="2eea3987e31180f1a13bf705abac50ce"><span><div id="2eea3987e31180f1a13bf705abac50ce" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2eea3987e31180f1a13bf705abac50ce" title="1. 进入Gitea 配置目录"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">1. 进入Gitea 配置目录</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-2eea3987e311804d974ee0608853a566" data-id="2eea3987e311804d974ee0608853a566"><span><div id="2eea3987e311804d974ee0608853a566" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2eea3987e311804d974ee0608853a566" title="2. 备份原配置"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">2. 备份原配置</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-2eea3987e31180f1804fe6f2e94aa78b" data-id="2eea3987e31180f1804fe6f2e94aa78b"><span><div id="2eea3987e31180f1804fe6f2e94aa78b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2eea3987e31180f1804fe6f2e94aa78b" title="3. 编辑配置"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">3. 编辑配置</span></span></h3><div class="notion-text notion-block-2eea3987e3118033a89be16fc04ed4bf">在文件中修改：</div><div class="notion-text notion-block-2eea3987e311800b9f95e7106cdd4552"><b>文件数量必须由此修改</b>，文件大小可以依据<em><b>nginx</b></em>进行修改。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-2eea3987e31180b1b825df54c9efee59" data-id="2eea3987e31180b1b825df54c9efee59"><span><div id="2eea3987e31180b1b825df54c9efee59" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2eea3987e31180b1b825df54c9efee59" title="4. 重启"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">4. 重启</span></span></h3><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-2eea3987e31180f7a59bd759ddda29dd" data-id="2eea3987e31180f7a59bd759ddda29dd"><span><div id="2eea3987e31180f7a59bd759ddda29dd" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2eea3987e31180f7a59bd759ddda29dd" title="5. 在Nginx中配置"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">5. 在Nginx中配置</span></span></h3><div class="notion-blank notion-block-2eea3987e3118006a7d7c5902f4894e0"> </div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Windows 启用 “卓越性能 “电源模式]]></title>
            <link>https://chirophy.online/technology/windows-power</link>
            <guid>https://chirophy.online/technology/windows-power</guid>
            <pubDate>Tue, 24 Jun 2025 00:00:00 GMT</pubDate>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-21ca3987e311804e99c7f4f875c73b00"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-21ca3987e31180d1a9f4d2bed093663f" data-id="21ca3987e31180d1a9f4d2bed093663f"><span><div id="21ca3987e31180d1a9f4d2bed093663f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#21ca3987e31180d1a9f4d2bed093663f" title="以管理员身份打开 powershell"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">以管理员身份打开 powershell</span></span></h3><div class="notion-text notion-block-21ca3987e31180a38675e72a3481d130">输入下列指令</div><div class="notion-text notion-block-21ca3987e31180a78ee7c2cdba9e5928">会出现 <b>电源方案GUID</b>，但是这不意味着已经启用了卓越性能，仅仅是获取了该GUID</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-21ca3987e31180268e1bdced40fe82f8" data-id="21ca3987e31180268e1bdced40fe82f8"><span><div id="21ca3987e31180268e1bdced40fe82f8" class="notion-header-anchor"></div><a class="notion-hash-link" href="#21ca3987e31180268e1bdced40fe82f8" title="启用性能模式"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">启用性能模式</span></span></h3><div class="notion-text notion-block-21ca3987e31180e8b3c7fda2e08d063d">继续输入</div><div class="notion-text notion-block-21ca3987e3118056b02efc3e2fa590ba">这样就成功了！</div><figure class="notion-asset-wrapper notion-asset-wrapper-image notion-block-21ca3987e31180279546dd4b506d8352"><div style="position:relative;display:flex;justify-content:center;align-self:center;width:100%;max-width:100%;flex-direction:column"><img src="https://4b5aa40.webp.li/explorer_X8dGh6yCZY.png?spaceId=4ea7cd5f-065e-4eb2-8cd8-35a4032144ca&amp;t=21ca3987-e311-8027-9546-dd4b506d8352" alt="notion image" loading="lazy" decoding="async"/></div></figure></main></div>]]></content:encoded>
        </item>
    </channel>
</rss>