[codex] unify shop account flow and billing safety#24
Merged
Conversation
cnYui
commented
Jun 11, 2026
cnYui
left a comment
Owner
Author
There was a problem hiding this comment.
客观 review 结论:当前没有阻塞合并的问题。重点检查了旧购买/支付/31 天文案、登录态兑换归属、API key 密文存储/迁移、内部 status hash 查询和补账脚本路径。发现首页仍残留“手机号和邀请码”旧兑换语义,已在 20216d1 修复并补充测试断言。剩余注意点:生产启用 API key 静态加密前必须配置至少 32 字符的 SHOP_API_KEY_ENCRYPTION_SECRET;旧明文迁移脚本应先 dry-run,确认后再 apply。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification
npm run build:cssnpm test:125 pass / 0 failgit diff --checkSHOP_API_KEY_ENCRYPTION_SECRET=0123456789abcdef0123456789abcdef node scripts/shop-encrypt-api-keys.js --dry-run --db data/shop.sqliteNotes
SHOP_API_KEY_ENCRYPTION_SECRET,长度至少 32 个字符。--apply前会创建数据库备份;本 PR 未对真实库执行--apply。