[{"data":1,"prerenderedAt":4808},["ShallowReactive",2],{"navigation":3,"/document/rabbitmq/routing/topic":2685,"/document/rabbitmq/routing/topic-surround":4803},[4],{"title":5,"path":6,"stem":7,"children":8,"page":50},"Document","/document","document",[9,51,118,150,207,263,307,343,363,403,447,479,518,558,585,609,633,665,700,731,762,794,831,863,899,929,964,1000,1036,1075,1145,1233,1265,1296,1327,1355,1432,1472,1504,1544,1581,1613,1645,1742,1828,1901,1959,2101,2155,2194,2263,2317,2391,2462,2502,2560,2622],{"title":10,"path":11,"stem":12,"children":13,"page":50},"Html5","/document/html5","document/01.html5",[14,42],{"title":15,"path":16,"stem":17,"children":18,"icon":41},"指南","/document/html5/guide","document/01.html5/01.guide/01.index",[19,21,25,29,33,37],{"title":20,"path":16,"stem":17},"HTML 入门教程",{"title":22,"path":23,"stem":24},"常用标签详解","/document/html5/guide/tag","document/01.html5/01.guide/02.tag",{"title":26,"path":27,"stem":28},"布局与语义标签","/document/html5/guide/layout","document/01.html5/01.guide/03.layout",{"title":30,"path":31,"stem":32},"表单设计与用户输入","/document/html5/guide/form","document/01.html5/01.guide/04.form",{"title":34,"path":35,"stem":36},"多媒体与 HTML5 新特性","/document/html5/guide/html5","document/01.html5/01.guide/05.html5",{"title":38,"path":39,"stem":40},"Web 标准与 HTML 编写规范","/document/html5/guide/web","document/01.html5/01.guide/06.web","i-lucide-code",{"title":43,"path":44,"stem":45,"children":46,"icon":49},"考核","/document/html5/examine","document/01.html5/02.examine/01.index",[47],{"title":48,"path":44,"stem":45},"接下来对你进行考核","i-lucide-clipboard-check",false,{"title":52,"path":53,"stem":54,"children":55,"page":50},"Css","/document/css","document/02.css",[56,75,100,113],{"title":57,"path":58,"stem":59,"children":60,"icon":50},"启航","/document/css/guide","document/02.css/01.guide/01.index",[61,63,67,71],{"title":62,"path":58,"stem":59},"CSS 基础入门教程",{"title":64,"path":65,"stem":66},"文本与盒子样式详解","/document/css/guide/styles","document/02.css/01.guide/02.styles",{"title":68,"path":69,"stem":70},"选择器与权重机制","/document/css/guide/selected","document/02.css/01.guide/03.selected",{"title":72,"path":73,"stem":74},"盒模型详解","/document/css/guide/box","document/02.css/01.guide/04.box",{"title":76,"icon":50,"path":77,"stem":78,"children":79,"page":50},"布局","/document/css/layout","document/02.css/02.layout",[80,84,88,92,96],{"title":81,"path":82,"stem":83},"网页布局三剑客详解","/document/css/layout/policy","document/02.css/02.layout/01.policy",{"title":85,"path":86,"stem":87},"Position 定位详解","/document/css/layout/position","document/02.css/02.layout/02.position",{"title":89,"path":90,"stem":91},"Flexbox 布局入门指南","/document/css/layout/flex","document/02.css/02.layout/03.flex",{"title":93,"path":94,"stem":95},"Grid 布局入门指南","/document/css/layout/grid","document/02.css/02.layout/04.grid",{"title":97,"path":98,"stem":99},"响应式设计指南","/document/css/layout/relative","document/02.css/02.layout/05.relative",{"title":101,"icon":50,"path":102,"stem":103,"children":104,"page":50},"使用技巧","/document/css/skill","document/02.css/03.skill",[105,109],{"title":106,"path":107,"stem":108},"CSS 动画全解析","/document/css/skill/animation","document/02.css/03.skill/01.animation",{"title":110,"path":111,"stem":112},"CSS 使用技巧全攻略","/document/css/skill/skill","document/02.css/03.skill/02.skill",{"title":43,"path":114,"stem":115,"children":116,"icon":49},"/document/css/examine","document/02.css/04.examine/01.index",[117],{"title":48,"path":114,"stem":115},{"title":119,"path":120,"stem":121,"children":122,"page":50},"Git","/document/git","document/03.git",[123,145],{"title":57,"path":124,"stem":125,"children":126,"icon":50},"/document/git/guide","document/03.git/01.guide/01.index",[127,129,133,137,141],{"title":128,"path":124,"stem":125},"Git 入门指南",{"title":130,"path":131,"stem":132},"Git 安装与初体验","/document/git/guide/install","document/03.git/01.guide/02.install",{"title":134,"path":135,"stem":136},"常用 Git 命令详解","/document/git/guide/command","document/03.git/01.guide/03.command",{"title":138,"path":139,"stem":140},"Git 分支管理全解析","/document/git/guide/branch","document/03.git/01.guide/04.branch",{"title":142,"path":143,"stem":144},"使用 GitHub 轻松托管和管理代码","/document/git/guide/github","document/03.git/01.guide/05.github",{"title":43,"path":146,"stem":147,"children":148,"icon":49},"/document/git/examine","document/03.git/02.examine/01.index",[149],{"title":48,"path":146,"stem":147},{"title":151,"path":152,"stem":153,"children":154,"page":50},"Js Base","/document/js-base","document/04.js-base",[155,185,202],{"title":15,"path":156,"stem":157,"children":158,"icon":41},"/document/js-base/guide","document/04.js-base/01.guide/01.index",[159,161,165,169,173,177,181],{"title":160,"path":156,"stem":157},"JavaScript 基础快速入门",{"title":162,"path":163,"stem":164},"搞懂变量与数据类型","/document/js-base/guide/variable","document/04.js-base/01.guide/02.variable",{"title":166,"path":167,"stem":168},"JavaScript 运算符详解","/document/js-base/guide/operator","document/04.js-base/01.guide/03.operator",{"title":170,"path":171,"stem":172},"条件判断与循环语句","/document/js-base/guide/flow","document/04.js-base/01.guide/04.flow",{"title":174,"path":175,"stem":176},"深入理解 JavaScript 函数","/document/js-base/guide/function","document/04.js-base/01.guide/05.function",{"title":178,"path":179,"stem":180},"对象数组的创建与操作","/document/js-base/guide/object","document/04.js-base/01.guide/06.object",{"title":182,"path":183,"stem":184},"Math 和 Date 用法详解","/document/js-base/guide/math","document/04.js-base/01.guide/07.math",{"title":186,"icon":41,"path":187,"stem":188,"children":189,"page":50},"浏览器","/document/js-base/browser","document/04.js-base/02.browser",[190,194,198],{"title":191,"path":192,"stem":193},"DOM 操作入门与实战","/document/js-base/browser/dom","document/04.js-base/02.browser/01.dom",{"title":195,"path":196,"stem":197},"浏览器 BOM 基础知识","/document/js-base/browser/bom","document/04.js-base/02.browser/02.bom",{"title":199,"path":200,"stem":201},"JavaScript 事件处理机制","/document/js-base/browser/event","document/04.js-base/02.browser/03.event",{"title":43,"path":203,"stem":204,"children":205,"icon":49},"/document/js-base/examine","document/04.js-base/03.examine/01.index",[206],{"title":48,"path":203,"stem":204},{"title":208,"path":209,"stem":210,"children":211,"page":50},"Js Advanced","/document/js-advanced","document/05.js-advanced",[212,231,249],{"title":213,"path":214,"stem":215,"children":216,"icon":41},"JavaScript 原理","/document/js-advanced/guide","document/05.js-advanced/01.guide/01.index",[217,219,223,227],{"title":218,"path":214,"stem":215},"JavaScript 是怎么运行的？",{"title":220,"path":221,"stem":222},"深入理解函数和作用域","/document/js-advanced/guide/function","document/05.js-advanced/01.guide/02.function",{"title":224,"path":225,"stem":226},"深入理解 this 指向","/document/js-advanced/guide/this","document/05.js-advanced/01.guide/03.this",{"title":228,"path":229,"stem":230},"浅拷贝与深拷贝详解","/document/js-advanced/guide/copy","document/05.js-advanced/01.guide/04.copy",{"title":232,"icon":233,"path":234,"stem":235,"children":236,"page":50},"编程范式","i-lucide-shapes","/document/js-advanced/program","document/05.js-advanced/02.program",[237,241,245],{"title":238,"path":239,"stem":240},"面向对象编程（OOP）","/document/js-advanced/program/object","document/05.js-advanced/02.program/01.object",{"title":242,"path":243,"stem":244},"函数式编程入门","/document/js-advanced/program/fp","document/05.js-advanced/02.program/02.fp",{"title":246,"path":247,"stem":248},"防抖和节流详解","/document/js-advanced/program/debounce","document/05.js-advanced/02.program/03.debounce",{"title":250,"icon":251,"path":252,"stem":253,"children":254,"page":50},"浏览器相关特性","i-lucide-monitor","/document/js-advanced/browser","document/05.js-advanced/03.browser",[255,259],{"title":256,"path":257,"stem":258},"浏览器缓存入门指南","/document/js-advanced/browser/cache","document/05.js-advanced/03.browser/01.cache",{"title":260,"path":261,"stem":262},"Web 存储机制深度剖析","/document/js-advanced/browser/storage","document/05.js-advanced/03.browser/02.storage",{"title":264,"path":265,"stem":266,"children":267,"page":50},"Es6","/document/es6","document/06.es6",[268,302],{"title":213,"path":269,"stem":270,"children":271,"icon":41},"/document/es6/guide","document/06.es6/01.guide/01.index",[272,274,278,282,286,290,294,298],{"title":273,"path":269,"stem":270},"ES6 入门指南",{"title":275,"path":276,"stem":277},"变量声明：let 与 const","/document/es6/guide/const","document/06.es6/01.guide/02.const",{"title":279,"path":280,"stem":281},"箭头函数的用法与特点","/document/es6/guide/arrow","document/06.es6/01.guide/03.arrow",{"title":283,"path":284,"stem":285},"字符串、对象与数组的新特性","/document/es6/guide/enhance","document/06.es6/01.guide/04.enhance",{"title":287,"path":288,"stem":289},"Map 和 Set 的使用方式","/document/es6/guide/set","document/06.es6/01.guide/05.set",{"title":291,"path":292,"stem":293},"Promise 实现异步流程控制","/document/es6/guide/promise","document/06.es6/01.guide/06.promise",{"title":295,"path":296,"stem":297},"ESM 模块化语法解析","/document/es6/guide/esm","document/06.es6/01.guide/07.esm",{"title":299,"path":300,"stem":301},"Class 的定义与继承机制","/document/es6/guide/class","document/06.es6/01.guide/08.class",{"title":43,"path":303,"stem":304,"children":305,"icon":49},"/document/es6/examine","document/06.es6/02.examine/01.index",[306],{"title":48,"path":303,"stem":304},{"title":308,"path":309,"stem":310,"children":311,"page":50},"Js Algorithms","/document/js-algorithms","document/07.js-algorithms",[312,338],{"title":15,"path":313,"stem":314,"children":315,"icon":41},"/document/js-algorithms/guide","document/07.js-algorithms/01.guide/01.index",[316,318,322,326,330,334],{"title":317,"path":313,"stem":314},"什么是数据结构和算法？",{"title":319,"path":320,"stem":321},"时间和空间复杂度","/document/js-algorithms/guide/complexity","document/07.js-algorithms/01.guide/02.complexity",{"title":323,"path":324,"stem":325},"数据结构","/document/js-algorithms/guide/structure","document/07.js-algorithms/01.guide/03.structure",{"title":327,"path":328,"stem":329},"算法","/document/js-algorithms/guide/algorithms","document/07.js-algorithms/01.guide/04.algorithms",{"title":331,"path":332,"stem":333},"算法思想","/document/js-algorithms/guide/heuristic","document/07.js-algorithms/01.guide/05.heuristic",{"title":335,"path":336,"stem":337},"深度优先与广度优先搜索","/document/js-algorithms/guide/search","document/07.js-algorithms/01.guide/06.search",{"title":43,"path":339,"stem":340,"children":341,"icon":49},"/document/js-algorithms/examine","document/07.js-algorithms/02.examine/01.index",[342],{"title":48,"path":339,"stem":340},{"title":344,"path":345,"stem":346,"children":347,"page":50},"Automation","/document/automation","document/08.automation",[348,358],{"title":15,"path":349,"stem":350,"children":351,"icon":41},"/document/automation/guide","document/08.automation/01.guide/01.index",[352,354],{"title":353,"path":349,"stem":350},"什么是前端工程化？",{"title":355,"path":356,"stem":357},"开始搭建工程化项目","/document/automation/guide/start","document/08.automation/01.guide/02.start",{"title":43,"path":359,"stem":360,"children":361,"icon":49},"/document/automation/examine","document/08.automation/02.examine/01.index",[362],{"title":48,"path":359,"stem":360},{"title":364,"path":365,"stem":366,"children":367,"page":50},"Webpack","/document/webpack","document/09.webpack",[368,398],{"title":15,"path":369,"stem":370,"children":371,"icon":41},"/document/webpack/guide","document/09.webpack/01.guide/01.index",[372,374,378,382,386,390,394],{"title":373,"path":369,"stem":370},"Webpack 初识",{"title":375,"path":376,"stem":377},"搭建 Webpack 项目","/document/webpack/guide/start","document/09.webpack/01.guide/02.start",{"title":379,"path":380,"stem":381},"Loader 加载器","/document/webpack/guide/loader","document/09.webpack/01.guide/03.loader",{"title":383,"path":384,"stem":385},"Plugin 插件","/document/webpack/guide/plugin","document/09.webpack/01.guide/04.plugin",{"title":387,"path":388,"stem":389},"HMR 热更新与开发模式","/document/webpack/guide/dev","document/09.webpack/01.guide/05.dev",{"title":391,"path":392,"stem":393},"性能优化配置","/document/webpack/guide/optimize","document/09.webpack/01.guide/06.optimize",{"title":395,"path":396,"stem":397},"webpack 生产环境构建全攻略","/document/webpack/guide/production","document/09.webpack/01.guide/07.production",{"title":43,"path":399,"stem":400,"children":401,"icon":49},"/document/webpack/examine","document/09.webpack/02.examine/01.index",[402],{"title":48,"path":399,"stem":400},{"title":404,"path":405,"stem":406,"children":407,"page":50},"Scss","/document/scss","document/10.scss",[408,442],{"title":15,"path":409,"stem":410,"children":411,"icon":41},"/document/scss/guide","document/10.scss/01.guide/01.index",[412,414,418,422,426,430,434,438],{"title":413,"path":409,"stem":410},"什么是 SCSS？",{"title":415,"path":416,"stem":417},"SCSS 入门语法基础","/document/scss/guide/syntax","document/10.scss/01.guide/02.syntax",{"title":419,"path":420,"stem":421},"开始编写 Scss 项目","/document/scss/guide/start","document/10.scss/01.guide/03.start",{"title":423,"path":424,"stem":425},"Scss 模块导入方式","/document/scss/guide/import","document/10.scss/01.guide/04.import",{"title":427,"path":428,"stem":429},"Mixin 与函数详解","/document/scss/guide/mixin","document/10.scss/01.guide/05.mixin",{"title":431,"path":432,"stem":433},"Scss 继承、占位符技巧","/document/scss/guide/extend","document/10.scss/01.guide/06.extend",{"title":435,"path":436,"stem":437},"SCSS 流程控制与逻辑语法","/document/scss/guide/flow","document/10.scss/01.guide/07.flow",{"title":439,"path":440,"stem":441},"SCSS 内置函数","/document/scss/guide/function","document/10.scss/01.guide/08.function",{"title":43,"path":443,"stem":444,"children":445,"icon":49},"/document/scss/examine","document/10.scss/02.examine/01.index",[446],{"title":48,"path":443,"stem":444},{"title":448,"path":449,"stem":450,"children":451,"page":50},"Eslint","/document/eslint","document/11.eslint",[452,474],{"title":15,"path":453,"stem":454,"children":455,"icon":41},"/document/eslint/guide","document/11.eslint/01.guide/01.index",[456,458,462,466,470],{"title":457,"path":453,"stem":454},"ESLint 是什么？",{"title":459,"path":460,"stem":461},"ESLint 安装与运行详解","/document/eslint/guide/install","document/11.eslint/01.guide/02.install",{"title":463,"path":464,"stem":465},"ESLint  规则介绍","/document/eslint/guide/rule","document/11.eslint/01.guide/03.rule",{"title":467,"path":468,"stem":469},"集成 ESLint 到 Webpack","/document/eslint/guide/webpack","document/11.eslint/01.guide/04.webpack",{"title":471,"path":472,"stem":473},"Plugins 和 Extends 使用","/document/eslint/guide/plugins","document/11.eslint/01.guide/05.plugins",{"title":43,"path":475,"stem":476,"children":477,"icon":49},"/document/eslint/examine","document/11.eslint/02.examine/01.index",[478],{"title":48,"path":475,"stem":476},{"title":480,"path":481,"stem":482,"children":483,"page":50},"Axios","/document/axios","document/12.axios",[484,494,513],{"title":15,"path":485,"stem":486,"children":487,"icon":41},"/document/axios/guide","document/12.axios/01.guide/01.index",[488,490],{"title":489,"path":485,"stem":486},"HTTP 协议与网络请求",{"title":491,"path":492,"stem":493},"使用 JavaScript 发起请求","/document/axios/guide/get","document/12.axios/01.guide/02.get",{"title":495,"path":496,"stem":497,"children":498,"icon":41},"axios 插件","/document/axios/axios","document/12.axios/02.axios/01.index",[499,501,505,509],{"title":500,"path":496,"stem":497},"Axios 入门",{"title":502,"path":503,"stem":504},"Axios 请求基础全面讲解","/document/axios/axios/start","document/12.axios/02.axios/02.start",{"title":506,"path":507,"stem":508},"Axios 高级使用技巧","/document/axios/axios/advenced","document/12.axios/02.axios/03.advenced",{"title":510,"path":511,"stem":512},"CORS 跨域解决方案","/document/axios/axios/cors","document/12.axios/02.axios/04.cors",{"title":43,"path":514,"stem":515,"children":516,"icon":49},"/document/axios/examine","document/12.axios/03.examine/01.index",[517],{"title":48,"path":514,"stem":515},{"title":519,"path":520,"stem":521,"children":522,"page":50},"Typescript","/document/typescript","document/13.typescript",[523,553],{"title":15,"path":524,"stem":525,"children":526,"icon":41},"/document/typescript/guide","document/13.typescript/01.guide/01.index",[527,529,533,537,541,545,549],{"title":528,"path":524,"stem":525},"TypeScript 简介与入门",{"title":530,"path":531,"stem":532},"类型系统基础","/document/typescript/guide/base","document/13.typescript/01.guide/02.base",{"title":534,"path":535,"stem":536},"类型组合与类型保护","/document/typescript/guide/compose","document/13.typescript/01.guide/03.compose",{"title":538,"path":539,"stem":540},"类与面向对象编程","/document/typescript/guide/class","document/13.typescript/01.guide/04.class",{"title":542,"path":543,"stem":544},"泛型与类型复用","/document/typescript/guide/generic","document/13.typescript/01.guide/05.generic",{"title":546,"path":547,"stem":548},"项目进阶与配置实战","/document/typescript/guide/config","document/13.typescript/01.guide/06.config",{"title":550,"path":551,"stem":552},"第三方库类型支持与声明","/document/typescript/guide/declare","document/13.typescript/01.guide/07.declare",{"title":43,"path":554,"stem":555,"children":556,"icon":49},"/document/typescript/examine","document/13.typescript/02.examine/01.index",[557],{"title":48,"path":554,"stem":555},{"title":559,"path":560,"stem":561,"children":562,"page":50},"Vue2","/document/vue2","document/14.vue2",[563],{"title":15,"path":564,"stem":565,"children":566,"icon":41},"/document/vue2/guide","document/14.vue2/01.guide/01.index",[567,569,573,577,581],{"title":568,"path":564,"stem":565},"Vue 2 入门与安装",{"title":570,"path":571,"stem":572},"模板语法与指令详解","/document/vue2/guide/directive","document/14.vue2/01.guide/02.directive",{"title":574,"path":575,"stem":576},"组件化开发基础","/document/vue2/guide/component","document/14.vue2/01.guide/03.component",{"title":578,"path":579,"stem":580},"计算属性与监听器","/document/vue2/guide/reactive","document/14.vue2/01.guide/04.reactive",{"title":582,"path":583,"stem":584},"生命周期钩子解析","/document/vue2/guide/hooks","document/14.vue2/01.guide/05.hooks",{"title":586,"path":587,"stem":588,"children":589,"page":50},"Router","/document/router","document/15.router",[590],{"title":591,"path":592,"stem":593,"children":594,"icon":41},"Vue Router 路由","/document/router/guide","document/15.router/01.guide/01.index",[595,597,601,605],{"title":596,"path":592,"stem":593},"Vue Router 入门",{"title":598,"path":599,"stem":600},"路由核心功能详解","/document/router/guide/routing","document/15.router/01.guide/02.routing",{"title":602,"path":603,"stem":604},"路由守卫钩子和元信息","/document/router/guide/hook","document/15.router/01.guide/03.hook",{"title":606,"path":607,"stem":608},"路由优化与懒加载","/document/router/guide/optimize","document/15.router/01.guide/04.optimize",{"title":610,"path":611,"stem":612,"children":613,"page":50},"Vuex","/document/vuex","document/16.vuex",[614],{"title":615,"path":616,"stem":617,"children":618,"icon":41},"Vuex 状态管理器","/document/vuex/guide","document/16.vuex/01.guide/01.index",[619,621,625,629],{"title":620,"path":616,"stem":617},"为什么要使用 Vuex？",{"title":622,"path":623,"stem":624},"快速上手 Vuex","/document/vuex/guide/start","document/16.vuex/01.guide/02.start",{"title":626,"path":627,"stem":628},"深入理解 Vuex 核心功能","/document/vuex/guide/core","document/16.vuex/01.guide/03.core",{"title":630,"path":631,"stem":632},"模块化与进阶用法","/document/vuex/guide/module","document/16.vuex/01.guide/04.module",{"title":634,"path":635,"stem":636,"children":637,"page":50},"Element Ui","/document/element-ui","document/17.element-ui",[638],{"title":639,"path":640,"stem":641,"children":642,"icon":41},"Element UI 组件库","/document/element-ui/guide","document/17.element-ui/01.guide/01.index",[643,645,649,653,657,661],{"title":644,"path":640,"stem":641},"Element UI 初体验",{"title":646,"path":647,"stem":648},"常用组件快速上手","/document/element-ui/guide/quickstart","document/17.element-ui/01.guide/02.quickstart",{"title":650,"path":651,"stem":652},"布局与结构类组件","/document/element-ui/guide/layout","document/17.element-ui/01.guide/03.layout",{"title":654,"path":655,"stem":656},"自定义组件样式","/document/element-ui/guide/style","document/17.element-ui/01.guide/04.style",{"title":658,"path":659,"stem":660},"组件封装与复用","/document/element-ui/guide/component","document/17.element-ui/01.guide/05.component",{"title":662,"path":663,"stem":664},"自定义主题色与深色模式","/document/element-ui/guide/theme","document/17.element-ui/01.guide/06.theme",{"title":666,"path":667,"stem":668,"children":669,"page":50},"Vue3","/document/vue3","document/18.vue3",[670],{"title":666,"path":671,"stem":672,"children":673,"icon":41},"/document/vue3/guide","document/18.vue3/01.guide/01.index",[674,676,680,684,688,692,696],{"title":675,"path":671,"stem":672},"Vue 3 概览与生态升级",{"title":677,"path":678,"stem":679},"组合式 API 入门指南","/document/vue3/guide/composition","document/18.vue3/01.guide/02.composition",{"title":681,"path":682,"stem":683},"组合式 API 逻辑抽离","/document/vue3/guide/composable","document/18.vue3/01.guide/03.composable",{"title":685,"path":686,"stem":687},"模板语法及新特性","/document/vue3/guide/features","document/18.vue3/01.guide/04.features",{"title":689,"path":690,"stem":691},"TypeScript 开发支持","/document/vue3/guide/typescript","document/18.vue3/01.guide/05.typescript",{"title":693,"path":694,"stem":695},"响应式系统原理与进阶 API","/document/vue3/guide/reactive","document/18.vue3/01.guide/06.reactive",{"title":697,"path":698,"stem":699},"Vue Router 4 路由实战","/document/vue3/guide/vue-router","document/18.vue3/01.guide/07.vue-router",{"title":701,"path":702,"stem":703,"children":704,"page":50},"Pinia","/document/pinia","document/19.pinia",[705],{"title":701,"path":706,"stem":707,"children":708,"icon":41},"/document/pinia/guide","document/19.pinia/01.guide/01.index",[709,711,715,719,723,727],{"title":710,"path":706,"stem":707},"Pinia 简介与安装",{"title":712,"path":713,"stem":714},"Store 三大核心","/document/pinia/guide/store","document/19.pinia/01.guide/02.store",{"title":716,"path":717,"stem":718},"在组件中使用 Store","/document/pinia/guide/usage","document/19.pinia/01.guide/03.usage",{"title":720,"path":721,"stem":722},"State 修改与响应式细节","/document/pinia/guide/state","document/19.pinia/01.guide/04.state",{"title":724,"path":725,"stem":726},"Action 与异步操作","/document/pinia/guide/action","document/19.pinia/01.guide/05.action",{"title":728,"path":729,"stem":730},"组合、TypeScript 与插件","/document/pinia/guide/advanced","document/19.pinia/01.guide/06.advanced",{"title":732,"path":733,"stem":734,"children":735,"page":50},"Vite","/document/vite","document/20.vite",[736],{"title":732,"path":737,"stem":738,"children":739,"icon":41},"/document/vite/guide","document/20.vite/01.guide/01.index",[740,742,746,750,754,758],{"title":741,"path":737,"stem":738},"Vite 简介与安装",{"title":743,"path":744,"stem":745},"基础配置","/document/vite/guide/config","document/20.vite/01.guide/02.config",{"title":747,"path":748,"stem":749},"常用插件","/document/vite/guide/plugins","document/20.vite/01.guide/03.plugins",{"title":751,"path":752,"stem":753},"环境变量与模式","/document/vite/guide/env","document/20.vite/01.guide/04.env",{"title":755,"path":756,"stem":757},"依赖预构建","/document/vite/guide/optimize-deps","document/20.vite/01.guide/05.optimize-deps",{"title":759,"path":760,"stem":761},"构建与部署","/document/vite/guide/build-deploy","document/20.vite/01.guide/06.build-deploy",{"title":763,"path":764,"stem":765,"children":766,"page":50},"Nuxt","/document/nuxt","document/21.nuxt",[767],{"title":768,"path":769,"stem":770,"children":771,"icon":41},"Nuxt.js","/document/nuxt/guide","document/21.nuxt/01.guide/01.index",[772,774,778,782,786,790],{"title":773,"path":769,"stem":770},"Nuxt.js 简介与安装",{"title":775,"path":776,"stem":777},"目录约定与自动导入","/document/nuxt/guide/directory-and-auto-imports","document/21.nuxt/01.guide/02.directory-and-auto-imports",{"title":779,"path":780,"stem":781},"文件路由与导航","/document/nuxt/guide/routing","document/21.nuxt/01.guide/03.routing",{"title":783,"path":784,"stem":785},"数据获取","/document/nuxt/guide/data-fetching","document/21.nuxt/01.guide/04.data-fetching",{"title":787,"path":788,"stem":789},"状态管理","/document/nuxt/guide/state-management","document/21.nuxt/01.guide/05.state-management",{"title":791,"path":792,"stem":793},"配置与部署","/document/nuxt/guide/config-and-deploy","document/21.nuxt/01.guide/06.config-and-deploy",{"title":795,"path":796,"stem":797,"children":798,"page":50},"Npm","/document/npm","document/22.npm",[799],{"title":800,"path":801,"stem":802,"children":803,"icon":830},"NPM","/document/npm/guide","document/22.npm/01.guide/01.index",[804,806,810,814,818,822,826],{"title":805,"path":801,"stem":802},"NPM 入门",{"title":807,"path":808,"stem":809},"package.json 详解","/document/npm/guide/package-json","document/22.npm/01.guide/02.package-json",{"title":811,"path":812,"stem":813},"安装命令与版本","/document/npm/guide/install-commands","document/22.npm/01.guide/03.install-commands",{"title":815,"path":816,"stem":817},"scripts 与 npx","/document/npm/guide/scripts-and-npx","document/22.npm/01.guide/04.scripts-and-npx",{"title":819,"path":820,"stem":821},"发布包与镜像源","/document/npm/guide/publish-and-registry","document/22.npm/01.guide/05.publish-and-registry",{"title":823,"path":824,"stem":825},"lock 文件与清理","/document/npm/guide/lock-and-clean","document/22.npm/01.guide/06.lock-and-clean",{"title":827,"path":828,"stem":829},"Yarn 与 pnpm","/document/npm/guide/yarn-and-pnpm","document/22.npm/01.guide/07.yarn-and-pnpm","i-simple-icons-npm",{"title":832,"icon":833,"path":834,"stem":835,"children":836,"page":50},"Handlebars","i-simple-icons-handlebarsdotjs","/document/handlebars","document/23.handlebars",[837],{"title":838,"path":839,"stem":840,"children":841},"Handlebars 简介","/document/handlebars/guide","document/23.handlebars/01.guide/01.index",[842,843,847,851,855,859],{"title":838,"path":839,"stem":840},{"title":844,"path":845,"stem":846},"基本语法","/document/handlebars/guide/syntax","document/23.handlebars/01.guide/02.syntax",{"title":848,"path":849,"stem":850},"内置辅助函数","/document/handlebars/guide/builtins","document/23.handlebars/01.guide/03.builtins",{"title":852,"path":853,"stem":854},"模板复用","/document/handlebars/guide/partials","document/23.handlebars/01.guide/04.partials",{"title":856,"path":857,"stem":858},"自定义 Helpers","/document/handlebars/guide/helpers","document/23.handlebars/01.guide/05.helpers",{"title":860,"path":861,"stem":862},"预编译与运行时","/document/handlebars/guide/runtime","document/23.handlebars/01.guide/06.runtime",{"title":864,"icon":865,"path":866,"stem":867,"children":868,"page":50},"Plop","i-simple-icons-nodedotjs","/document/plop","document/24.plop",[869],{"title":870,"path":871,"stem":872,"children":873},"Plop 简介","/document/plop/guide","document/24.plop/01.guide/01.index",[874,875,879,883,887,891,895],{"title":870,"path":871,"stem":872},{"title":876,"path":877,"stem":878},"第一个生成器","/document/plop/guide/plopfile","document/24.plop/01.guide/02.plopfile",{"title":880,"path":881,"stem":882},"交互式询问","/document/plop/guide/prompts","document/24.plop/01.guide/03.prompts",{"title":884,"path":885,"stem":886},"核心动作","/document/plop/guide/actions","document/24.plop/01.guide/04.actions",{"title":888,"path":889,"stem":890},"模板文件组织","/document/plop/guide/templates","document/24.plop/01.guide/05.templates",{"title":892,"path":893,"stem":894},"Helper 扩展","/document/plop/guide/helpers","document/24.plop/01.guide/06.helpers",{"title":896,"path":897,"stem":898},"组件生成实战","/document/plop/guide/practice","document/24.plop/01.guide/07.practice",{"title":900,"icon":901,"path":902,"stem":903,"children":904,"page":50},"Rollup","i-simple-icons-rollupdotjs","/document/rollup","document/25.rollup",[905],{"title":906,"path":907,"stem":908,"children":909},"Rollup 简介","/document/rollup/guide","document/25.rollup/01.guide/01.index",[910,911,914,918,921,925],{"title":906,"path":907,"stem":908},{"title":743,"path":912,"stem":913},"/document/rollup/guide/config","document/25.rollup/01.guide/02.config",{"title":915,"path":916,"stem":917},"输出格式","/document/rollup/guide/formats","document/25.rollup/01.guide/03.formats",{"title":747,"path":919,"stem":920},"/document/rollup/guide/plugins","document/25.rollup/01.guide/04.plugins",{"title":922,"path":923,"stem":924},"Tree Shaking","/document/rollup/guide/tree-shaking","document/25.rollup/01.guide/05.tree-shaking",{"title":926,"path":927,"stem":928},"打包工具库实战","/document/rollup/guide/library","document/25.rollup/01.guide/06.library",{"title":930,"icon":865,"path":931,"stem":932,"children":933,"page":50},"Snabbdom","/document/snabbdom","document/26.snabbdom",[934],{"title":935,"path":936,"stem":937,"children":938},"Snabbdom 简介","/document/snabbdom/guide","document/26.snabbdom/01.guide/01.index",[939,940,944,948,952,956,960],{"title":935,"path":936,"stem":937},{"title":941,"path":942,"stem":943},"h 函数","/document/snabbdom/guide/h","document/26.snabbdom/01.guide/02.h",{"title":945,"path":946,"stem":947},"模块机制","/document/snabbdom/guide/modules","document/26.snabbdom/01.guide/03.modules",{"title":949,"path":950,"stem":951},"patch 渲染与更新","/document/snabbdom/guide/patch","document/26.snabbdom/01.guide/04.patch",{"title":953,"path":954,"stem":955},"key 的作用","/document/snabbdom/guide/key","document/26.snabbdom/01.guide/05.key",{"title":957,"path":958,"stem":959},"Diff 原理","/document/snabbdom/guide/diff","document/26.snabbdom/01.guide/06.diff",{"title":961,"path":962,"stem":963},"手写迷你虚拟 DOM","/document/snabbdom/guide/practice","document/26.snabbdom/01.guide/07.practice",{"title":965,"icon":966,"path":967,"stem":968,"children":969,"page":50},"Vercel","i-simple-icons-vercel","/document/vercel","document/27.vercel",[970],{"title":971,"path":972,"stem":973,"children":974},"Vercel 简介","/document/vercel/guide","document/27.vercel/01.guide/01.index",[975,976,980,984,988,992,996],{"title":971,"path":972,"stem":973},{"title":977,"path":978,"stem":979},"Vercel CLI","/document/vercel/guide/cli","document/27.vercel/01.guide/02.cli",{"title":981,"path":982,"stem":983},"项目设置与环境变量","/document/vercel/guide/settings","document/27.vercel/01.guide/03.settings",{"title":985,"path":986,"stem":987},"预览部署与回滚","/document/vercel/guide/preview","document/27.vercel/01.guide/04.preview",{"title":989,"path":990,"stem":991},"自定义域名","/document/vercel/guide/domain","document/27.vercel/01.guide/05.domain",{"title":993,"path":994,"stem":995},"vercel.json 配置","/document/vercel/guide/vercel-json","document/27.vercel/01.guide/06.vercel-json",{"title":997,"path":998,"stem":999},"Serverless Functions","/document/vercel/guide/serverless","document/27.vercel/01.guide/07.serverless",{"title":1001,"icon":1002,"path":1003,"stem":1004,"children":1005,"page":50},"ECharts","i-simple-icons-apacheecharts","/document/echarts","document/28.echarts",[1006],{"title":1007,"path":1008,"stem":1009,"children":1010},"ECharts 简介","/document/echarts/guide","document/28.echarts/01.guide/01.index",[1011,1012,1016,1020,1024,1028,1032],{"title":1007,"path":1008,"stem":1009},{"title":1013,"path":1014,"stem":1015},"核心配置项","/document/echarts/guide/option","document/28.echarts/01.guide/02.option",{"title":1017,"path":1018,"stem":1019},"常用图表类型","/document/echarts/guide/charts","document/28.echarts/01.guide/03.charts",{"title":1021,"path":1022,"stem":1023},"样式与主题","/document/echarts/guide/style","document/28.echarts/01.guide/04.style",{"title":1025,"path":1026,"stem":1027},"交互与事件","/document/echarts/guide/interaction","document/28.echarts/01.guide/05.interaction",{"title":1029,"path":1030,"stem":1031},"动态数据","/document/echarts/guide/data","document/28.echarts/01.guide/06.data",{"title":1033,"path":1034,"stem":1035},"Vue3 实战","/document/echarts/guide/vue","document/28.echarts/01.guide/07.vue",{"title":1037,"icon":1038,"path":1039,"stem":1040,"children":1041,"page":50},"D3","i-simple-icons-d3dotjs","/document/d3","document/29.d3",[1042],{"title":1043,"path":1044,"stem":1045,"children":1046},"D3 简介","/document/d3/guide","document/29.d3/01.guide/01.index",[1047,1048,1052,1056,1060,1064,1068,1072],{"title":1043,"path":1044,"stem":1045},{"title":1049,"path":1050,"stem":1051},"选择集与数据绑定","/document/d3/guide/selection","document/29.d3/01.guide/02.selection",{"title":1053,"path":1054,"stem":1055},"比例尺","/document/d3/guide/scale","document/29.d3/01.guide/03.scale",{"title":1057,"path":1058,"stem":1059},"坐标轴","/document/d3/guide/axis","document/29.d3/01.guide/04.axis",{"title":1061,"path":1062,"stem":1063},"图形生成器","/document/d3/guide/shape","document/29.d3/01.guide/05.shape",{"title":1065,"path":1066,"stem":1067},"过渡动画","/document/d3/guide/transition","document/29.d3/01.guide/06.transition",{"title":1069,"path":1070,"stem":1071},"交互与缩放","/document/d3/guide/interaction","document/29.d3/01.guide/07.interaction",{"title":1033,"path":1073,"stem":1074},"/document/d3/guide/vue","document/29.d3/01.guide/08.vue",{"title":1076,"icon":1077,"path":1078,"stem":1079,"children":1080,"page":50},"Three.js","i-simple-icons-threedotjs","/document/threejs","document/30.threejs",[1081,1095,1117,1135],{"title":1082,"path":1083,"stem":1084,"children":1085,"icon":1077},"Three.js 基础入门","/document/threejs/basics","document/30.threejs/01.basics/01.index",[1086,1087,1091],{"title":1082,"path":1083,"stem":1084},{"title":1088,"path":1089,"stem":1090},"物体变换","/document/threejs/basics/transform","document/30.threejs/01.basics/02.transform",{"title":1092,"path":1093,"stem":1094},"相机与视角","/document/threejs/basics/camera-controls","document/30.threejs/01.basics/03.camera-controls",{"title":1096,"icon":1097,"path":1098,"stem":1099,"children":1100,"page":50},"创建和组织三维场景","i-lucide-boxes","/document/threejs/scene","document/30.threejs/02.scene",[1101,1105,1109,1113],{"title":1102,"path":1103,"stem":1104},"Geometry 与 Mesh","/document/threejs/scene/geometry","document/30.threejs/02.scene/04.geometry",{"title":1106,"path":1107,"stem":1108},"材质与灯光","/document/threejs/scene/material-light","document/30.threejs/02.scene/05.material-light",{"title":1110,"path":1111,"stem":1112},"纹理与颜色空间","/document/threejs/scene/texture","document/30.threejs/02.scene/06.texture",{"title":1114,"path":1115,"stem":1116},"场景树与对象管理","/document/threejs/scene/scene-graph","document/30.threejs/02.scene/07.scene-graph",{"title":1118,"icon":1119,"path":1120,"stem":1121,"children":1122,"page":50},"模型、动画与交互","i-lucide-orbit","/document/threejs/model-interaction","document/30.threejs/03.model-interaction",[1123,1127,1131],{"title":1124,"path":1125,"stem":1126},"模型加载","/document/threejs/model-interaction/model-loading","document/30.threejs/03.model-interaction/08.model-loading",{"title":1128,"path":1129,"stem":1130},"动画循环","/document/threejs/model-interaction/animation-loop","document/30.threejs/03.model-interaction/09.animation-loop",{"title":1132,"path":1133,"stem":1134},"射线拾取与交互","/document/threejs/model-interaction/raycast-interaction","document/30.threejs/03.model-interaction/10.raycast-interaction",{"title":1136,"icon":1137,"path":1138,"stem":1139,"children":1140,"page":50},"工程化与性能","i-lucide-gauge","/document/threejs/engineering","document/30.threejs/04.engineering",[1141],{"title":1142,"path":1143,"stem":1144},"渲染器与性能","/document/threejs/engineering/renderer-performance","document/30.threejs/04.engineering/11.renderer-performance",{"title":1146,"icon":865,"path":1147,"stem":1148,"children":1149,"page":50},"Node.js 核心基础","/document/nodejs","document/32.nodejs",[1150,1165,1176,1211,1226],{"title":1151,"path":1152,"stem":1153,"children":1154},"Node.js 入门与运行环境","/document/nodejs/guide","document/32.nodejs/01.guide/01.index",[1155,1157,1161],{"title":1156,"path":1152,"stem":1153},"Node.js 简介与应用场景",{"title":1158,"path":1159,"stem":1160},"环境搭建","/document/nodejs/guide/setup","document/32.nodejs/01.guide/02.setup",{"title":1162,"path":1163,"stem":1164},"程序运行方式","/document/nodejs/guide/running","document/32.nodejs/01.guide/03.running",{"title":1166,"path":1167,"stem":1168,"children":1169},"Node.js 模块系统","/document/nodejs/modules","document/32.nodejs/02.modules/01.index",[1170,1172],{"title":1171,"path":1167,"stem":1168},"ESM 与 CommonJS",{"title":1173,"path":1174,"stem":1175},"模块加载机制","/document/nodejs/modules/loading","document/32.nodejs/02.modules/02.loading",{"title":1177,"path":1178,"stem":1179,"children":1180},"Node.js 核心内置模块","/document/nodejs/core","document/32.nodejs/03.core/01.index",[1181,1183,1187,1191,1195,1199,1203,1207],{"title":1182,"path":1178,"stem":1179},"path 路径处理",{"title":1184,"path":1185,"stem":1186},"fs 文件与目录","/document/nodejs/core/file-system","document/32.nodejs/03.core/02.file-system",{"title":1188,"path":1189,"stem":1190},"fs/promises 异步文件操作","/document/nodejs/core/fs-promises","document/32.nodejs/03.core/03.fs-promises",{"title":1192,"path":1193,"stem":1194},"Buffer 与字符编码","/document/nodejs/core/buffer","document/32.nodejs/03.core/04.buffer",{"title":1196,"path":1197,"stem":1198},"process 进程对象","/document/nodejs/core/process","document/32.nodejs/03.core/05.process",{"title":1200,"path":1201,"stem":1202},"events 事件模块","/document/nodejs/core/events","document/32.nodejs/03.core/06.events",{"title":1204,"path":1205,"stem":1206},"URL 与查询参数","/document/nodejs/core/url-query","document/32.nodejs/03.core/07.url-query",{"title":1208,"path":1209,"stem":1210},"crypto 常用能力","/document/nodejs/core/crypto","document/32.nodejs/03.core/08.crypto",{"title":1212,"path":1213,"stem":1214,"children":1215},"Node.js 异步 I/O 与运行机制","/document/nodejs/async","document/32.nodejs/04.async/01.index",[1216,1218,1222],{"title":1217,"path":1213,"stem":1214},"单线程与非阻塞 I/O",{"title":1219,"path":1220,"stem":1221},"事件循环","/document/nodejs/async/event-loop","document/32.nodejs/04.async/02.event-loop",{"title":1223,"path":1224,"stem":1225},"异步任务调度","/document/nodejs/async/scheduling","document/32.nodejs/04.async/03.scheduling",{"title":1227,"path":1228,"stem":1229,"children":1230},"Node.js Stream 与数据处理","/document/nodejs/streams","document/32.nodejs/05.streams/01.index",[1231],{"title":1232,"path":1228,"stem":1229},"Stream 数据处理",{"title":1234,"icon":1235,"path":1236,"stem":1237,"children":1238,"page":50},"Express","i-simple-icons-express","/document/express","document/33.express",[1239],{"title":1240,"path":1241,"stem":1242,"children":1243},"Express 简介","/document/express/guide","document/33.express/01.guide/01.index",[1244,1245,1249,1253,1257,1261],{"title":1240,"path":1241,"stem":1242},{"title":1246,"path":1247,"stem":1248},"路由","/document/express/guide/routing","document/33.express/01.guide/02.routing",{"title":1250,"path":1251,"stem":1252},"中间件","/document/express/guide/middleware","document/33.express/01.guide/03.middleware",{"title":1254,"path":1255,"stem":1256},"请求与响应","/document/express/guide/request-response","document/33.express/01.guide/04.request-response",{"title":1258,"path":1259,"stem":1260},"错误处理","/document/express/guide/error-handling","document/33.express/01.guide/05.error-handling",{"title":1262,"path":1263,"stem":1264},"RESTful 实战","/document/express/guide/restful-api","document/33.express/01.guide/06.restful-api",{"title":1266,"icon":1267,"path":1268,"stem":1269,"children":1270,"page":50},"Koa","i-simple-icons-koa","/document/koa","document/34.koa",[1271],{"title":1272,"path":1273,"stem":1274,"children":1275},"Koa 简介","/document/koa/guide","document/34.koa/01.guide/01.index",[1276,1277,1281,1285,1288,1292],{"title":1272,"path":1273,"stem":1274},{"title":1278,"path":1279,"stem":1280},"Context 上下文","/document/koa/guide/context","document/34.koa/01.guide/02.context",{"title":1282,"path":1283,"stem":1284},"中间件与洋葱模型","/document/koa/guide/middleware","document/34.koa/01.guide/03.middleware",{"title":1246,"path":1286,"stem":1287},"/document/koa/guide/routing","document/34.koa/01.guide/04.routing",{"title":1289,"path":1290,"stem":1291},"请求体与错误处理","/document/koa/guide/body-and-error","document/34.koa/01.guide/05.body-and-error",{"title":1293,"path":1294,"stem":1295},"RESTful 接口实战","/document/koa/guide/restful-api","document/34.koa/01.guide/06.restful-api",{"title":1297,"icon":1298,"path":1299,"stem":1300,"children":1301,"page":50},"Egg.js","i-lucide-egg","/document/egg","document/35.egg",[1302],{"title":1303,"path":1304,"stem":1305,"children":1306},"Egg.js 简介","/document/egg/guide","document/35.egg/01.guide/01.index",[1307,1308,1312,1316,1320,1324],{"title":1303,"path":1304,"stem":1305},{"title":1309,"path":1310,"stem":1311},"路由与 Controller","/document/egg/guide/router-controller","document/35.egg/01.guide/02.router-controller",{"title":1313,"path":1314,"stem":1315},"Service 业务逻辑","/document/egg/guide/service","document/35.egg/01.guide/03.service",{"title":1317,"path":1318,"stem":1319},"配置与中间件","/document/egg/guide/config-middleware","document/35.egg/01.guide/04.config-middleware",{"title":1321,"path":1322,"stem":1323},"插件与扩展","/document/egg/guide/plugin-extend","document/35.egg/01.guide/05.plugin-extend",{"title":1293,"path":1325,"stem":1326},"/document/egg/guide/restful-api","document/35.egg/01.guide/06.restful-api",{"title":1328,"icon":1329,"path":1330,"stem":1331,"children":1332,"page":50},"Docker","i-simple-icons-docker","/document/docker","document/36.docker",[1333],{"title":1334,"path":1335,"stem":1336,"children":1337},"Docker 简介","/document/docker/guide","document/36.docker/01.guide/01.index",[1338,1339,1343,1347,1351],{"title":1334,"path":1335,"stem":1336},{"title":1340,"path":1341,"stem":1342},"镜像与容器","/document/docker/guide/image-container","document/36.docker/01.guide/02.image-container",{"title":1344,"path":1345,"stem":1346},"数据卷","/document/docker/guide/volume","document/36.docker/01.guide/03.volume",{"title":1348,"path":1349,"stem":1350},"Dockerfile","/document/docker/guide/dockerfile","document/36.docker/01.guide/04.dockerfile",{"title":1352,"path":1353,"stem":1354},"Docker Compose","/document/docker/guide/docker-compose","document/36.docker/01.guide/05.docker-compose",{"title":1356,"icon":1357,"path":1358,"stem":1359,"children":1360,"page":50},"MySQL","i-simple-icons-mysql","/document/mysql","document/37.mysql",[1361,1376,1395,1410,1421],{"title":1362,"path":1363,"stem":1364,"children":1365},"基础入门","/document/mysql/guide","document/37.mysql/01.guide/01.index",[1366,1368,1372],{"title":1367,"path":1363,"stem":1364},"MySQL 入门",{"title":1369,"path":1370,"stem":1371},"建库与增删改","/document/mysql/guide/crud","document/37.mysql/01.guide/02.crud",{"title":1373,"path":1374,"stem":1375},"类型与约束","/document/mysql/guide/data-type","document/37.mysql/01.guide/03.data-type",{"title":1377,"path":1378,"stem":1379,"children":1380},"查询与统计","/document/mysql/query","document/37.mysql/02.query/01.index",[1381,1383,1387,1391],{"title":1382,"path":1378,"stem":1379},"条件查询与分页",{"title":1384,"path":1385,"stem":1386},"分组与统计","/document/mysql/query/aggregate","document/37.mysql/02.query/02.aggregate",{"title":1388,"path":1389,"stem":1390},"多表关联","/document/mysql/query/join","document/37.mysql/02.query/03.join",{"title":1392,"path":1393,"stem":1394},"子查询与分组排名","/document/mysql/query/subqueries","document/37.mysql/02.query/04.subqueries",{"title":1396,"path":1397,"stem":1398,"children":1399},"表设计与事务","/document/mysql/reliability","document/37.mysql/03.reliability/01.index",[1400,1402,1406],{"title":1401,"path":1397,"stem":1398},"关系设计",{"title":1403,"path":1404,"stem":1405},"事务与回滚","/document/mysql/reliability/transactions","document/37.mysql/03.reliability/02.transactions",{"title":1407,"path":1408,"stem":1409},"并发与锁","/document/mysql/reliability/concurrency","document/37.mysql/03.reliability/03.concurrency",{"title":1411,"path":1412,"stem":1413,"children":1414},"索引与性能","/document/mysql/performance","document/37.mysql/04.performance/01.index",[1415,1417],{"title":1416,"path":1412,"stem":1413},"索引设计",{"title":1418,"path":1419,"stem":1420},"执行计划与优化","/document/mysql/performance/explain","document/37.mysql/04.performance/02.explain",{"title":1422,"path":1423,"stem":1424,"children":1425},"项目接入与维护","/document/mysql/engineering","document/37.mysql/05.engineering/01.index",[1426,1428],{"title":1427,"path":1423,"stem":1424},"Node.js 接入",{"title":1429,"path":1430,"stem":1431},"备份与恢复","/document/mysql/engineering/backup","document/37.mysql/05.engineering/02.backup",{"title":1433,"icon":1434,"path":1435,"stem":1436,"children":1437,"page":50},"MongoDB","i-simple-icons-mongodb","/document/mongodb","document/38.mongodb",[1438],{"title":1439,"path":1440,"stem":1441,"children":1442},"MongoDB 简介","/document/mongodb/guide","document/38.mongodb/01.guide/01.index",[1443,1444,1448,1452,1456,1460,1464,1468],{"title":1439,"path":1440,"stem":1441},{"title":1445,"path":1446,"stem":1447},"增删改查","/document/mongodb/guide/crud","document/38.mongodb/01.guide/02.crud",{"title":1449,"path":1450,"stem":1451},"条件查询","/document/mongodb/guide/query","document/38.mongodb/01.guide/03.query",{"title":1453,"path":1454,"stem":1455},"文档与数据类型","/document/mongodb/guide/document","document/38.mongodb/01.guide/04.document",{"title":1457,"path":1458,"stem":1459},"Node.js 操作 MongoDB","/document/mongodb/guide/nodejs","document/38.mongodb/01.guide/05.nodejs",{"title":1461,"path":1462,"stem":1463},"Mongoose","/document/mongodb/guide/mongoose","document/38.mongodb/01.guide/06.mongoose",{"title":1465,"path":1466,"stem":1467},"索引","/document/mongodb/guide/optimize","document/38.mongodb/01.guide/07.optimize",{"title":1469,"path":1470,"stem":1471},"聚合管道","/document/mongodb/guide/aggregate","document/38.mongodb/01.guide/08.aggregate",{"title":1473,"icon":1474,"path":1475,"stem":1476,"children":1477,"page":50},"GraphQL","i-simple-icons-graphql","/document/graphql","document/39.graphql",[1478],{"title":1479,"path":1480,"stem":1481,"children":1482},"GraphQL 简介","/document/graphql/guide","document/39.graphql/01.guide/01.index",[1483,1484,1488,1492,1496,1500],{"title":1479,"path":1480,"stem":1481},{"title":1485,"path":1486,"stem":1487},"类型系统","/document/graphql/guide/schema","document/39.graphql/01.guide/02.schema",{"title":1489,"path":1490,"stem":1491},"查询进阶","/document/graphql/guide/query","document/39.graphql/01.guide/03.query",{"title":1493,"path":1494,"stem":1495},"Mutation 增删改","/document/graphql/guide/mutation","document/39.graphql/01.guide/04.mutation",{"title":1497,"path":1498,"stem":1499},"Express 集成","/document/graphql/guide/express","document/39.graphql/01.guide/05.express",{"title":1501,"path":1502,"stem":1503},"前端调用","/document/graphql/guide/client","document/39.graphql/01.guide/06.client",{"title":1505,"icon":1506,"path":1507,"stem":1508,"children":1509,"page":50},"Vue2 源码","i-simple-icons-vuedotjs","/document/source-vue2","document/40.source-vue2",[1510],{"title":1511,"path":1512,"stem":1513,"children":1514},"Vue2 源码简介","/document/source-vue2/guide","document/40.source-vue2/01.guide/01.index",[1515,1516,1520,1524,1528,1532,1536,1540],{"title":1511,"path":1512,"stem":1513},{"title":1517,"path":1518,"stem":1519},"初始化流程","/document/source-vue2/guide/init","document/40.source-vue2/01.guide/02.init",{"title":1521,"path":1522,"stem":1523},"响应式原理","/document/source-vue2/guide/reactive","document/40.source-vue2/01.guide/03.reactive",{"title":1525,"path":1526,"stem":1527},"Dep 与 Watcher","/document/source-vue2/guide/dep-watcher","document/40.source-vue2/01.guide/04.dep-watcher",{"title":1529,"path":1530,"stem":1531},"异步更新与 nextTick","/document/source-vue2/guide/nexttick","document/40.source-vue2/01.guide/05.nexttick",{"title":1533,"path":1534,"stem":1535},"虚拟 DOM 与 patch","/document/source-vue2/guide/vnode-patch","document/40.source-vue2/01.guide/06.vnode-patch",{"title":1537,"path":1538,"stem":1539},"模板编译","/document/source-vue2/guide/compile","document/40.source-vue2/01.guide/07.compile",{"title":1541,"path":1542,"stem":1543},"computed 与 watch 原理","/document/source-vue2/guide/computed-watch","document/40.source-vue2/01.guide/08.computed-watch",{"title":1545,"icon":1506,"path":1546,"stem":1547,"children":1548,"page":50},"Vue3 源码","/document/source-vue3","document/41.source-vue3",[1549],{"title":1550,"path":1551,"stem":1552,"children":1553},"Vue3 源码简介","/document/source-vue3/guide","document/41.source-vue3/01.guide/01.index",[1554,1555,1559,1563,1567,1571,1575,1578],{"title":1550,"path":1551,"stem":1552},{"title":1556,"path":1557,"stem":1558},"创建与挂载","/document/source-vue3/guide/create-app","document/41.source-vue3/01.guide/02.create-app",{"title":1560,"path":1561,"stem":1562},"Proxy 响应式","/document/source-vue3/guide/reactive","document/41.source-vue3/01.guide/03.reactive",{"title":1564,"path":1565,"stem":1566},"effect 与依赖收集","/document/source-vue3/guide/effect","document/41.source-vue3/01.guide/04.effect",{"title":1568,"path":1569,"stem":1570},"ref 与 computed","/document/source-vue3/guide/ref-computed","document/41.source-vue3/01.guide/05.ref-computed",{"title":1572,"path":1573,"stem":1574},"调度器与 nextTick","/document/source-vue3/guide/scheduler-nexttick","document/41.source-vue3/01.guide/06.scheduler-nexttick",{"title":1533,"path":1576,"stem":1577},"/document/source-vue3/guide/vnode-patch","document/41.source-vue3/01.guide/07.vnode-patch",{"title":1537,"path":1579,"stem":1580},"/document/source-vue3/guide/compile","document/41.source-vue3/01.guide/08.compile",{"title":1582,"icon":1583,"path":1584,"stem":1585,"children":1586,"page":50},"性能优化","i-lucide-zap","/document/performance","document/42.performance",[1587],{"title":1588,"path":1589,"stem":1590,"children":1591},"性能优化简介","/document/performance/guide","document/42.performance/01.guide/01.index",[1592,1593,1597,1601,1605,1609],{"title":1588,"path":1589,"stem":1590},{"title":1594,"path":1595,"stem":1596},"加载优化","/document/performance/guide/loading","document/42.performance/01.guide/02.loading",{"title":1598,"path":1599,"stem":1600},"渲染优化","/document/performance/guide/rendering","document/42.performance/01.guide/03.rendering",{"title":1602,"path":1603,"stem":1604},"缓存策略","/document/performance/guide/cache","document/42.performance/01.guide/04.cache",{"title":1606,"path":1607,"stem":1608},"构建产物优化","/document/performance/guide/build","document/42.performance/01.guide/05.build",{"title":1610,"path":1611,"stem":1612},"性能指标与工具","/document/performance/guide/metrics","document/42.performance/01.guide/06.metrics",{"title":1614,"icon":1615,"path":1616,"stem":1617,"children":1618,"page":50},"前端监控","i-lucide-activity","/document/monitor","document/43.monitor",[1619],{"title":1620,"path":1621,"stem":1622,"children":1623},"前端监控简介","/document/monitor/guide","document/43.monitor/01.guide/01.index",[1624,1625,1629,1633,1637,1641],{"title":1620,"path":1621,"stem":1622},{"title":1626,"path":1627,"stem":1628},"错误采集","/document/monitor/guide/error","document/43.monitor/01.guide/02.error",{"title":1630,"path":1631,"stem":1632},"埋点与上报","/document/monitor/guide/tracking","document/43.monitor/01.guide/03.tracking",{"title":1634,"path":1635,"stem":1636},"性能数据上报","/document/monitor/guide/performance-data","document/43.monitor/01.guide/04.performance-data",{"title":1638,"path":1639,"stem":1640},"Sentry 实践","/document/monitor/guide/sentry","document/43.monitor/01.guide/05.sentry",{"title":1642,"path":1643,"stem":1644},"日志与告警","/document/monitor/guide/logging","document/43.monitor/01.guide/06.logging",{"title":1646,"icon":1647,"path":1648,"stem":1649,"children":1650},"Electron：从入门到桌面应用交付","i-simple-icons-electron","/document/electron","document/44.electron/课程规划",[1651,1667,1685,1703,1720],{"title":1652,"path":1653,"stem":1654,"children":1655,"icon":1666},"基础架构","/document/electron/guide","document/44.electron/01.guide/01.index",[1656,1658,1662],{"title":1657,"path":1653,"stem":1654},"Electron 简介",{"title":1659,"path":1660,"stem":1661},"主进程、渲染进程与 preload","/document/electron/guide/process-model","document/44.electron/01.guide/02.process-model",{"title":1663,"path":1664,"stem":1665},"Electron 与 Vue 集成","/document/electron/guide/vue-integration","document/44.electron/01.guide/03.vue-integration","i-lucide-layers",{"title":1668,"icon":1669,"path":1670,"stem":1671,"children":1672,"page":50},"核心开发","i-lucide-code-2","/document/electron/core","document/44.electron/02.core",[1673,1677,1681],{"title":1674,"path":1675,"stem":1676},"创建窗口与应用生命周期","/document/electron/core/window-lifecycle","document/44.electron/02.core/04.window-lifecycle",{"title":1678,"path":1679,"stem":1680},"IPC 通信与接口设计","/document/electron/core/ipc-design","document/44.electron/02.core/05.ipc-design",{"title":1682,"path":1683,"stem":1684},"本地文件与系统交互","/document/electron/core/filesystem-system","document/44.electron/02.core/06.filesystem-system",{"title":1686,"icon":1687,"path":1688,"stem":1689,"children":1690,"page":50},"桌面能力与安全","i-lucide-monitor-cog","/document/electron/desktop","document/44.electron/03.desktop",[1691,1695,1699],{"title":1692,"path":1693,"stem":1694},"桌面端安全基础","/document/electron/desktop/security","document/44.electron/03.desktop/07.security",{"title":1696,"path":1697,"stem":1698},"菜单、托盘与多窗口","/document/electron/desktop/window-menu-tray","document/44.electron/03.desktop/08.window-menu-tray",{"title":1700,"path":1701,"stem":1702},"会话、网络与本地存储","/document/electron/desktop/session-storage","document/44.electron/03.desktop/09.session-storage",{"title":1704,"icon":1137,"path":1705,"stem":1706,"children":1707,"page":50},"资源、性能与导出","/document/electron/stability","document/44.electron/04.stability",[1708,1712,1716],{"title":1709,"path":1710,"stem":1711},"自定义协议、资源加载与深链接","/document/electron/stability/protocol-loading","document/44.electron/04.stability/10.protocol-loading",{"title":1713,"path":1714,"stem":1715},"耗时任务与性能排查","/document/electron/stability/tasks-performance","document/44.electron/04.stability/11.tasks-performance",{"title":1717,"path":1718,"stem":1719},"PDF 打印与报告导出","/document/electron/stability/pdf-report","document/44.electron/04.stability/12.pdf-report",{"title":1721,"icon":1722,"path":1723,"stem":1724,"children":1725,"page":50},"交付与实战","i-lucide-rocket","/document/electron/delivery","document/44.electron/05.delivery",[1726,1730,1734,1738],{"title":1727,"path":1728,"stem":1729},"应用打包与自动更新","/document/electron/delivery/package-update","document/44.electron/05.delivery/13.package-update",{"title":1731,"path":1732,"stem":1733},"桌面应用签名与公证","/document/electron/delivery/code-signing","document/44.electron/05.delivery/14.code-signing",{"title":1735,"path":1736,"stem":1737},"测试、监控与发布","/document/electron/delivery/test-monitor-release","document/44.electron/05.delivery/15.test-monitor-release",{"title":1739,"path":1740,"stem":1741},"实战：桌面资料管理工具","/document/electron/delivery/project-file-manager","document/44.electron/05.delivery/16.project-file-manager",{"title":1743,"icon":1744,"path":1745,"stem":1746,"children":1747,"page":50},"WebGIS","i-lucide-map","/document/webgis","document/45.webgis",[1748,1755,1768,1782,1800,1814],{"title":1749,"path":1750,"stem":1751,"children":1752,"icon":1744},"WebGIS 基础认知","/document/webgis/guide","document/45.webgis/01.guide/01.index",[1753],{"title":1754,"path":1750,"stem":1751},"WebGIS 全景",{"title":1756,"icon":233,"path":1757,"stem":1758,"children":1759,"page":50},"空间数据基础","/document/webgis/spatial","document/45.webgis/02.spatial",[1760,1764],{"title":1761,"path":1762,"stem":1763},"矢量与栅格","/document/webgis/spatial/vector-and-raster","document/45.webgis/02.spatial/02.vector-and-raster",{"title":1765,"path":1766,"stem":1767},"GeoJSON 与常见格式","/document/webgis/spatial/geojson-and-formats","document/45.webgis/02.spatial/03.geojson-and-formats",{"title":1769,"icon":1770,"path":1771,"stem":1772,"children":1773,"page":50},"坐标与地图投影","i-lucide-compass","/document/webgis/coordinate","document/45.webgis/03.coordinate",[1774,1778],{"title":1775,"path":1776,"stem":1777},"CRS 与地图投影","/document/webgis/coordinate/coordinate-reference-systems","document/45.webgis/03.coordinate/04.coordinate-reference-systems",{"title":1779,"path":1780,"stem":1781},"坐标转换与偏移","/document/webgis/coordinate/coordinate-offset","document/45.webgis/03.coordinate/05.coordinate-offset",{"title":1783,"icon":1784,"path":1785,"stem":1786,"children":1787,"page":50},"瓦片与地图服务","i-lucide-grid-2x2","/document/webgis/tiles","document/45.webgis/04.tiles",[1788,1792,1796],{"title":1789,"path":1790,"stem":1791},"地图瓦片","/document/webgis/tiles/map-tiles","document/45.webgis/04.tiles/06.map-tiles",{"title":1793,"path":1794,"stem":1795},"栅格与矢量瓦片","/document/webgis/tiles/raster-and-vector-tiles","document/45.webgis/04.tiles/07.raster-and-vector-tiles",{"title":1797,"path":1798,"stem":1799},"地图服务与 OGC","/document/webgis/tiles/map-services","document/45.webgis/04.tiles/08.map-services",{"title":1801,"icon":1802,"path":1803,"stem":1804,"children":1805,"page":50},"空间查询与分析","i-lucide-search","/document/webgis/analysis","document/45.webgis/05.analysis",[1806,1810],{"title":1807,"path":1808,"stem":1809},"空间查询与空间关系","/document/webgis/analysis/spatial-relationships","document/45.webgis/05.analysis/09.spatial-relationships",{"title":1811,"path":1812,"stem":1813},"距离、面积与空间分析","/document/webgis/analysis/distance-and-analysis","document/45.webgis/05.analysis/10.distance-and-analysis",{"title":1815,"icon":1816,"path":1817,"stem":1818,"children":1819,"page":50},"GIS 数据工程","i-lucide-database","/document/webgis/engineering","document/45.webgis/06.engineering",[1820,1824],{"title":1821,"path":1822,"stem":1823},"GIS 数据处理与清洗","/document/webgis/engineering/data-cleaning","document/45.webgis/06.engineering/11.data-cleaning",{"title":1825,"path":1826,"stem":1827},"海量数据展示","/document/webgis/engineering/large-data-display","document/45.webgis/06.engineering/12.large-data-display",{"title":1829,"icon":1830,"path":1831,"stem":1832,"children":1833,"page":50},"Mapbox GL JS","i-simple-icons-mapbox","/document/mapbox-gl-js","document/46.mapbox-gl-js",[1834,1849,1875],{"title":1835,"path":1836,"stem":1837,"children":1838,"icon":1744},"地图基础","/document/mapbox-gl-js/start","document/46.mapbox-gl-js/01.start/01.index",[1839,1841,1845],{"title":1840,"path":1836,"stem":1837},"Mapbox GL JS 入门",{"title":1842,"path":1843,"stem":1844},"初始化与视角控制","/document/mapbox-gl-js/start/view-control","document/46.mapbox-gl-js/01.start/02.view-control",{"title":1846,"path":1847,"stem":1848},"地图事件与基础控件","/document/mapbox-gl-js/start/events-controls","document/46.mapbox-gl-js/01.start/03.events-controls",{"title":1850,"icon":1851,"path":1852,"stem":1853,"children":1854,"page":50},"数据与样式","i-lucide-layers-3","/document/mapbox-gl-js/data","document/46.mapbox-gl-js/02.data",[1855,1859,1863,1867,1871],{"title":1856,"path":1857,"stem":1858},"Source 与 Layer","/document/mapbox-gl-js/data/source-layer","document/46.mapbox-gl-js/02.data/04.source-layer",{"title":1860,"path":1861,"stem":1862},"GeoJSON 点线面","/document/mapbox-gl-js/data/geojson-features","document/46.mapbox-gl-js/02.data/05.geojson-features",{"title":1864,"path":1865,"stem":1866},"样式与表达式","/document/mapbox-gl-js/data/style-expressions","document/46.mapbox-gl-js/02.data/06.style-expressions",{"title":1868,"path":1869,"stem":1870},"Marker、Popup 与 Symbol","/document/mapbox-gl-js/data/marker-popup-symbol","document/46.mapbox-gl-js/02.data/07.marker-popup-symbol",{"title":1872,"path":1873,"stem":1874},"加载瓦片服务","/document/mapbox-gl-js/data/tile-services","document/46.mapbox-gl-js/02.data/08.tile-services",{"title":1876,"icon":1877,"path":1878,"stem":1879,"children":1880,"page":50},"业务交互","i-lucide-map-pinned","/document/mapbox-gl-js/business","document/46.mapbox-gl-js/03.business",[1881,1885,1889,1893,1897],{"title":1882,"path":1883,"stem":1884},"查询与高亮","/document/mapbox-gl-js/business/query-highlight","document/46.mapbox-gl-js/03.business/08.query-highlight",{"title":1886,"path":1887,"stem":1888},"筛选与图层管理","/document/mapbox-gl-js/business/filter-layers","document/46.mapbox-gl-js/03.business/09.filter-layers",{"title":1890,"path":1891,"stem":1892},"点聚合","/document/mapbox-gl-js/business/clusters","document/46.mapbox-gl-js/03.business/10.clusters",{"title":1894,"path":1895,"stem":1896},"绘制、编辑与测量","/document/mapbox-gl-js/business/draw-measure","document/46.mapbox-gl-js/03.business/11.draw-measure",{"title":1898,"path":1899,"stem":1900},"接入 Three.js","/document/mapbox-gl-js/business/three-in-mapbox","document/46.mapbox-gl-js/03.business/12.three-in-mapbox",{"title":1902,"icon":1851,"path":1903,"stem":1904,"children":1905,"page":50},"deck.gl","/document/deck-gl","document/47.deck-gl",[1906,1921,1938],{"title":1907,"path":1908,"stem":1909,"children":1910},"deck.gl 基础入门","/document/deck-gl/basics","document/47.deck-gl/01.basics/01.index",[1911,1913,1917],{"title":1912,"path":1908,"stem":1909},"deck.gl 简介",{"title":1914,"path":1915,"stem":1916},"Layer、Data 与 Accessor","/document/deck-gl/basics/layer-data-accessor","document/47.deck-gl/01.basics/02.layer-data-accessor",{"title":1918,"path":1919,"stem":1920},"常用基础图层","/document/deck-gl/basics/common-layers","document/47.deck-gl/01.basics/03.common-layers",{"title":1922,"path":1923,"stem":1924,"children":1925,"page":50},"地图交互与 Mapbox 集成","/document/deck-gl/interaction-mapbox","document/47.deck-gl/02.interaction-mapbox",[1926,1930,1934],{"title":1927,"path":1928,"stem":1929},"拾取与 Tooltip","/document/deck-gl/interaction-mapbox/picking-tooltip","document/47.deck-gl/02.interaction-mapbox/04.picking-tooltip",{"title":1931,"path":1932,"stem":1933},"坐标与单位","/document/deck-gl/interaction-mapbox/coordinates-units","document/47.deck-gl/02.interaction-mapbox/05.coordinates-units",{"title":1935,"path":1936,"stem":1937},"deck.gl 与 Mapbox","/document/deck-gl/interaction-mapbox/mapbox-integration","document/47.deck-gl/02.interaction-mapbox/06.mapbox-integration",{"title":1939,"path":1940,"stem":1941,"children":1942,"page":50},"动态数据与专题可视化","/document/deck-gl/dynamic-thematic","document/47.deck-gl/03.dynamic-thematic",[1943,1947,1951,1955],{"title":1944,"path":1945,"stem":1946},"Layer 更新与动态数据","/document/deck-gl/dynamic-thematic/layer-updates","document/47.deck-gl/03.dynamic-thematic/07.layer-updates",{"title":1948,"path":1949,"stem":1950},"聚合与专题地图","/document/deck-gl/dynamic-thematic/aggregation-thematic","document/47.deck-gl/03.dynamic-thematic/08.aggregation-thematic",{"title":1952,"path":1953,"stem":1954},"时间序列与轨迹动画","/document/deck-gl/dynamic-thematic/trips-animation","document/47.deck-gl/03.dynamic-thematic/09.trips-animation",{"title":1956,"path":1957,"stem":1958},"瓦片与大规模空间数据","/document/deck-gl/dynamic-thematic/tiles-large-data","document/47.deck-gl/03.dynamic-thematic/10.tiles-large-data",{"title":1960,"icon":865,"path":1961,"stem":1962,"children":1963,"page":50},"HTTP 与后端开发基础","/document/nodejs-backend","document/48.nodejs-backend",[1964,1984,2003,2022,2041,2060,2075,2090],{"title":1965,"path":1966,"stem":1967,"children":1968,"icon":1983},"后端开发基础认知","/document/nodejs-backend/guide","document/48.nodejs-backend/01.guide/01.index",[1969,1971,1975,1979],{"title":1970,"path":1966,"stem":1967},"前端与后端的区别",{"title":1972,"path":1973,"stem":1974},"HTTP / HTTPS 核心原理","/document/nodejs-backend/guide/http-https","document/48.nodejs-backend/01.guide/02.http-https",{"title":1976,"path":1977,"stem":1978},"Cookie、Session 与浏览器同源策略","/document/nodejs-backend/guide/cookies-origin","document/48.nodejs-backend/01.guide/03.cookies-origin",{"title":1980,"path":1981,"stem":1982},"从浏览器发起请求到服务端返回数据的完整过程","/document/nodejs-backend/guide/request-lifecycle","document/48.nodejs-backend/01.guide/04.request-lifecycle","i-lucide-book-open",{"title":1985,"path":1986,"stem":1987,"children":1988,"icon":1983},"Node.js HTTP 服务开发","/document/nodejs-backend/http","document/48.nodejs-backend/02.http/01.index",[1989,1991,1995,1999],{"title":1990,"path":1986,"stem":1987},"使用原生 Node.js 创建 HTTP 服务器",{"title":1992,"path":1993,"stem":1994},"HTTP 请求解析","/document/nodejs-backend/http/request","document/48.nodejs-backend/02.http/02.request",{"title":1996,"path":1997,"stem":1998},"HTTP 响应处理","/document/nodejs-backend/http/response","document/48.nodejs-backend/02.http/03.response",{"title":2000,"path":2001,"stem":2002},"路由匹配与请求处理流程","/document/nodejs-backend/http/routing","document/48.nodejs-backend/02.http/04.routing",{"title":2004,"path":2005,"stem":2006,"children":2007,"icon":1983},"RESTful API 接口设计","/document/nodejs-backend/api","document/48.nodejs-backend/03.api/01.index",[2008,2010,2014,2018],{"title":2009,"path":2005,"stem":2006},"RESTful API 设计规范与 HTTP 请求方法",{"title":2011,"path":2012,"stem":2013},"接口参数校验与数据格式规范","/document/nodejs-backend/api/validation","document/48.nodejs-backend/03.api/02.validation",{"title":2015,"path":2016,"stem":2017},"统一响应格式、错误码与异常处理","/document/nodejs-backend/api/errors","document/48.nodejs-backend/03.api/03.errors",{"title":2019,"path":2020,"stem":2021},"API 版本管理、分页、筛选、排序与接口文档","/document/nodejs-backend/api/query-contract","document/48.nodejs-backend/03.api/04.query-contract",{"title":2023,"path":2024,"stem":2025,"children":2026,"icon":1983},"身份认证与权限控制","/document/nodejs-backend/auth","document/48.nodejs-backend/04.auth/01.index",[2027,2029,2033,2037],{"title":2028,"path":2024,"stem":2025},"身份认证与权限授权",{"title":2030,"path":2031,"stem":2032},"Session、JWT 与 Token 认证机制","/document/nodejs-backend/auth/session-jwt","document/48.nodejs-backend/04.auth/02.session-jwt",{"title":2034,"path":2035,"stem":2036},"Access Token、Refresh Token 与登录状态管理","/document/nodejs-backend/auth/token-lifecycle","document/48.nodejs-backend/04.auth/03.token-lifecycle",{"title":2038,"path":2039,"stem":2040},"RBAC 权限模型与接口级权限控制","/document/nodejs-backend/auth/rbac","document/48.nodejs-backend/04.auth/04.rbac",{"title":2042,"path":2043,"stem":2044,"children":2045,"icon":1983},"后端安全与风险防护","/document/nodejs-backend/security","document/48.nodejs-backend/05.security/01.index",[2046,2048,2052,2056],{"title":2047,"path":2043,"stem":2044},"CORS 跨域机制与跨域请求处理",{"title":2049,"path":2050,"stem":2051},"XSS、CSRF、SQL 注入与常见 Web 安全风险","/document/nodejs-backend/security/web-risks","document/48.nodejs-backend/05.security/02.web-risks",{"title":2053,"path":2054,"stem":2055},"密码安全","/document/nodejs-backend/security/passwords","document/48.nodejs-backend/05.security/03.passwords",{"title":2057,"path":2058,"stem":2059},"接口防护","/document/nodejs-backend/security/request-protection","document/48.nodejs-backend/05.security/04.request-protection",{"title":2061,"path":2062,"stem":2063,"children":2064,"icon":1983},"后端工程化与架构设计","/document/nodejs-backend/architecture","document/48.nodejs-backend/06.architecture/01.index",[2065,2067,2071],{"title":2066,"path":2062,"stem":2063},"后端项目目录结构与分层架构设计",{"title":2068,"path":2069,"stem":2070},"Controller、Service、Repository 的职责划分","/document/nodejs-backend/architecture/layers","document/48.nodejs-backend/06.architecture/02.layers",{"title":2072,"path":2073,"stem":2074},"环境变量、配置管理、日志与统一异常处理","/document/nodejs-backend/architecture/configuration-logging","document/48.nodejs-backend/06.architecture/03.configuration-logging",{"title":2076,"path":2077,"stem":2078,"children":2079,"icon":1983},"常见后端业务场景","/document/nodejs-backend/business","document/48.nodejs-backend/07.business/01.index",[2080,2082,2086],{"title":2081,"path":2077,"stem":2078},"文件上传、下载与静态资源访问",{"title":2083,"path":2084,"stem":2085},"邮件、验证码与第三方服务接口集成","/document/nodejs-backend/business/integrations","document/48.nodejs-backend/07.business/02.integrations",{"title":2087,"path":2088,"stem":2089},"WebSocket、SSE 与实时消息通信","/document/nodejs-backend/business/realtime","document/48.nodejs-backend/07.business/03.realtime",{"title":2091,"path":2092,"stem":2093,"children":2094,"icon":1983},"接口测试与部署基础","/document/nodejs-backend/delivery","document/48.nodejs-backend/08.delivery/01.index",[2095,2097],{"title":2096,"path":2092,"stem":2093},"使用 Postman / Apifox 调试接口与 Node.js 接口自动化测试",{"title":2098,"path":2099,"stem":2100},"Node.js 服务部署入门","/document/nodejs-backend/delivery/deployment","document/48.nodejs-backend/08.delivery/02.deployment",{"title":2102,"icon":2103,"path":2104,"stem":2105,"children":2106,"page":50},"Redis","i-simple-icons-redis","/document/redis","document/50.redis",[2107,2122,2137,2148],{"title":2108,"path":2109,"stem":2110,"children":2111},"Redis 基础与数据结构","/document/redis/guide","document/50.redis/01.guide/01.index",[2112,2114,2118],{"title":2113,"path":2109,"stem":2110},"简介与 Node.js 集成",{"title":2115,"path":2116,"stem":2117},"核心数据类型与常用操作","/document/redis/guide/data-types","document/50.redis/01.guide/02.data-types",{"title":2119,"path":2120,"stem":2121},"Key 管理与过期时间","/document/redis/guide/keys-expiration","document/50.redis/01.guide/03.keys-expiration",{"title":2123,"path":2124,"stem":2125,"children":2126},"Redis 核心机制","/document/redis/mechanisms","document/50.redis/02.mechanisms/01.index",[2127,2129,2133],{"title":2128,"path":2124,"stem":2125},"原子操作、事务与 Pipeline",{"title":2130,"path":2131,"stem":2132},"内存管理与淘汰策略","/document/redis/mechanisms/memory-eviction","document/50.redis/02.mechanisms/02.memory-eviction",{"title":2134,"path":2135,"stem":2136},"持久化机制","/document/redis/mechanisms/persistence","document/50.redis/02.mechanisms/03.persistence",{"title":2138,"path":2139,"stem":2140,"children":2141},"Redis 在 Node.js 中的应用","/document/redis/applications","document/50.redis/03.applications/01.index",[2142,2144],{"title":2143,"path":2139,"stem":2140},"实现数据缓存",{"title":2145,"path":2146,"stem":2147},"缓存常见问题与解决方案","/document/redis/applications/cache-protection","document/50.redis/03.applications/02.cache-protection",{"title":2149,"path":2150,"stem":2151,"children":2152},"Redis 生产实践","/document/redis/production","document/50.redis/04.production/01.index",[2153],{"title":2154,"path":2150,"stem":2151},"连接管理、安全与性能排查",{"title":2156,"icon":2157,"path":2158,"stem":2159,"children":2160,"page":50},"BullMQ","i-lucide-list-todo","/document/bullmq","document/51.bullmq",[2161,2172,2187],{"title":2162,"path":2163,"stem":2164,"children":2165},"BullMQ 基础","/document/bullmq/guide","document/51.bullmq/01.guide/01.index",[2166,2168],{"title":2167,"path":2163,"stem":2164},"简介与快速入门",{"title":2169,"path":2170,"stem":2171},"Queue、Worker 与 Job","/document/bullmq/guide/queue-worker-job","document/51.bullmq/01.guide/02.queue-worker-job",{"title":2173,"path":2174,"stem":2175,"children":2176},"任务调度与管理","/document/bullmq/scheduling","document/51.bullmq/02.scheduling/01.index",[2177,2179,2183],{"title":2178,"path":2174,"stem":2175},"延迟任务与定时任务",{"title":2180,"path":2181,"stem":2182},"任务并发与速率限制","/document/bullmq/scheduling/concurrency-rate-limiting","document/51.bullmq/02.scheduling/02.concurrency-rate-limiting",{"title":2184,"path":2185,"stem":2186},"任务状态、进度与事件监听","/document/bullmq/scheduling/status-progress-events","document/51.bullmq/02.scheduling/03.status-progress-events",{"title":2188,"path":2189,"stem":2190,"children":2191},"任务可靠性","/document/bullmq/reliability","document/51.bullmq/03.reliability/01.index",[2192],{"title":2193,"path":2189,"stem":2190},"任务失败重试与异常处理",{"title":2195,"icon":2196,"path":2197,"stem":2198,"children":2199,"page":50},"RabbitMQ","i-simple-icons-rabbitmq","/document/rabbitmq","document/52.rabbitmq",[2200,2218,2233,2252],{"title":1362,"path":2201,"stem":2202,"children":2203},"/document/rabbitmq/guide","document/52.rabbitmq/01.guide/01.index",[2204,2206,2210,2214],{"title":2205,"path":2201,"stem":2202},"RabbitMQ 简介",{"title":2207,"path":2208,"stem":2209},"安装与连接","/document/rabbitmq/guide/environment","document/52.rabbitmq/01.guide/02.environment",{"title":2211,"path":2212,"stem":2213},"发送和接收一条消息","/document/rabbitmq/guide/first-message","document/52.rabbitmq/01.guide/03.first-message",{"title":2215,"path":2216,"stem":2217},"消息正文与属性","/document/rabbitmq/guide/message-format","document/52.rabbitmq/01.guide/04.message-format",{"title":2219,"path":2220,"stem":2221,"children":2222},"交换机与路由","/document/rabbitmq/routing","document/52.rabbitmq/02.routing/01.index",[2223,2225,2229],{"title":2224,"path":2220,"stem":2221},"交换机与发布订阅",{"title":2226,"path":2227,"stem":2228},"Direct 交换机的精确路由","/document/rabbitmq/routing/direct","document/52.rabbitmq/02.routing/02.direct",{"title":2230,"path":2231,"stem":2232},"Topic 交换机的通配符路由","/document/rabbitmq/routing/topic","document/52.rabbitmq/02.routing/03.topic",{"title":2234,"path":2235,"stem":2236,"children":2237},"消息可靠性","/document/rabbitmq/reliability","document/52.rabbitmq/03.reliability/01.index",[2238,2240,2244,2248],{"title":2239,"path":2235,"stem":2236},"消息处理与消费确认",{"title":2241,"path":2242,"stem":2243},"发布确认与消息退回","/document/rabbitmq/reliability/publisher-confirms","document/52.rabbitmq/03.reliability/02.publisher-confirms",{"title":2245,"path":2246,"stem":2247},"队列与消息持久化","/document/rabbitmq/reliability/persistence","document/52.rabbitmq/03.reliability/03.persistence",{"title":2249,"path":2250,"stem":2251},"消费失败与死信处理","/document/rabbitmq/reliability/dead-letter","document/52.rabbitmq/03.reliability/04.dead-letter",{"title":2253,"path":2254,"stem":2255,"children":2256},"消费与运行管理","/document/rabbitmq/management","document/52.rabbitmq/04.management/01.index",[2257,2259],{"title":2258,"path":2254,"stem":2255},"多消费者与预取控制",{"title":2260,"path":2261,"stem":2262},"队列状态与故障排查","/document/rabbitmq/management/monitoring","document/52.rabbitmq/04.management/02.monitoring",{"title":2264,"icon":2265,"path":2266,"stem":2267,"children":2268,"page":50},"Socket.IO","i-simple-icons-socketdotio","/document/socket-io","document/53.socket-io",[2269,2284,2299,2310],{"title":2270,"path":2271,"stem":2272,"children":2273},"认识与消息收发","/document/socket-io/guide","document/53.socket-io/01.guide/01.index",[2274,2276,2280],{"title":2275,"path":2271,"stem":2272},"Socket.IO 简介与环境搭建",{"title":2277,"path":2278,"stem":2279},"事件发送与监听","/document/socket-io/guide/events","document/53.socket-io/01.guide/02.events",{"title":2281,"path":2282,"stem":2283},"消息确认与输入校验","/document/socket-io/guide/acknowledgements","document/53.socket-io/01.guide/03.acknowledgements",{"title":2285,"path":2286,"stem":2287,"children":2288},"广播、房间与认证","/document/socket-io/messaging","document/53.socket-io/02.messaging/01.index",[2289,2291,2295],{"title":2290,"path":2286,"stem":2287},"广播与消息接收范围",{"title":2292,"path":2293,"stem":2294},"房间加入与分组聊天","/document/socket-io/messaging/rooms","document/53.socket-io/02.messaging/02.rooms",{"title":2296,"path":2297,"stem":2298},"身份认证与房间权限","/document/socket-io/messaging/authentication","document/53.socket-io/02.messaging/03.authentication",{"title":2300,"path":2301,"stem":2302,"children":2303},"断线与消息补取","/document/socket-io/reliability","document/53.socket-io/03.reliability/01.index",[2304,2306],{"title":2305,"path":2301,"stem":2302},"断线重连与状态提示",{"title":2307,"path":2308,"stem":2309},"最近消息与断线补取","/document/socket-io/reliability/history","document/53.socket-io/03.reliability/02.history",{"title":2311,"path":2312,"stem":2313,"children":2314},"部署与故障排查","/document/socket-io/production","document/53.socket-io/04.production/01.index",[2315],{"title":2316,"path":2312,"stem":2313},"服务部署与常见故障排查",{"title":2318,"icon":2319,"path":2320,"stem":2321,"children":2322,"page":50},"Nginx","i-simple-icons-nginx","/document/nginx","document/55.nginx",[2323,2342,2361,2376],{"title":2324,"path":2325,"stem":2326,"children":2327},"认识与运行","/document/nginx/guide","document/55.nginx/01.guide/01.index",[2328,2330,2334,2338],{"title":2329,"path":2325,"stem":2326},"Nginx 课程概览",{"title":2331,"path":2332,"stem":2333},"安装与实验环境","/document/nginx/guide/install","document/55.nginx/01.guide/02.install",{"title":2335,"path":2336,"stem":2337},"配置结构","/document/nginx/guide/configuration","document/55.nginx/01.guide/03.configuration",{"title":2339,"path":2340,"stem":2341},"启动与重载","/document/nginx/guide/lifecycle","document/55.nginx/01.guide/04.lifecycle",{"title":2343,"path":2344,"stem":2345,"children":2346},"发布静态网站","/document/nginx/website","document/55.nginx/02.website/01.index",[2347,2349,2353,2357],{"title":2348,"path":2344,"stem":2345},"静态文件与目录",{"title":2350,"path":2351,"stem":2352},"站点与路径匹配","/document/nginx/website/location","document/55.nginx/02.website/02.location",{"title":2354,"path":2355,"stem":2356},"前端路由与回退","/document/nginx/website/spa-routing","document/55.nginx/02.website/03.spa-routing",{"title":2358,"path":2359,"stem":2360},"缓存与压缩","/document/nginx/website/cache-gzip","document/55.nginx/02.website/04.cache-gzip",{"title":2362,"path":2363,"stem":2364,"children":2365},"代理与服务分流","/document/nginx/proxy","document/55.nginx/03.proxy/01.index",[2366,2368,2372],{"title":2367,"path":2363,"stem":2364},"反向代理入门",{"title":2369,"path":2370,"stem":2371},"转发信息与超时","/document/nginx/proxy/forwarded-headers","document/55.nginx/03.proxy/02.forwarded-headers",{"title":2373,"path":2374,"stem":2375},"负载均衡","/document/nginx/proxy/load-balancing","document/55.nginx/03.proxy/03.load-balancing",{"title":2377,"path":2378,"stem":2379,"children":2380},"排错与发布","/document/nginx/operations","document/55.nginx/04.operations/01.index",[2381,2383,2387],{"title":2382,"path":2378,"stem":2379},"日志与故障排查",{"title":2384,"path":2385,"stem":2386},"大小与速率限制","/document/nginx/operations/request-limits","document/55.nginx/04.operations/02.request-limits",{"title":2388,"path":2389,"stem":2390},"HTTPS 与证书","/document/nginx/operations/https","document/55.nginx/04.operations/03.https",{"title":2392,"icon":2393,"path":2394,"stem":2395,"children":2396,"page":50},"Linux 与服务器基础","i-simple-icons-linux","/document/linux","document/56.linux",[2397,2424,2447],{"title":2398,"path":2399,"stem":2400,"children":2401},"Linux 入门与基本操作","/document/linux/guide","document/56.linux/01.guide/01.index",[2402,2404,2408,2412,2416,2420],{"title":2403,"path":2399,"stem":2400},"Linux 课程概览",{"title":2405,"path":2406,"stem":2407},"文件系统与目录","/document/linux/guide/filesystem","document/56.linux/01.guide/02.filesystem",{"title":2409,"path":2410,"stem":2411},"文件查看与 Vim","/document/linux/guide/editing","document/56.linux/01.guide/03.editing",{"title":2413,"path":2414,"stem":2415},"搜索、管道与重定向","/document/linux/guide/search-pipelines","document/56.linux/01.guide/04.search-pipelines",{"title":2417,"path":2418,"stem":2419},"用户、用户组与权限","/document/linux/guide/permissions","document/56.linux/01.guide/05.permissions",{"title":2421,"path":2422,"stem":2423},"SSH 与文件传输","/document/linux/guide/ssh","document/56.linux/01.guide/06.ssh",{"title":2425,"path":2426,"stem":2427,"children":2428},"Linux 服务器管理","/document/linux/server","document/56.linux/02.server/01.index",[2429,2431,2435,2439,2443],{"title":2430,"path":2426,"stem":2427},"软件包与环境变量",{"title":2432,"path":2433,"stem":2434},"进程与后台运行","/document/linux/server/processes","document/56.linux/02.server/02.processes",{"title":2436,"path":2437,"stem":2438},"systemd 服务管理","/document/linux/server/systemd","document/56.linux/02.server/03.systemd",{"title":2440,"path":2441,"stem":2442},"系统资源与磁盘","/document/linux/server/resources","document/56.linux/02.server/05.resources",{"title":2444,"path":2445,"stem":2446},"系统与应用日志","/document/linux/server/logs","document/56.linux/02.server/06.logs",{"title":2448,"path":2449,"stem":2450,"children":2451},"Shell 与服务器实战","/document/linux/practice","document/56.linux/03.practice/01.index",[2452,2454,2458],{"title":2453,"path":2449,"stem":2450},"Bash 脚本入门",{"title":2455,"path":2456,"stem":2457},"cron 定时任务","/document/linux/practice/cron","document/56.linux/03.practice/02.cron",{"title":2459,"path":2460,"stem":2461},"服务器基础安全","/document/linux/practice/security","document/56.linux/03.practice/03.security",{"title":2463,"icon":2464,"path":2465,"stem":2466,"children":2467,"page":50},"BFF 与多服务架构","i-lucide-network","/document/backend-architecture","document/57.backend-architecture",[2468,2483],{"title":2469,"path":2470,"stem":2471,"children":2472},"BFF 基础与实践","/document/backend-architecture/guide","document/57.backend-architecture/01.guide/01.index",[2473,2475,2479],{"title":2474,"path":2470,"stem":2471},"BFF 概览",{"title":2476,"path":2477,"stem":2478},"接口聚合","/document/backend-architecture/guide/aggregation","document/57.backend-architecture/01.guide/02.aggregation",{"title":2480,"path":2481,"stem":2482},"接口适配与职责边界","/document/backend-architecture/guide/adaptation","document/57.backend-architecture/01.guide/03.adaptation",{"title":2484,"path":2485,"stem":2486,"children":2487},"多服务拆分与协作","/document/backend-architecture/services","document/57.backend-architecture/02.services/01.index",[2488,2490,2494,2498],{"title":2489,"path":2485,"stem":2486},"从单体到多服务",{"title":2491,"path":2492,"stem":2493},"HTTP 服务协作","/document/backend-architecture/services/http-collaboration","document/57.backend-architecture/02.services/02.http-collaboration",{"title":2495,"path":2496,"stem":2497},"统一 API 入口","/document/backend-architecture/services/api-entry","document/57.backend-architecture/02.services/03.api-entry",{"title":2499,"path":2500,"stem":2501},"服务调用故障处理","/document/backend-architecture/services/failure-handling","document/57.backend-architecture/02.services/04.failure-handling",{"title":2503,"icon":2464,"path":2504,"stem":2505,"children":2506,"page":50},"微服务架构","/document/microservices","document/58.microservices",[2507,2526,2545],{"title":2508,"path":2509,"stem":2510,"children":2511},"微服务架构与设计","/document/microservices/guide","document/58.microservices/01.guide/01.index",[2512,2514,2518,2522],{"title":2513,"path":2509,"stem":2510},"微服务架构简介",{"title":2515,"path":2516,"stem":2517},"微服务的设计与拆分","/document/microservices/guide/service-design","document/58.microservices/01.guide/02.service-design",{"title":2519,"path":2520,"stem":2521},"项目结构与搭建","/document/microservices/guide/project-setup","document/58.microservices/01.guide/03.project-setup",{"title":2523,"path":2524,"stem":2525},"服务通信与发现","/document/microservices/guide/communication-discovery","document/58.microservices/01.guide/04.communication-discovery",{"title":2527,"path":2528,"stem":2529,"children":2530},"微服务业务开发","/document/microservices/development","document/58.microservices/02.development/01.index",[2531,2533,2537,2541],{"title":2532,"path":2528,"stem":2529},"数据库设计",{"title":2534,"path":2535,"stem":2536},"业务事件","/document/microservices/development/business-events","document/58.microservices/02.development/02.business-events",{"title":2538,"path":2539,"stem":2540},"分布式事务与数据一致性","/document/microservices/development/distributed-transactions","document/58.microservices/02.development/03.distributed-transactions",{"title":2542,"path":2543,"stem":2544},"容错与可靠性","/document/microservices/development/resilience","document/58.microservices/02.development/04.resilience",{"title":2546,"path":2547,"stem":2548,"children":2549},"微服务运行与治理","/document/microservices/operations","document/58.microservices/03.operations/01.index",[2550,2552,2556],{"title":2551,"path":2547,"stem":2548},"安全",{"title":2553,"path":2554,"stem":2555},"可观测性","/document/microservices/operations/observability","document/58.microservices/03.operations/02.observability",{"title":2557,"path":2558,"stem":2559},"部署与扩容","/document/microservices/operations/deployment-scaling","document/58.microservices/03.operations/04.deployment-scaling",{"title":2561,"icon":2562,"path":2563,"stem":2564,"children":2565,"page":50},"Kubernetes 应用部署","i-simple-icons-kubernetes","/document/kubernetes","document/59.kubernetes",[2566,2589],{"title":2567,"path":2568,"stem":2569,"children":2570},"Kubernetes 基础与应用部署","/document/kubernetes/guide","document/59.kubernetes/01.guide/01.index",[2571,2573,2577,2581,2585],{"title":2572,"path":2568,"stem":2569},"Kubernetes 简介",{"title":2574,"path":2575,"stem":2576},"环境搭建与基本操作","/document/kubernetes/guide/setup","document/59.kubernetes/01.guide/02.setup",{"title":2578,"path":2579,"stem":2580},"Pod","/document/kubernetes/guide/pod","document/59.kubernetes/01.guide/03.pod",{"title":2582,"path":2583,"stem":2584},"Deployment","/document/kubernetes/guide/deployment","document/59.kubernetes/01.guide/04.deployment",{"title":2586,"path":2587,"stem":2588},"Service","/document/kubernetes/guide/service","document/59.kubernetes/01.guide/05.service",{"title":2590,"path":2591,"stem":2592,"children":2593,"page":50},"服务配置与运行管理","/document/kubernetes/management","document/59.kubernetes/02.management",[2594,2598,2602,2606,2610,2614,2618],{"title":2595,"path":2596,"stem":2597},"Gateway API","/document/kubernetes/management/gateway-api","document/59.kubernetes/02.management/06.gateway-api",{"title":2599,"path":2600,"stem":2601},"ConfigMap 与 Secret","/document/kubernetes/management/configmap-secret","document/59.kubernetes/02.management/07.configmap-secret",{"title":2603,"path":2604,"stem":2605},"健康检查","/document/kubernetes/management/probes","document/59.kubernetes/02.management/08.probes",{"title":2607,"path":2608,"stem":2609},"资源请求与限制","/document/kubernetes/management/resources","document/59.kubernetes/02.management/09.resources",{"title":2611,"path":2612,"stem":2613},"滚动更新与回滚","/document/kubernetes/management/rolling-update","document/59.kubernetes/02.management/10.rolling-update",{"title":2615,"path":2616,"stem":2617},"扩容与自动伸缩","/document/kubernetes/management/autoscaling","document/59.kubernetes/02.management/11.autoscaling",{"title":2619,"path":2620,"stem":2621},"存储与持久化","/document/kubernetes/management/storage","document/59.kubernetes/02.management/12.storage",{"title":2623,"icon":2624,"path":2625,"stem":2626,"children":2627,"page":50},"LLM 基础","i-lucide-brain","/document/llm","document/60.llm",[2628,2651,2670],{"title":2629,"path":2630,"stem":2631,"children":2632},"大语言模型基础","/document/llm/guide","document/60.llm/01.guide/01.index",[2633,2635,2639,2643,2647],{"title":2634,"path":2630,"stem":2631},"大语言模型简介",{"title":2636,"path":2637,"stem":2638},"大语言模型的工作原理","/document/llm/guide/how-llms-work","document/60.llm/01.guide/02.how-llms-work",{"title":2640,"path":2641,"stem":2642},"Token 与上下文窗口","/document/llm/guide/tokens-and-context-window","document/60.llm/01.guide/03.tokens-and-context-window",{"title":2644,"path":2645,"stem":2646},"模型类型与参数","/document/llm/guide/model-types-and-parameters","document/60.llm/01.guide/04.model-types-and-parameters",{"title":2648,"path":2649,"stem":2650},"Embedding 与语义表示","/document/llm/guide/embeddings","document/60.llm/01.guide/05.embeddings",{"title":2652,"path":2653,"stem":2654,"children":2655},"Prompt Engineering","/document/llm/prompt-engineering","document/60.llm/02.prompt-engineering/01.index",[2656,2658,2662,2666],{"title":2657,"path":2653,"stem":2654},"提示词工程简介",{"title":2659,"path":2660,"stem":2661},"角色设定与指令设计","/document/llm/prompt-engineering/roles-and-instructions","document/60.llm/02.prompt-engineering/02.roles-and-instructions",{"title":2663,"path":2664,"stem":2665},"Few-shot 与示例引导","/document/llm/prompt-engineering/few-shot","document/60.llm/02.prompt-engineering/03.few-shot",{"title":2667,"path":2668,"stem":2669},"结构化输出与复杂任务提示","/document/llm/prompt-engineering/structured-output-and-complex-tasks","document/60.llm/02.prompt-engineering/04.structured-output-and-complex-tasks",{"title":2671,"path":2672,"stem":2673,"children":2674},"上下文工程与实践","/document/llm/context-engineering","document/60.llm/03.context-engineering/01.index",[2675,2677,2681],{"title":2676,"path":2672,"stem":2673},"上下文工程基础",{"title":2678,"path":2679,"stem":2680},"提示词测试与优化","/document/llm/context-engineering/prompt-testing-and-optimization","document/60.llm/03.context-engineering/02.prompt-testing-and-optimization",{"title":2682,"path":2683,"stem":2684},"提示词综合实践","/document/llm/context-engineering/prompt-practice","document/60.llm/03.context-engineering/03.prompt-practice",{"id":2686,"title":2230,"body":2687,"description":4796,"extension":4797,"links":4798,"meta":4799,"navigation":4800,"path":2231,"seo":4801,"stem":2232,"__hash__":4802},"docs/document/52.rabbitmq/02.routing/03.topic.md",{"type":2688,"value":2689,"toc":4779},"minimal",[2690,2695,2708,2711,2715,2727,2730,2798,2804,2807,2846,2853,2906,2922,2924,2928,2934,3001,3004,3008,3021,3033,3036,3041,3054,3057,3147,3176,3178,3182,3195,3204,3208,3575,3590,3596,3612,3615,3618,3624,3952,3962,3974,3977,3979,3983,3986,4201,4204,4405,4419,4422,4434,4446,4452,4460,4465,4471,4477,4483,4486,4488,4492,4501,4510,4515,4521,4526,4529,4531,4535,4550,4553,4559,4562,4565,4743,4749,4767,4770,4772,4775],[2691,2692,2694],"h2",{"id":2693},"引言","🎯 引言",[2696,2697,2698,2699,2703,2704,2707],"p",{},"上一篇用 Direct 交换机精确匹配事件。随着支付事件增多，记账系统如果想接收所有支付事件，就要逐条添加绑定。Topic 交换机允许在绑定中使用通配符，用一条规则接收一组路由键。本篇通过支付消息实验，弄清规则写在哪里、",[2700,2701,2702],"code",{},"*"," 与 ",[2700,2705,2706],{},"#"," 如何匹配，以及最终哪些队列会收到消息。",[2709,2710],"hr",{},[2691,2712,2714],{"id":2713},"消息写具体路由键绑定写接收规则","🧱 消息写具体路由键，绑定写接收规则",[2696,2716,2717,2718,2722,2723,2726],{},"先沿用上一篇的两个概念：",[2719,2720,2721],"strong",{},"路由键","是发送方给消息附带的分发标记；",[2719,2724,2725],{},"绑定键","是队列绑定到交换机时填写的接收条件。Topic 改变的是比较方式：绑定键可以用通配符表达一组符合条件的路由键。",[2696,2728,2729],{},"例如，记账队列希望接收所有支付相关事件，设置绑定：",[2731,2732,2737],"pre",{"className":2733,"code":2734,"language":2735,"meta":2736,"style":2736},"language-js shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","await channel.bindQueue('topic.accounting', 'payment.topic', 'payment.#');\n","js","",[2700,2738,2739],{"__ignoreMap":2736},[2740,2741,2744,2748,2752,2756,2760,2763,2766,2770,2772,2775,2778,2781,2783,2785,2787,2790,2792,2795],"span",{"class":2742,"line":2743},"line",1,[2740,2745,2747],{"class":2746},"s8pZq","await",[2740,2749,2751],{"class":2750},"sndM8"," channel",[2740,2753,2755],{"class":2754},"s86vT",".",[2740,2757,2759],{"class":2758},"swgpB","bindQueue",[2740,2761,2762],{"class":2750},"(",[2740,2764,2765],{"class":2754},"'",[2740,2767,2769],{"class":2768},"sIEYB","topic.accounting",[2740,2771,2765],{"class":2754},[2740,2773,2774],{"class":2754},",",[2740,2776,2777],{"class":2754}," '",[2740,2779,2780],{"class":2768},"payment.topic",[2740,2782,2765],{"class":2754},[2740,2784,2774],{"class":2754},[2740,2786,2777],{"class":2754},[2740,2788,2789],{"class":2768},"payment.#",[2740,2791,2765],{"class":2754},[2740,2793,2794],{"class":2750},")",[2740,2796,2797],{"class":2754},";\n",[2696,2799,2800,2801,2803],{},"三个参数依次是队列名、交换机名、绑定键。",[2700,2802,2789],{}," 写在绑定的接收条件里，这一步没有发送消息。",[2696,2805,2806],{},"发送方发布一条具体的支付成功消息：",[2731,2808,2810],{"className":2733,"code":2809,"language":2735,"meta":2736,"style":2736},"channel.publish('payment.topic', 'payment.success', body);\n",[2700,2811,2812],{"__ignoreMap":2736},[2740,2813,2814,2817,2819,2822,2824,2826,2828,2830,2832,2834,2837,2839,2841,2844],{"class":2742,"line":2743},[2740,2815,2816],{"class":2750},"channel",[2740,2818,2755],{"class":2754},[2740,2820,2821],{"class":2758},"publish",[2740,2823,2762],{"class":2750},[2740,2825,2765],{"class":2754},[2740,2827,2780],{"class":2768},[2740,2829,2765],{"class":2754},[2740,2831,2774],{"class":2754},[2740,2833,2777],{"class":2754},[2740,2835,2836],{"class":2768},"payment.success",[2740,2838,2765],{"class":2754},[2740,2840,2774],{"class":2754},[2740,2842,2843],{"class":2750}," body)",[2740,2845,2797],{"class":2754},[2696,2847,2848,2849,2852],{},"三个参数依次是交换机名、路由键、正文。",[2700,2850,2851],{},"body"," 代表消息的字节数据，后面的完整示例会创建它。",[2854,2855,2856,2872],"table",{},[2857,2858,2859],"thead",{},[2860,2861,2862,2866,2869],"tr",{},[2863,2864,2865],"th",{},"比较对象",[2863,2867,2868],{},"填写位置",[2863,2870,2871],{},"本例的值",[2873,2874,2875,2891],"tbody",{},[2860,2876,2877,2881,2887],{},[2878,2879,2880],"td",{},"队列绑定的接收规则",[2878,2882,2883,2886],{},[2700,2884,2885],{},"bindQueue()"," 第三个参数",[2878,2888,2889],{},[2700,2890,2789],{},[2860,2892,2893,2896,2902],{},[2878,2894,2895],{},"消息携带的具体标记",[2878,2897,2898,2901],{},[2700,2899,2900],{},"publish()"," 第二个参数",[2878,2903,2904],{},[2700,2905,2836],{},[2696,2907,2908,2909,2918,2919,2921],{},"交换机会判断：",[2719,2910,2911,2912,2914,2915,2917],{},"消息的 ",[2700,2913,2836],{}," 是否符合绑定中的 ",[2700,2916,2789],{},"？"," 符合才转发到该队列。通配符用于绑定规则，发送本例事件时填写具体路由键，不用 ",[2700,2920,2789],{}," 代替所有支付事件。",[2709,2923],{},[2691,2925,2927],{"id":2926},"点号分段后星号和井号分别匹配什么","🔎 点号分段后，星号和井号分别匹配什么",[2696,2929,2930,2931,2933],{},"Topic 使用点号 ",[2700,2932,2755],{}," 分隔路由键中的各段。每一段都是一个字符串，不要求是某种内置业务名称：",[2854,2935,2936,2948],{},[2857,2937,2938],{},[2860,2939,2940,2942,2945],{},[2863,2941,2721],{},[2863,2943,2944],{},"分成的各段",[2863,2946,2947],{},"总段数",[2873,2949,2950,2964,2981],{},[2860,2951,2952,2957,2961],{},[2878,2953,2954],{},[2700,2955,2956],{},"payment",[2878,2958,2959],{},[2700,2960,2956],{},[2878,2962,2963],{},"1",[2860,2965,2966,2970,2978],{},[2878,2967,2968],{},[2700,2969,2836],{},[2878,2971,2972,2974,2975],{},[2700,2973,2956],{},"、",[2700,2976,2977],{},"success",[2878,2979,2980],{},"2",[2860,2982,2983,2988,2998],{},[2878,2984,2985],{},[2700,2986,2987],{},"payment.refund.completed",[2878,2989,2990,2974,2992,2974,2995],{},[2700,2991,2956],{},[2700,2993,2994],{},"refund",[2700,2996,2997],{},"completed",[2878,2999,3000],{},"3",[2696,3002,3003],{},"本例约定 payment 表示支付类别。RabbitMQ 只按这些文字匹配，不理解支付或退款的业务含义，也不解析正文来决定去向。",[3005,3006,3007],"h3",{"id":3007},"星号必须对应一段",[2696,3009,3010,3011,3014,3015,3017,3018,3020],{},"绑定键 ",[2700,3012,3013],{},"payment.*"," 可以拆成固定文字 ",[2700,3016,2956],{}," 和通配符 ",[2700,3019,2702],{},"。第一段必须是 payment，后面必须恰好还有一段。",[2696,3022,3023,3024,3026,3027,3029,3030,3032],{},"因此 ",[2700,3025,2836],{}," 能匹配：payment 对应固定文字，success 对应星号。",[2700,3028,2987],{}," 不能匹配：payment 后还有 refund、completed 两段，一个星号放不下。",[2700,3031,2956],{}," 也不能匹配，因为星号不能省略那一段。",[3005,3034,3035],{"id":3035},"井号可以对应零段或多段",[2696,3037,3010,3038,3040],{},[2700,3039,2789],{}," 的第一段同样必须是 payment，但井号允许后面没有其他段，也允许有一段或多段。",[2696,3042,3043,3044,2974,3046,2974,3048,3050,3051,3053],{},"所以 ",[2700,3045,2956],{},[2700,3047,2836],{},[2700,3049,2987],{}," 都能匹配。特别注意 ",[2700,3052,2956],{},"：井号对应零段时，不要求它以点号结尾。",[2696,3055,3056],{},"把两条规则放在一起核对：",[2854,3058,3059,3077],{},[2857,3060,3061],{},[2860,3062,3063,3066,3070,3074],{},[2863,3064,3065],{},"消息路由键",[2863,3067,3010,3068],{},[2700,3069,3013],{},[2863,3071,3010,3072],{},[2700,3073,2789],{},[2863,3075,3076],{},"判断依据",[2873,3078,3079,3094,3107,3120,3133],{},[2860,3080,3081,3085,3088,3091],{},[2878,3082,3083],{},[2700,3084,2956],{},[2878,3086,3087],{},"不匹配",[2878,3089,3090],{},"匹配",[2878,3092,3093],{},"payment 后面是零段",[2860,3095,3096,3100,3102,3104],{},[2878,3097,3098],{},[2700,3099,2836],{},[2878,3101,3090],{},[2878,3103,3090],{},[2878,3105,3106],{},"后面是一段",[2860,3108,3109,3114,3116,3118],{},[2878,3110,3111],{},[2700,3112,3113],{},"payment.refund",[2878,3115,3090],{},[2878,3117,3090],{},[2878,3119,3106],{},[2860,3121,3122,3126,3128,3130],{},[2878,3123,3124],{},[2700,3125,2987],{},[2878,3127,3087],{},[2878,3129,3090],{},[2878,3131,3132],{},"后面是两段",[2860,3134,3135,3140,3142,3144],{},[2878,3136,3137],{},[2700,3138,3139],{},"invoice.success",[2878,3141,3087],{},[2878,3143,3087],{},[2878,3145,3146],{},"固定的第一段不相同",[2696,3148,3149,3150,3153,3154,3157,3158,3160,3161,3163,3164,3167,3168,3175],{},"这里数的是",[2719,3151,3152],{},"点号分隔的段数","，不是字符数。通配符也不只能放在末尾，例如 ",[2700,3155,3156],{},"*.success"," 可以匹配 ",[2700,3159,2836],{}," 和 ",[2700,3162,3139],{},"，但不能匹配 ",[2700,3165,3166],{},"payment.refund.success","。匹配规则可参照 ",[3169,3170,3174],"a",{"href":3171,"rel":3172},"https://www.rabbitmq.com/tutorials/tutorial-five-javascript",[3173],"nofollow","RabbitMQ 官方 Topic 教程","。",[2709,3177],{},[2691,3179,3181],{"id":3180},"建立两条规则并发送测试消息","🛠 建立两条规则并发送测试消息",[2696,3183,3184,3185,3187,3188,3160,3191,3194],{},"沿用",[3169,3186,2207],{"href":2208},"的练习目录、",[2700,3189,3190],{},"amqplib",[2700,3192,3193],{},"config.mjs","。文件和命令都放在该目录下。以下只是路由观察实验，不会更新订单或写入账目。",[2696,3196,3197,3198,3200,3201,3203],{},"为了同时观察两种规则，订单观察队列使用 ",[2700,3199,3013],{},"，记账观察队列使用 ",[2700,3202,2789],{},"。真实服务应按业务需要选择事件，本例的订单程序只打印结果。",[3005,3205,3207],{"id":3206},"创建交换机队列和绑定","创建交换机、队列和绑定",[2731,3209,3212],{"className":2733,"code":3210,"filename":3211,"language":2735,"meta":2736,"style":2736},"import amqp from 'amqplib';\nimport { rabbitmqUrl } from './config.mjs';\n\nconst connection = await amqp.connect(rabbitmqUrl);\nconst channel = await connection.createChannel();\nawait channel.assertExchange('payment.topic', 'topic', { durable: false });\nawait channel.assertQueue('topic.order', { durable: false });\nawait channel.bindQueue('topic.order', 'payment.topic', 'payment.*');\nawait channel.assertQueue('topic.accounting', { durable: false });\nawait channel.bindQueue('topic.accounting', 'payment.topic', 'payment.#');\nconsole.log('topic 规则已建立');\nawait channel.close();\nawait connection.close();\n","setup-topic.mjs",[2700,3213,3214,3233,3259,3266,3295,3320,3370,3407,3446,3481,3520,3544,3560],{"__ignoreMap":2736},[2740,3215,3216,3219,3222,3225,3227,3229,3231],{"class":2742,"line":2743},[2740,3217,3218],{"class":2746},"import",[2740,3220,3221],{"class":2750}," amqp ",[2740,3223,3224],{"class":2746},"from",[2740,3226,2777],{"class":2754},[2740,3228,3190],{"class":2768},[2740,3230,2765],{"class":2754},[2740,3232,2797],{"class":2754},[2740,3234,3236,3238,3241,3244,3247,3250,3252,3255,3257],{"class":2742,"line":3235},2,[2740,3237,3218],{"class":2746},[2740,3239,3240],{"class":2754}," {",[2740,3242,3243],{"class":2750}," rabbitmqUrl",[2740,3245,3246],{"class":2754}," }",[2740,3248,3249],{"class":2746}," from",[2740,3251,2777],{"class":2754},[2740,3253,3254],{"class":2768},"./config.mjs",[2740,3256,2765],{"class":2754},[2740,3258,2797],{"class":2754},[2740,3260,3262],{"class":2742,"line":3261},3,[2740,3263,3265],{"emptyLinePlaceholder":3264},true,"\n",[2740,3267,3269,3273,3276,3279,3282,3285,3287,3290,3293],{"class":2742,"line":3268},4,[2740,3270,3272],{"class":3271},"s50WR","const",[2740,3274,3275],{"class":2750}," connection ",[2740,3277,3278],{"class":2754},"=",[2740,3280,3281],{"class":2746}," await",[2740,3283,3284],{"class":2750}," amqp",[2740,3286,2755],{"class":2754},[2740,3288,3289],{"class":2758},"connect",[2740,3291,3292],{"class":2750},"(rabbitmqUrl)",[2740,3294,2797],{"class":2754},[2740,3296,3298,3300,3303,3305,3307,3310,3312,3315,3318],{"class":2742,"line":3297},5,[2740,3299,3272],{"class":3271},[2740,3301,3302],{"class":2750}," channel ",[2740,3304,3278],{"class":2754},[2740,3306,3281],{"class":2746},[2740,3308,3309],{"class":2750}," connection",[2740,3311,2755],{"class":2754},[2740,3313,3314],{"class":2758},"createChannel",[2740,3316,3317],{"class":2750},"()",[2740,3319,2797],{"class":2754},[2740,3321,3323,3325,3327,3329,3332,3334,3336,3338,3340,3342,3344,3347,3349,3351,3353,3357,3360,3364,3366,3368],{"class":2742,"line":3322},6,[2740,3324,2747],{"class":2746},[2740,3326,2751],{"class":2750},[2740,3328,2755],{"class":2754},[2740,3330,3331],{"class":2758},"assertExchange",[2740,3333,2762],{"class":2750},[2740,3335,2765],{"class":2754},[2740,3337,2780],{"class":2768},[2740,3339,2765],{"class":2754},[2740,3341,2774],{"class":2754},[2740,3343,2777],{"class":2754},[2740,3345,3346],{"class":2768},"topic",[2740,3348,2765],{"class":2754},[2740,3350,2774],{"class":2754},[2740,3352,3240],{"class":2754},[2740,3354,3356],{"class":3355},"sd2Uz"," durable",[2740,3358,3359],{"class":2754},":",[2740,3361,3363],{"class":3362},"sPKOg"," false",[2740,3365,3246],{"class":2754},[2740,3367,2794],{"class":2750},[2740,3369,2797],{"class":2754},[2740,3371,3373,3375,3377,3379,3382,3384,3386,3389,3391,3393,3395,3397,3399,3401,3403,3405],{"class":2742,"line":3372},7,[2740,3374,2747],{"class":2746},[2740,3376,2751],{"class":2750},[2740,3378,2755],{"class":2754},[2740,3380,3381],{"class":2758},"assertQueue",[2740,3383,2762],{"class":2750},[2740,3385,2765],{"class":2754},[2740,3387,3388],{"class":2768},"topic.order",[2740,3390,2765],{"class":2754},[2740,3392,2774],{"class":2754},[2740,3394,3240],{"class":2754},[2740,3396,3356],{"class":3355},[2740,3398,3359],{"class":2754},[2740,3400,3363],{"class":3362},[2740,3402,3246],{"class":2754},[2740,3404,2794],{"class":2750},[2740,3406,2797],{"class":2754},[2740,3408,3410,3412,3414,3416,3418,3420,3422,3424,3426,3428,3430,3432,3434,3436,3438,3440,3442,3444],{"class":2742,"line":3409},8,[2740,3411,2747],{"class":2746},[2740,3413,2751],{"class":2750},[2740,3415,2755],{"class":2754},[2740,3417,2759],{"class":2758},[2740,3419,2762],{"class":2750},[2740,3421,2765],{"class":2754},[2740,3423,3388],{"class":2768},[2740,3425,2765],{"class":2754},[2740,3427,2774],{"class":2754},[2740,3429,2777],{"class":2754},[2740,3431,2780],{"class":2768},[2740,3433,2765],{"class":2754},[2740,3435,2774],{"class":2754},[2740,3437,2777],{"class":2754},[2740,3439,3013],{"class":2768},[2740,3441,2765],{"class":2754},[2740,3443,2794],{"class":2750},[2740,3445,2797],{"class":2754},[2740,3447,3449,3451,3453,3455,3457,3459,3461,3463,3465,3467,3469,3471,3473,3475,3477,3479],{"class":2742,"line":3448},9,[2740,3450,2747],{"class":2746},[2740,3452,2751],{"class":2750},[2740,3454,2755],{"class":2754},[2740,3456,3381],{"class":2758},[2740,3458,2762],{"class":2750},[2740,3460,2765],{"class":2754},[2740,3462,2769],{"class":2768},[2740,3464,2765],{"class":2754},[2740,3466,2774],{"class":2754},[2740,3468,3240],{"class":2754},[2740,3470,3356],{"class":3355},[2740,3472,3359],{"class":2754},[2740,3474,3363],{"class":3362},[2740,3476,3246],{"class":2754},[2740,3478,2794],{"class":2750},[2740,3480,2797],{"class":2754},[2740,3482,3484,3486,3488,3490,3492,3494,3496,3498,3500,3502,3504,3506,3508,3510,3512,3514,3516,3518],{"class":2742,"line":3483},10,[2740,3485,2747],{"class":2746},[2740,3487,2751],{"class":2750},[2740,3489,2755],{"class":2754},[2740,3491,2759],{"class":2758},[2740,3493,2762],{"class":2750},[2740,3495,2765],{"class":2754},[2740,3497,2769],{"class":2768},[2740,3499,2765],{"class":2754},[2740,3501,2774],{"class":2754},[2740,3503,2777],{"class":2754},[2740,3505,2780],{"class":2768},[2740,3507,2765],{"class":2754},[2740,3509,2774],{"class":2754},[2740,3511,2777],{"class":2754},[2740,3513,2789],{"class":2768},[2740,3515,2765],{"class":2754},[2740,3517,2794],{"class":2750},[2740,3519,2797],{"class":2754},[2740,3521,3523,3526,3528,3531,3533,3535,3538,3540,3542],{"class":2742,"line":3522},11,[2740,3524,3525],{"class":2750},"console",[2740,3527,2755],{"class":2754},[2740,3529,3530],{"class":2758},"log",[2740,3532,2762],{"class":2750},[2740,3534,2765],{"class":2754},[2740,3536,3537],{"class":2768},"topic 规则已建立",[2740,3539,2765],{"class":2754},[2740,3541,2794],{"class":2750},[2740,3543,2797],{"class":2754},[2740,3545,3547,3549,3551,3553,3556,3558],{"class":2742,"line":3546},12,[2740,3548,2747],{"class":2746},[2740,3550,2751],{"class":2750},[2740,3552,2755],{"class":2754},[2740,3554,3555],{"class":2758},"close",[2740,3557,3317],{"class":2750},[2740,3559,2797],{"class":2754},[2740,3561,3563,3565,3567,3569,3571,3573],{"class":2742,"line":3562},13,[2740,3564,2747],{"class":2746},[2740,3566,3309],{"class":2750},[2740,3568,2755],{"class":2754},[2740,3570,3555],{"class":2758},[2740,3572,3317],{"class":2750},[2740,3574,2797],{"class":2754},[2696,3576,3577,3580,3581,3583,3584,3586,3587,3589],{},[2700,3578,3579],{},"assertExchange()"," 的第一个参数 ",[2700,3582,2780],{}," 是交换机名称，第二个参数 ",[2700,3585,3346],{}," 才是类型。队列名中的 topic 只是本篇的命名前缀，不参与匹配；真正的接收条件是两次 ",[2700,3588,2885],{}," 的第三个参数。",[2696,3591,3592,3595],{},[2700,3593,3594],{},"durable: false"," 沿用基础篇的非持久化设置，本篇只观察路由。先执行：",[2731,3597,3601],{"className":3598,"code":3599,"language":3600,"meta":2736,"style":2736},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","node setup-topic.mjs\n","bash",[2700,3602,3603],{"__ignoreMap":2736},[2740,3604,3605,3609],{"class":2742,"line":2743},[2740,3606,3608],{"class":3607},"sYGMc","node",[2740,3610,3611],{"class":2768}," setup-topic.mjs\n",[2696,3613,3614],{},"看到“topic 规则已建立”后再发送。队列和绑定必须提前存在，之后新建的绑定不会补收过去发布的消息。",[3005,3616,3617],{"id":3617},"发布五种具体路由键",[2696,3619,3620,3621,3623],{},"用相同正文搭配五个不同路由键，覆盖刚才表格中的边界情况。",[2700,3622,2956],{}," 这条单段标记特意用于验证井号匹配零段，不是要求真实业务也这样命名事件。",[2731,3625,3628],{"className":2733,"code":3626,"filename":3627,"language":2735,"meta":2736,"style":2736},"import amqp from 'amqplib';\nimport { rabbitmqUrl } from './config.mjs';\n\nconst connection = await amqp.connect(rabbitmqUrl);\nconst channel = await connection.createChannel();\n\nconst routingKeys = [\n    'payment',\n    'payment.success',\n    'payment.refund',\n    'payment.refund.completed',\n    'invoice.success',\n];\nconst body = Buffer.from(JSON.stringify({ paymentId: 'P1001' }));\nfor (const routingKey of routingKeys) {\n    channel.publish('payment.topic', routingKey, body);\n    console.log('已发布', routingKey);\n}\nawait channel.close();\nawait connection.close();\n","publish-topic.mjs",[2700,3629,3630,3646,3666,3670,3690,3710,3714,3726,3738,3748,3758,3768,3778,3785,3834,3857,3889,3916,3922,3937],{"__ignoreMap":2736},[2740,3631,3632,3634,3636,3638,3640,3642,3644],{"class":2742,"line":2743},[2740,3633,3218],{"class":2746},[2740,3635,3221],{"class":2750},[2740,3637,3224],{"class":2746},[2740,3639,2777],{"class":2754},[2740,3641,3190],{"class":2768},[2740,3643,2765],{"class":2754},[2740,3645,2797],{"class":2754},[2740,3647,3648,3650,3652,3654,3656,3658,3660,3662,3664],{"class":2742,"line":3235},[2740,3649,3218],{"class":2746},[2740,3651,3240],{"class":2754},[2740,3653,3243],{"class":2750},[2740,3655,3246],{"class":2754},[2740,3657,3249],{"class":2746},[2740,3659,2777],{"class":2754},[2740,3661,3254],{"class":2768},[2740,3663,2765],{"class":2754},[2740,3665,2797],{"class":2754},[2740,3667,3668],{"class":2742,"line":3261},[2740,3669,3265],{"emptyLinePlaceholder":3264},[2740,3671,3672,3674,3676,3678,3680,3682,3684,3686,3688],{"class":2742,"line":3268},[2740,3673,3272],{"class":3271},[2740,3675,3275],{"class":2750},[2740,3677,3278],{"class":2754},[2740,3679,3281],{"class":2746},[2740,3681,3284],{"class":2750},[2740,3683,2755],{"class":2754},[2740,3685,3289],{"class":2758},[2740,3687,3292],{"class":2750},[2740,3689,2797],{"class":2754},[2740,3691,3692,3694,3696,3698,3700,3702,3704,3706,3708],{"class":2742,"line":3297},[2740,3693,3272],{"class":3271},[2740,3695,3302],{"class":2750},[2740,3697,3278],{"class":2754},[2740,3699,3281],{"class":2746},[2740,3701,3309],{"class":2750},[2740,3703,2755],{"class":2754},[2740,3705,3314],{"class":2758},[2740,3707,3317],{"class":2750},[2740,3709,2797],{"class":2754},[2740,3711,3712],{"class":2742,"line":3322},[2740,3713,3265],{"emptyLinePlaceholder":3264},[2740,3715,3716,3718,3721,3723],{"class":2742,"line":3372},[2740,3717,3272],{"class":3271},[2740,3719,3720],{"class":2750}," routingKeys ",[2740,3722,3278],{"class":2754},[2740,3724,3725],{"class":2750}," [\n",[2740,3727,3728,3731,3733,3735],{"class":2742,"line":3409},[2740,3729,3730],{"class":2754},"    '",[2740,3732,2956],{"class":2768},[2740,3734,2765],{"class":2754},[2740,3736,3737],{"class":2754},",\n",[2740,3739,3740,3742,3744,3746],{"class":2742,"line":3448},[2740,3741,3730],{"class":2754},[2740,3743,2836],{"class":2768},[2740,3745,2765],{"class":2754},[2740,3747,3737],{"class":2754},[2740,3749,3750,3752,3754,3756],{"class":2742,"line":3483},[2740,3751,3730],{"class":2754},[2740,3753,3113],{"class":2768},[2740,3755,2765],{"class":2754},[2740,3757,3737],{"class":2754},[2740,3759,3760,3762,3764,3766],{"class":2742,"line":3522},[2740,3761,3730],{"class":2754},[2740,3763,2987],{"class":2768},[2740,3765,2765],{"class":2754},[2740,3767,3737],{"class":2754},[2740,3769,3770,3772,3774,3776],{"class":2742,"line":3546},[2740,3771,3730],{"class":2754},[2740,3773,3139],{"class":2768},[2740,3775,2765],{"class":2754},[2740,3777,3737],{"class":2754},[2740,3779,3780,3783],{"class":2742,"line":3562},[2740,3781,3782],{"class":2750},"]",[2740,3784,2797],{"class":2754},[2740,3786,3788,3790,3793,3795,3798,3800,3802,3805,3807,3810,3812,3815,3818,3820,3822,3825,3827,3829,3832],{"class":2742,"line":3787},14,[2740,3789,3272],{"class":3271},[2740,3791,3792],{"class":2750}," body ",[2740,3794,3278],{"class":2754},[2740,3796,3797],{"class":2750}," Buffer",[2740,3799,2755],{"class":2754},[2740,3801,3224],{"class":2758},[2740,3803,3804],{"class":2750},"(JSON",[2740,3806,2755],{"class":2754},[2740,3808,3809],{"class":2758},"stringify",[2740,3811,2762],{"class":2750},[2740,3813,3814],{"class":2754},"{",[2740,3816,3817],{"class":3355}," paymentId",[2740,3819,3359],{"class":2754},[2740,3821,2777],{"class":2754},[2740,3823,3824],{"class":2768},"P1001",[2740,3826,2765],{"class":2754},[2740,3828,3246],{"class":2754},[2740,3830,3831],{"class":2750},"))",[2740,3833,2797],{"class":2754},[2740,3835,3837,3840,3843,3845,3848,3851,3854],{"class":2742,"line":3836},15,[2740,3838,3839],{"class":2746},"for",[2740,3841,3842],{"class":2750}," (",[2740,3844,3272],{"class":3271},[2740,3846,3847],{"class":2750}," routingKey ",[2740,3849,3850],{"class":2754},"of",[2740,3852,3853],{"class":2750}," routingKeys) ",[2740,3855,3856],{"class":2754},"{\n",[2740,3858,3860,3863,3865,3867,3869,3871,3873,3875,3877,3880,3882,3885,3887],{"class":2742,"line":3859},16,[2740,3861,3862],{"class":2750},"    channel",[2740,3864,2755],{"class":2754},[2740,3866,2821],{"class":2758},[2740,3868,2762],{"class":3355},[2740,3870,2765],{"class":2754},[2740,3872,2780],{"class":2768},[2740,3874,2765],{"class":2754},[2740,3876,2774],{"class":2754},[2740,3878,3879],{"class":2750}," routingKey",[2740,3881,2774],{"class":2754},[2740,3883,3884],{"class":2750}," body",[2740,3886,2794],{"class":3355},[2740,3888,2797],{"class":2754},[2740,3890,3892,3895,3897,3899,3901,3903,3906,3908,3910,3912,3914],{"class":2742,"line":3891},17,[2740,3893,3894],{"class":2750},"    console",[2740,3896,2755],{"class":2754},[2740,3898,3530],{"class":2758},[2740,3900,2762],{"class":3355},[2740,3902,2765],{"class":2754},[2740,3904,3905],{"class":2768},"已发布",[2740,3907,2765],{"class":2754},[2740,3909,2774],{"class":2754},[2740,3911,3879],{"class":2750},[2740,3913,2794],{"class":3355},[2740,3915,2797],{"class":2754},[2740,3917,3919],{"class":2742,"line":3918},18,[2740,3920,3921],{"class":2754},"}\n",[2740,3923,3925,3927,3929,3931,3933,3935],{"class":2742,"line":3924},19,[2740,3926,2747],{"class":2746},[2740,3928,2751],{"class":2750},[2740,3930,2755],{"class":2754},[2740,3932,3555],{"class":2758},[2740,3934,3317],{"class":2750},[2740,3936,2797],{"class":2754},[2740,3938,3940,3942,3944,3946,3948,3950],{"class":2742,"line":3939},20,[2740,3941,2747],{"class":2746},[2740,3943,3309],{"class":2750},[2740,3945,2755],{"class":2754},[2740,3947,3555],{"class":2758},[2740,3949,3317],{"class":2750},[2740,3951,2797],{"class":2754},[2696,3953,3954,3955,3958,3959,3961],{},"循环中的 ",[2700,3956,3957],{},"routingKey"," 每次取列表中的一个具体值，作为 ",[2700,3960,2900],{}," 第二个参数。正文由支付编号对象转成 JSON 文字，再转成字节数据；正文内容不参与本次路由判断。",[2731,3963,3965],{"className":3598,"code":3964,"language":3600,"meta":2736,"style":2736},"node publish-topic.mjs\n",[2700,3966,3967],{"__ignoreMap":2736},[2740,3968,3969,3971],{"class":2742,"line":2743},[2740,3970,3608],{"class":3607},[2740,3972,3973],{"class":2768}," publish-topic.mjs\n",[2696,3975,3976],{},"匹配的消息现在等待在队列里，接下来启动消费者读取。",[2709,3978],{},[2691,3980,3982],{"id":3981},"从两个队列核对分发结果","📥 从两个队列核对分发结果",[2696,3984,3985],{},"订单观察程序：",[2731,3987,3990],{"className":2733,"code":3988,"filename":3989,"language":2735,"meta":2736,"style":2736},"import amqp from 'amqplib';\nimport { rabbitmqUrl } from './config.mjs';\n\nconst connection = await amqp.connect(rabbitmqUrl);\nconst channel = await connection.createChannel();\n\nawait channel.consume('topic.order', (message) => {\n    if (message === null) return;\n    console.log(message.fields.routingKey);\n}, { noAck: true });\nconsole.log('order 等待消息');\n","order-topic.mjs",[2700,3991,3992,4008,4028,4032,4052,4072,4076,4111,4134,4159,4180],{"__ignoreMap":2736},[2740,3993,3994,3996,3998,4000,4002,4004,4006],{"class":2742,"line":2743},[2740,3995,3218],{"class":2746},[2740,3997,3221],{"class":2750},[2740,3999,3224],{"class":2746},[2740,4001,2777],{"class":2754},[2740,4003,3190],{"class":2768},[2740,4005,2765],{"class":2754},[2740,4007,2797],{"class":2754},[2740,4009,4010,4012,4014,4016,4018,4020,4022,4024,4026],{"class":2742,"line":3235},[2740,4011,3218],{"class":2746},[2740,4013,3240],{"class":2754},[2740,4015,3243],{"class":2750},[2740,4017,3246],{"class":2754},[2740,4019,3249],{"class":2746},[2740,4021,2777],{"class":2754},[2740,4023,3254],{"class":2768},[2740,4025,2765],{"class":2754},[2740,4027,2797],{"class":2754},[2740,4029,4030],{"class":2742,"line":3261},[2740,4031,3265],{"emptyLinePlaceholder":3264},[2740,4033,4034,4036,4038,4040,4042,4044,4046,4048,4050],{"class":2742,"line":3268},[2740,4035,3272],{"class":3271},[2740,4037,3275],{"class":2750},[2740,4039,3278],{"class":2754},[2740,4041,3281],{"class":2746},[2740,4043,3284],{"class":2750},[2740,4045,2755],{"class":2754},[2740,4047,3289],{"class":2758},[2740,4049,3292],{"class":2750},[2740,4051,2797],{"class":2754},[2740,4053,4054,4056,4058,4060,4062,4064,4066,4068,4070],{"class":2742,"line":3297},[2740,4055,3272],{"class":3271},[2740,4057,3302],{"class":2750},[2740,4059,3278],{"class":2754},[2740,4061,3281],{"class":2746},[2740,4063,3309],{"class":2750},[2740,4065,2755],{"class":2754},[2740,4067,3314],{"class":2758},[2740,4069,3317],{"class":2750},[2740,4071,2797],{"class":2754},[2740,4073,4074],{"class":2742,"line":3322},[2740,4075,3265],{"emptyLinePlaceholder":3264},[2740,4077,4078,4080,4082,4084,4087,4089,4091,4093,4095,4097,4099,4103,4105,4108],{"class":2742,"line":3372},[2740,4079,2747],{"class":2746},[2740,4081,2751],{"class":2750},[2740,4083,2755],{"class":2754},[2740,4085,4086],{"class":2758},"consume",[2740,4088,2762],{"class":2750},[2740,4090,2765],{"class":2754},[2740,4092,3388],{"class":2768},[2740,4094,2765],{"class":2754},[2740,4096,2774],{"class":2754},[2740,4098,3842],{"class":2754},[2740,4100,4102],{"class":4101},"sK9QF","message",[2740,4104,2794],{"class":2754},[2740,4106,4107],{"class":3271}," =>",[2740,4109,4110],{"class":2754}," {\n",[2740,4112,4113,4116,4118,4120,4123,4126,4129,4132],{"class":2742,"line":3409},[2740,4114,4115],{"class":2746},"    if",[2740,4117,3842],{"class":3355},[2740,4119,4102],{"class":2750},[2740,4121,4122],{"class":2754}," ===",[2740,4124,4125],{"class":2754}," null",[2740,4127,4128],{"class":3355},") ",[2740,4130,4131],{"class":2746},"return",[2740,4133,2797],{"class":2754},[2740,4135,4136,4138,4140,4142,4144,4146,4148,4151,4153,4155,4157],{"class":2742,"line":3448},[2740,4137,3894],{"class":2750},[2740,4139,2755],{"class":2754},[2740,4141,3530],{"class":2758},[2740,4143,2762],{"class":3355},[2740,4145,4102],{"class":2750},[2740,4147,2755],{"class":2754},[2740,4149,4150],{"class":2750},"fields",[2740,4152,2755],{"class":2754},[2740,4154,3957],{"class":2750},[2740,4156,2794],{"class":3355},[2740,4158,2797],{"class":2754},[2740,4160,4161,4164,4166,4169,4171,4174,4176,4178],{"class":2742,"line":3483},[2740,4162,4163],{"class":2754},"},",[2740,4165,3240],{"class":2754},[2740,4167,4168],{"class":3355}," noAck",[2740,4170,3359],{"class":2754},[2740,4172,4173],{"class":3362}," true",[2740,4175,3246],{"class":2754},[2740,4177,2794],{"class":2750},[2740,4179,2797],{"class":2754},[2740,4181,4182,4184,4186,4188,4190,4192,4195,4197,4199],{"class":2742,"line":3522},[2740,4183,3525],{"class":2750},[2740,4185,2755],{"class":2754},[2740,4187,3530],{"class":2758},[2740,4189,2762],{"class":2750},[2740,4191,2765],{"class":2754},[2740,4193,4194],{"class":2768},"order 等待消息",[2740,4196,2765],{"class":2754},[2740,4198,2794],{"class":2750},[2740,4200,2797],{"class":2754},[2696,4202,4203],{},"记账观察程序：",[2731,4205,4208],{"className":2733,"code":4206,"filename":4207,"language":2735,"meta":2736,"style":2736},"import amqp from 'amqplib';\nimport { rabbitmqUrl } from './config.mjs';\n\nconst connection = await amqp.connect(rabbitmqUrl);\nconst channel = await connection.createChannel();\n\nawait channel.consume('topic.accounting', (message) => {\n    if (message === null) return;\n    console.log(message.fields.routingKey);\n}, { noAck: true });\nconsole.log('accounting 等待消息');\n","accounting-topic.mjs",[2700,4209,4210,4226,4246,4250,4270,4290,4294,4324,4342,4366,4384],{"__ignoreMap":2736},[2740,4211,4212,4214,4216,4218,4220,4222,4224],{"class":2742,"line":2743},[2740,4213,3218],{"class":2746},[2740,4215,3221],{"class":2750},[2740,4217,3224],{"class":2746},[2740,4219,2777],{"class":2754},[2740,4221,3190],{"class":2768},[2740,4223,2765],{"class":2754},[2740,4225,2797],{"class":2754},[2740,4227,4228,4230,4232,4234,4236,4238,4240,4242,4244],{"class":2742,"line":3235},[2740,4229,3218],{"class":2746},[2740,4231,3240],{"class":2754},[2740,4233,3243],{"class":2750},[2740,4235,3246],{"class":2754},[2740,4237,3249],{"class":2746},[2740,4239,2777],{"class":2754},[2740,4241,3254],{"class":2768},[2740,4243,2765],{"class":2754},[2740,4245,2797],{"class":2754},[2740,4247,4248],{"class":2742,"line":3261},[2740,4249,3265],{"emptyLinePlaceholder":3264},[2740,4251,4252,4254,4256,4258,4260,4262,4264,4266,4268],{"class":2742,"line":3268},[2740,4253,3272],{"class":3271},[2740,4255,3275],{"class":2750},[2740,4257,3278],{"class":2754},[2740,4259,3281],{"class":2746},[2740,4261,3284],{"class":2750},[2740,4263,2755],{"class":2754},[2740,4265,3289],{"class":2758},[2740,4267,3292],{"class":2750},[2740,4269,2797],{"class":2754},[2740,4271,4272,4274,4276,4278,4280,4282,4284,4286,4288],{"class":2742,"line":3297},[2740,4273,3272],{"class":3271},[2740,4275,3302],{"class":2750},[2740,4277,3278],{"class":2754},[2740,4279,3281],{"class":2746},[2740,4281,3309],{"class":2750},[2740,4283,2755],{"class":2754},[2740,4285,3314],{"class":2758},[2740,4287,3317],{"class":2750},[2740,4289,2797],{"class":2754},[2740,4291,4292],{"class":2742,"line":3322},[2740,4293,3265],{"emptyLinePlaceholder":3264},[2740,4295,4296,4298,4300,4302,4304,4306,4308,4310,4312,4314,4316,4318,4320,4322],{"class":2742,"line":3372},[2740,4297,2747],{"class":2746},[2740,4299,2751],{"class":2750},[2740,4301,2755],{"class":2754},[2740,4303,4086],{"class":2758},[2740,4305,2762],{"class":2750},[2740,4307,2765],{"class":2754},[2740,4309,2769],{"class":2768},[2740,4311,2765],{"class":2754},[2740,4313,2774],{"class":2754},[2740,4315,3842],{"class":2754},[2740,4317,4102],{"class":4101},[2740,4319,2794],{"class":2754},[2740,4321,4107],{"class":3271},[2740,4323,4110],{"class":2754},[2740,4325,4326,4328,4330,4332,4334,4336,4338,4340],{"class":2742,"line":3409},[2740,4327,4115],{"class":2746},[2740,4329,3842],{"class":3355},[2740,4331,4102],{"class":2750},[2740,4333,4122],{"class":2754},[2740,4335,4125],{"class":2754},[2740,4337,4128],{"class":3355},[2740,4339,4131],{"class":2746},[2740,4341,2797],{"class":2754},[2740,4343,4344,4346,4348,4350,4352,4354,4356,4358,4360,4362,4364],{"class":2742,"line":3448},[2740,4345,3894],{"class":2750},[2740,4347,2755],{"class":2754},[2740,4349,3530],{"class":2758},[2740,4351,2762],{"class":3355},[2740,4353,4102],{"class":2750},[2740,4355,2755],{"class":2754},[2740,4357,4150],{"class":2750},[2740,4359,2755],{"class":2754},[2740,4361,3957],{"class":2750},[2740,4363,2794],{"class":3355},[2740,4365,2797],{"class":2754},[2740,4367,4368,4370,4372,4374,4376,4378,4380,4382],{"class":2742,"line":3483},[2740,4369,4163],{"class":2754},[2740,4371,3240],{"class":2754},[2740,4373,4168],{"class":3355},[2740,4375,3359],{"class":2754},[2740,4377,4173],{"class":3362},[2740,4379,3246],{"class":2754},[2740,4381,2794],{"class":2750},[2740,4383,2797],{"class":2754},[2740,4385,4386,4388,4390,4392,4394,4396,4399,4401,4403],{"class":2742,"line":3522},[2740,4387,3525],{"class":2750},[2740,4389,2755],{"class":2754},[2740,4391,3530],{"class":2758},[2740,4393,2762],{"class":2750},[2740,4395,2765],{"class":2754},[2740,4397,4398],{"class":2768},"accounting 等待消息",[2740,4400,2765],{"class":2754},[2740,4402,2794],{"class":2750},[2740,4404,2797],{"class":2754},[2696,4406,4407,4410,4411,4414,4415,4418],{},[2700,4408,4409],{},"consume()"," 指定从哪个队列读取，回调打印消息实际携带的 ",[2700,4412,4413],{},"message.fields.routingKey","。规则在交换机转发时已经应用，消费者无需再次匹配。",[2700,4416,4417],{},"noAck: true"," 简化本篇接收演示，业务处理完成后再确认的方式在后续章节介绍。",[2696,4420,4421],{},"分别在两个终端启动：",[2731,4423,4425],{"className":3598,"code":4424,"language":3600,"meta":2736,"style":2736},"node order-topic.mjs\n",[2700,4426,4427],{"__ignoreMap":2736},[2740,4428,4429,4431],{"class":2742,"line":2743},[2740,4430,3608],{"class":3607},[2740,4432,4433],{"class":2768}," order-topic.mjs\n",[2731,4435,4437],{"className":3598,"code":4436,"language":3600,"meta":2736,"style":2736},"node accounting-topic.mjs\n",[2700,4438,4439],{"__ignoreMap":2736},[2740,4440,4441,4443],{"class":2742,"line":2743},[2740,4442,3608],{"class":3607},[2740,4444,4445],{"class":2768}," accounting-topic.mjs\n",[2696,4447,4448,4449,4451],{},"除启动提示外，订单终端应收到两条，符合绑定键 ",[2700,4450,3013],{},"：",[2731,4453,4458],{"className":4454,"code":4456,"language":4457,"meta":2736},[4455],"language-text","payment.success\npayment.refund\n","text",[2700,4459,4456],{"__ignoreMap":2736},[2696,4461,4462,4463,4451],{},"记账终端应收到四条，符合绑定键 ",[2700,4464,2789],{},[2731,4466,4469],{"className":4467,"code":4468,"language":4457,"meta":2736},[4455],"payment\npayment.success\npayment.refund\npayment.refund.completed\n",[2700,4470,4468],{"__ignoreMap":2736},[2696,4472,4473,4474,4476],{},"这次共发布五条消息，但两个队列合计收到六份：success 和 refund 两条消息同时匹配两个队列，各有两个副本；单段 payment 和三段 payment.refund.completed 只进入记账队列。",[2700,4475,3139],{}," 没有匹配任何队列，在本例没有退回设置的情况下被丢弃。",[2696,4478,4479,4482],{},[2719,4480,4481],{},"Topic 会转发给所有匹配的队列，并不会只选择匹配得最具体的规则。"," 如果同一队列的多条绑定都匹配这次发布，该队列仍只收到一份；这不代表能自动消除生产者重复发布或后续重新投递的消息。",[2696,4484,4485],{},"保持消费者运行，再发布一次，应分别新增两条与四条。如果以前做过本篇实验，先让旧消息处理完，停止多余的同队列消费者，并按练习后的步骤撤销额外绑定，再核对新增输出。",[2709,4487],{},[2691,4489,4491],{"id":4490},"知识问答","❓ 知识问答",[2696,4493,4494,2702],{},[4495,4496,4497,4500],"em",{},[4495,4498,4499],{},"Q1：payment.ref"," 能匹配所有 ref 开头的事件吗？",[2696,4502,4503,4504,4507,4508,3175],{},"不能。这里的通配符必须独立占一段，",[2700,4505,4506],{},"ref*"," 不是字符前缀匹配规则。要接收 payment 后面任意一段，使用 ",[2700,4509,3013],{},[2696,4511,4512],{},[2719,4513,4514],{},"Q2：绑定键一定要有通配符吗？",[2696,4516,4517,4518,4520],{},"不需要。绑定为 ",[2700,4519,2836],{}," 时，只匹配相同的具体路由键。",[2696,4522,4523],{},[2719,4524,4525],{},"Q3：payment.# 可以匹配 invoice.payment.success 吗？",[2696,4527,4528],{},"不能。这个绑定要求开头是 payment，井号只能匹配它所在位置对应的剩余部分，不能跳过前面的 invoice。",[2709,4530],{},[2691,4532,4534],{"id":4533},"小练习","🧪 小练习",[2696,4536,4537,4538,4540,4541,4543,4544,4546,4547,3175],{},"保留订单队列原来的 ",[2700,4539,3013],{}," 绑定，在准备脚本关闭通道前，再为 ",[2700,4542,3388],{}," 添加一条到 ",[2700,4545,2780],{}," 的绑定，绑定键为 ",[2700,4548,4549],{},"payment.*.*",[2696,4551,4552],{},"先预测结果，再重新执行准备和发送脚本。预期订单本次新增三条：payment.success、payment.refund、payment.refund.completed，仍没有单段 payment；记账仍新增四条。",[2696,4554,4555,4556,4558],{},"其中 refund 和 completed 分别对应新增规则中的两个星号。旧的 ",[2700,4557,3013],{}," 绑定依然存在，所以原来能收到的两条消息也仍会到达。",[3005,4560,4561],{"id":4561},"练习后恢复基本绑定",[2696,4563,4564],{},"先从准备脚本删除新增绑定的代码，再运行下面的恢复脚本。只删代码或重新声明原有绑定，都不会自动撤销服务端已经建立的额外绑定。",[2731,4566,4569],{"className":2733,"code":4567,"filename":4568,"language":2735,"meta":2736,"style":2736},"import amqp from 'amqplib';\nimport { rabbitmqUrl } from './config.mjs';\n\nconst connection = await amqp.connect(rabbitmqUrl);\nconst channel = await connection.createChannel();\n\nawait channel.unbindQueue('topic.order', 'payment.topic', 'payment.*.*');\nconsole.log('已撤销订单队列的 payment.*.* 绑定');\nawait channel.close();\nawait connection.close();\n","reset-topic-binding.mjs",[2700,4570,4571,4587,4607,4611,4631,4651,4655,4694,4715,4729],{"__ignoreMap":2736},[2740,4572,4573,4575,4577,4579,4581,4583,4585],{"class":2742,"line":2743},[2740,4574,3218],{"class":2746},[2740,4576,3221],{"class":2750},[2740,4578,3224],{"class":2746},[2740,4580,2777],{"class":2754},[2740,4582,3190],{"class":2768},[2740,4584,2765],{"class":2754},[2740,4586,2797],{"class":2754},[2740,4588,4589,4591,4593,4595,4597,4599,4601,4603,4605],{"class":2742,"line":3235},[2740,4590,3218],{"class":2746},[2740,4592,3240],{"class":2754},[2740,4594,3243],{"class":2750},[2740,4596,3246],{"class":2754},[2740,4598,3249],{"class":2746},[2740,4600,2777],{"class":2754},[2740,4602,3254],{"class":2768},[2740,4604,2765],{"class":2754},[2740,4606,2797],{"class":2754},[2740,4608,4609],{"class":2742,"line":3261},[2740,4610,3265],{"emptyLinePlaceholder":3264},[2740,4612,4613,4615,4617,4619,4621,4623,4625,4627,4629],{"class":2742,"line":3268},[2740,4614,3272],{"class":3271},[2740,4616,3275],{"class":2750},[2740,4618,3278],{"class":2754},[2740,4620,3281],{"class":2746},[2740,4622,3284],{"class":2750},[2740,4624,2755],{"class":2754},[2740,4626,3289],{"class":2758},[2740,4628,3292],{"class":2750},[2740,4630,2797],{"class":2754},[2740,4632,4633,4635,4637,4639,4641,4643,4645,4647,4649],{"class":2742,"line":3297},[2740,4634,3272],{"class":3271},[2740,4636,3302],{"class":2750},[2740,4638,3278],{"class":2754},[2740,4640,3281],{"class":2746},[2740,4642,3309],{"class":2750},[2740,4644,2755],{"class":2754},[2740,4646,3314],{"class":2758},[2740,4648,3317],{"class":2750},[2740,4650,2797],{"class":2754},[2740,4652,4653],{"class":2742,"line":3322},[2740,4654,3265],{"emptyLinePlaceholder":3264},[2740,4656,4657,4659,4661,4663,4666,4668,4670,4672,4674,4676,4678,4680,4682,4684,4686,4688,4690,4692],{"class":2742,"line":3372},[2740,4658,2747],{"class":2746},[2740,4660,2751],{"class":2750},[2740,4662,2755],{"class":2754},[2740,4664,4665],{"class":2758},"unbindQueue",[2740,4667,2762],{"class":2750},[2740,4669,2765],{"class":2754},[2740,4671,3388],{"class":2768},[2740,4673,2765],{"class":2754},[2740,4675,2774],{"class":2754},[2740,4677,2777],{"class":2754},[2740,4679,2780],{"class":2768},[2740,4681,2765],{"class":2754},[2740,4683,2774],{"class":2754},[2740,4685,2777],{"class":2754},[2740,4687,4549],{"class":2768},[2740,4689,2765],{"class":2754},[2740,4691,2794],{"class":2750},[2740,4693,2797],{"class":2754},[2740,4695,4696,4698,4700,4702,4704,4706,4709,4711,4713],{"class":2742,"line":3409},[2740,4697,3525],{"class":2750},[2740,4699,2755],{"class":2754},[2740,4701,3530],{"class":2758},[2740,4703,2762],{"class":2750},[2740,4705,2765],{"class":2754},[2740,4707,4708],{"class":2768},"已撤销订单队列的 payment.*.* 绑定",[2740,4710,2765],{"class":2754},[2740,4712,2794],{"class":2750},[2740,4714,2797],{"class":2754},[2740,4716,4717,4719,4721,4723,4725,4727],{"class":2742,"line":3448},[2740,4718,2747],{"class":2746},[2740,4720,2751],{"class":2750},[2740,4722,2755],{"class":2754},[2740,4724,3555],{"class":2758},[2740,4726,3317],{"class":2750},[2740,4728,2797],{"class":2754},[2740,4730,4731,4733,4735,4737,4739,4741],{"class":2742,"line":3483},[2740,4732,2747],{"class":2746},[2740,4734,3309],{"class":2750},[2740,4736,2755],{"class":2754},[2740,4738,3555],{"class":2758},[2740,4740,3317],{"class":2750},[2740,4742,2797],{"class":2754},[2696,4744,4745,4748],{},[2700,4746,4747],{},"unbindQueue()"," 的三个参数与建立绑定时对应：队列名、交换机名、要撤销的绑定键。等练习消息处理完，保持两个消费者运行，再执行：",[2731,4750,4752],{"className":3598,"code":4751,"language":3600,"meta":2736,"style":2736},"node reset-topic-binding.mjs\nnode publish-topic.mjs\n",[2700,4753,4754,4761],{"__ignoreMap":2736},[2740,4755,4756,4758],{"class":2742,"line":2743},[2740,4757,3608],{"class":3607},[2740,4759,4760],{"class":2768}," reset-topic-binding.mjs\n",[2740,4762,4763,4765],{"class":2742,"line":3235},[2740,4764,3608],{"class":3607},[2740,4766,3973],{"class":2768},[2696,4768,4769],{},"预期订单恢复为新增两条，记账仍新增四条。解绑只影响后续发布，不会删除已经进入队列的消息。",[2709,4771],{},[2696,4773,4774],{},"🎉 你已经能逐段对照消息与绑定规则，判断 Topic 的分发结果了！",[4776,4777,4778],"style",{},"html pre.shiki code .s8pZq, html code.shiki .s8pZq{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sndM8, html code.shiki .sndM8{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .s86vT, html code.shiki .s86vT{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .swgpB, html code.shiki .swgpB{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sIEYB, html code.shiki .sIEYB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .s50WR, html code.shiki .s50WR{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sd2Uz, html code.shiki .sd2Uz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sPKOg, html code.shiki .sPKOg{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html pre.shiki code .sYGMc, html code.shiki .sYGMc{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sK9QF, html code.shiki .sK9QF{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}",{"title":2736,"searchDepth":3235,"depth":3235,"links":4780},[4781,4782,4783,4787,4791,4792,4793],{"id":2693,"depth":3235,"text":2694},{"id":2713,"depth":3235,"text":2714},{"id":2926,"depth":3235,"text":2927,"children":4784},[4785,4786],{"id":3007,"depth":3261,"text":3007},{"id":3035,"depth":3261,"text":3035},{"id":3180,"depth":3235,"text":3181,"children":4788},[4789,4790],{"id":3206,"depth":3261,"text":3207},{"id":3617,"depth":3261,"text":3617},{"id":3981,"depth":3235,"text":3982},{"id":4490,"depth":3235,"text":4491},{"id":4533,"depth":3235,"text":4534,"children":4794},[4795],{"id":4561,"depth":3261,"text":4561},"区分消息的路由键与绑定中的通配规则，逐段理解星号和井号，并验证消息进入哪些队列。","md",null,{},{"title":2230},{"title":2230,"description":4796},"dJ0gWRVFlJ",[4804,4806],{"title":2226,"path":2227,"stem":2228,"description":4805,"children":-1},"从队列的绑定条件和消息的路由标记出发，理解 Direct 交换机如何选择接收队列。",{"title":2239,"path":2235,"stem":2236,"description":4807,"children":-1},"通过中断消费者，观察未确认消息重新投递，并理解业务为什么仍要防重复。",1795141024877]