Files
wangjia 658df690f6
Design Source Checks / design-source (push) Successful in 47s
docs: 历史导入出库价格错列修复复盘 runbook(2026-07-10)
根因/修复设计/执行结果/遗留脏数据清单/回滚方式,登记 docs/index.html

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-10 17:29:19 +08:00

86 lines
7.6 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>文档索引 — 酒库管理系统</title>
<style>
:root{
--primary:#2563AC; --primary-dark:#154072; --accent:#8B2331;
--ink:#232934; --muted:#6E7888; --border:#DCE2EB; --paper:#F5F7FA; --head:#F0F4FF;
}
*{box-sizing:border-box;font-family:-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;}
body{margin:0;background:var(--paper);color:var(--ink);padding:28px;line-height:1.6;}
h1{font-size:20px;margin:0 0 4px;}
.sub{color:var(--muted);font-size:13px;margin-bottom:20px;}
h2{font-size:15px;margin:24px 0 8px;color:var(--primary-dark);border-bottom:2px solid var(--head);padding-bottom:6px;}
ul{margin:6px 0;padding-left:20px;}
li{margin:5px 0;font-size:13.5px;}
a{color:var(--primary);text-decoration:none;}
a:hover{text-decoration:underline;}
.hint{color:var(--muted);font-size:12px;}
.tag{display:inline-block;font-size:10px;padding:1px 7px;border-radius:9px;background:#EEF2F8;color:var(--muted);margin-left:6px;}
.tag.html{background:#E5EEF9;color:var(--primary);}
</style>
</head>
<body>
<h1>酒库管理系统 · 文档索引</h1>
<div class="sub">项目所有文档的单一入口。新增文档须同时登记到此处。</div>
<h2>📖 手册</h2>
<ul>
<li><a href="manual/user-manual.html">用户手册</a><span class="tag html">HTML</span> <span class="hint">— 面向酒行员工的操作手册(登录/入库/出库/库存/财务/设置)</span></li>
<li><a href="manual/dev-manual.html">开发手册</a><span class="tag html">HTML</span> <span class="hint">— 面向后续开发者/维护者:架构总览/后端/前端/数据库/API 参考/运维/发版工作流</span></li>
<li><a href="db-schema.html">数据库 Schema(列级文档)</a><span class="tag html">HTML</span> <span class="hint">— 31 张表全字段 + 索引 + 租户列标注</span></li>
<li><a href="user-manual.md">用户手册(旧版)</a><span class="tag">MD</span> <span class="hint">— 已被 HTML 版取代,保留归档</span></li>
</ul>
<h2>🏗 设计方案</h2>
<ul>
<li><a href="pay支付对接开发指南.html">pay 支付对接开发指南</a><span class="tag html">HTML</span> <span class="hint">— jiu 门店应用内购买/续费授权:付款走 pay,付成功后 pay 签名 webhook 回调 jiu 直接续期。含签名算法、下单/回调接口契约、套餐 biz_code→权益映射、续期逻辑、安全红线、客户端(Web+App webview)、联调清单。pay 侧已就绪,本文档=jiu 侧要实现的部分</span></li>
<li><a href="design/inventory-sale-status.html">库存三态改造(在售/库存/已售)设计方案</a><span class="tag html">HTML</span> <span class="hint">— 库存行持久化状态 + 公开酒单只挂在售 + 卖光留痕已售 + 抽屉 switch2026-07-07</span></li>
<li><a href="design/public-page-speedup.html">公开页提速方案(传输压缩 + 公开页全面去 Flutter 化)</a><span class="tag html">HTML</span> <span class="hint">— 扫码首开 30s 根因与两级修复:CI 预压缩+gzip_static+协商缓存 / 商品页+店铺列表页后端 SSR,公开动线零 Flutter2026-07-07</span></li>
<li><a href="design/order-return-prototype.html">退单原型(已审核单据)</a><span class="tag html">HTML</span></li>
<li><a href="design/order-print-layouts.html">出入库单打印排版方案(6 种黑白样式精选)</a><span class="tag html">HTML</span> · <a href="design/order-print-layouts.pdf">PDF</a></li>
<li><a href="design/stock-in-cost-confirm-design.html">入库确认进价(暂估价前向补偿)设计</a><span class="tag html">HTML</span></li>
<li><a href="design/inventory-filter-spec.md">库存筛选规格</a><span class="tag">MD</span></li>
</ul>
<h2>📚 知识库 · 调研</h2>
<ul>
<li><a href="frontend-overview.html">前端开发全景</a><span class="tag html">HTML</span> <span class="hint">— 设计系统三层真相源 / token codegen / 各道闸 / golden+fidelity 验收 / 移动范式 / 规则速查,单一入口(2026-07-07)</span></li>
<li><a href="context/project.md">项目上下文(Agent 必读,项目全貌)</a><span class="tag">MD</span></li>
<li><a href="dev-setup.md">开发环境搭建</a><span class="tag">MD</span></li>
<li><a href="architecture/license-design.md">授权体系设计(兑换券模型)</a><span class="tag">MD</span></li>
<li><a href="architecture/session-security.md">会话安全设计(sid 校验/踢人/失败锁定)</a><span class="tag">MD</span></li>
<li><a href="android-signing.md">Android 签名</a> · <a href="ios-signing.md">iOS 签名</a> · <a href="macos-signing.md">macOS 签名</a><span class="tag">MD</span></li>
<li><a href="deployment-nas-gitea.md">部署:NAS Gitea/Forgejo</a><span class="tag">MD</span></li>
<li><a href="TODO.md">待办(后续迭代事项)</a><span class="tag">MD</span></li>
</ul>
<h2>🔧 Runbook · 排障</h2>
<ul>
<li><a href="runbooks/ec2-to-ali-migration.html">EC2 → 阿里云 迁移计划</a><span class="tag html">HTML</span> <span class="hint">— jiu 服务/数据/DB/文件/域名/CI 整体迁移(2026-07-02 已割接)</span></li>
<li><a href="runbooks/ddos-response.html">DDoS / 爬取洪峰应急</a><span class="tag html">HTML</span> <span class="hint">— 判定/CC 处置/高防·CDN 切换/黑洞预案(2026-07-05,配套安全三件套加固)</span></li>
<li><a href="runbooks/fix-history-prices-20260710.html">历史导入出库价格错列修复复盘</a><span class="tag html">HTML</span> <span class="hint">— 售价误落成本列根因/修复设计/26335 行执行结果/遗留脏数据清单/回滚(2026-07-10shop8 生产)</span></li>
</ul>
<h2>🧪 测试 · 审计报告</h2>
<ul>
<li><a href="testing/license-test-flow.html">授权兑换券测试流程</a><span class="tag html">HTML</span></li>
<li><a href="security/2026-07-03-audit.md">安全审计(2026-07-03</a> · <a href="security/2026-07-03-precommit-audit.md">提交前安全审计</a><span class="tag">MD</span></li>
<li><a href="review/2026-07-03-precommit-review.md">提交前代码审查(2026-07-03</a> · <a href="review/2026-07-03-uncommitted-review.md">未提交变更审查</a><span class="tag">MD</span></li>
<li><a href="review/stockorder-empty-fields-stats.html">出入库单空字段统计</a><span class="tag html">HTML</span></li>
<li><a href="review/inventory-qty-packsize-report.md">库存「装箱数当数量」脏数据报告</a><span class="tag">MD</span> · <a href="review/inventory-qty-packsize-dirty.csv">CSV</a></li>
<li><a href="review/stock-order-bugs.md">出入库单 bug 清单</a> · <a href="review/validation-bugs.md">校验 bug 清单</a> · <a href="review/flutter-layout-bugs.md">Flutter 布局 bug 清单</a><span class="tag">MD</span></li>
<li><a href="review/lint-report.md">Lint 报告</a><span class="tag">MD</span></li>
</ul>
<h2>实现计划</h2>
<ul>
<li><a href="plans/mobile-screens-implementation.html">移动端全屏落地实现计划(m-* 原型 → Flutter2026-07-04 已执行)</a><span class="tag html">HTML</span> <span class="hint">— 底部 tab + 我的 hub + sheet 交互范式;Stage0 基建 + 4 并行工作包 + 合流验收全记录</span></li>
<li><a href="plans/security-hardening.html">安全三件套实现计划(2026-07-05)</a><span class="tag html">HTML</span> <span class="hint">— 限流/登录锁外置 Redis + 公开接口反爬(日配额/UA/防盗链)+ 边缘加固(nginx limit_conn/安全组/DDoS runbook</span></li>
</ul>
</body>
</html>