feat(purchase): 新增 Apple 内购完整链路

- AppleReceiptController 改造:验签后立刻落库并解锁权益
- 新增 ApplePurchaseService 处理业务:防重、写订单、发道具
- 新增 KeyboardUserPurchaseRecords 实体与 Mapper,记录用户购买
- ErrorCode 补充 RECEIPT_INVALID(50016)
- 删除过期 AGENTS.md,修正 i18n_message 表名与 CORS 白名单
This commit is contained in:
2025-12-12 18:18:55 +08:00
parent 2e16183cb8
commit a24a795887
16 changed files with 491 additions and 42 deletions

View File

@@ -101,7 +101,7 @@
<dependency>
<groupId>com.apple.itunes.storekit</groupId>
<artifactId>app-store-server-library</artifactId>
<version>3.6.0</version>
<version>4.0.0</version>
</dependency>
<!-- x-file-storage -->