Files
qipai/docs/devlogs/2026-06-18-M03-D-场景码NFC与WiFi.md

29 lines
1.1 KiB
Markdown
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.
# M03-D 场景码、NFC 与 Wi-Fi
- 日期:2026-06-18
- 起始 commit`88fa22e`
- 工程 commit`d563078`
- ENGINEERING_DELTA=YES
- 子阶段状态:DONE,已 push 且 `HEAD == origin/main`
## 工程增量
- 门店/房间场景码生成、重新生成、撤销和扫描统计。
- 二维码/NFC 统一解析,仅返回页面导航参数和空权限集合。
- 小程序 scene/NFC 入口与门店/房间详情页。
- 订单用户访问授权桥接。
- Wi-Fi 按管理员门店范围或当前有效订单受控返回。
- Wi-Fi 访问审计不记录密码。
## 验证
- Windows 全量后端测试通过。
- 小程序 JSON 和 JavaScript 静态检查通过。
- WSL MySQL 8.4.9 往返迁移通过。
- 迁移语句:up 50、verify 32、down 47。
- 实测旧码失效、NFC/二维码无开门权限、扫描统计、无订单拒绝、有订单放行和审计脱敏。
## 外部联调
真实微信小程序码图片生成依赖可用 AppSecret 与微信接口;当前已完成 sceneCode 生命周期、接口和 Mock/页面全链路,真实图片生成留待 M08 真机联调。