feat(core): 新增逻辑删除字段并过滤已删除AI角色

- KeyboardAiCompanion实体增加deleted字段
- 查询时自动排除deleted=1的记录
- 同步更新likedCompanions、chattedCompanions等接口
- prod环境追加App Store订阅校验配置
This commit is contained in:
2026-03-10 13:27:55 +08:00
parent 4519343139
commit 8baeacae3b
3 changed files with 24 additions and 0 deletions

View File

@@ -36,3 +36,22 @@ user:
register:
# 新用户注册时的免费试用额度
free-trial-quota: 5
apple:
appstore:
issuer-id: "178b442e-b7be-4526-bd13-ab293d019df0"
key-id: "Y7TF7BV74G"
bundle-id: "com.loveKey.nyx"
# app 在 App Store 中的 Apple ID可在开发者后台查看
app-apple-id: 1234567890
# p8 私钥文件路径,建议放在 resources 目录
private-key-path: "classpath:SubscriptionKey_Y7TF7BV74G.p8"
# SANDBOX ? PRODUCTION
environment: "PRODUCTION"
# 用于验证服务器通知的 Apple PKI 根证书
root-certificates:
- "classpath:AppleRootCA-G2.cer"
- "classpath:AppleRootCA-G3.cer"