docs(api): 合并注册限流配置键名修正
This commit is contained in:
commit
903e7db085
2 files changed
+33
-3
No files matched your search
+3
-3
@@ -118,11 +118,11 @@ POST /app/auth/register
|
|||||||
|
|
||||||
频控口径落库在 `app_user.register_ip` / `app_user.register_device_id` 上(按 24h 计数,不新建计数表)。
|
频控口径落库在 `app_user.register_ip` / `app_user.register_device_id` 上(按 24h 计数,不新建计数表)。
|
||||||
|
|
||||||
注册频控阈值存储在 `sys_config`,可在后台「系统设置」修改:
|
注册频控阈值存储在 `sys_config`,可在后台「系统配置」修改:
|
||||||
|
|
||||||
```text
|
```text
|
||||||
fruitshorts.auth.register-max-per-ip-per-day
|
app.register.max-per-ip-per-day
|
||||||
fruitshorts.auth.register-max-per-device-per-day
|
app.register.max-per-device-per-day
|
||||||
```
|
```
|
||||||
|
|
||||||
键缺失或值不是整数时回退默认 5 / 3;值小于等于 0 表示对应维度不限制。
|
键缺失或值不是整数时回退默认 5 / 3;值小于等于 0 表示对应维度不限制。
|
||||||
|
|||||||
@@ -3126,6 +3126,36 @@ ReelShortWeb:
|
|||||||
|
|
||||||
设备侧接口结果与后台截图由用户最终验收。
|
设备侧接口结果与后台截图由用户最终验收。
|
||||||
|
|
||||||
|
### 32.7 API 文档键名补正
|
||||||
|
|
||||||
|
复核 `docs/api-phase1.md` §1.1 时发现文档仍沿用旧的
|
||||||
|
`fruitshorts.auth.register-max-*` 键名,与 `AppAuthService` 实际读取的
|
||||||
|
`sys_config` 键不一致。已补正为:
|
||||||
|
|
||||||
|
```text
|
||||||
|
app.register.max-per-ip-per-day
|
||||||
|
app.register.max-per-device-per-day
|
||||||
|
```
|
||||||
|
|
||||||
|
同时将入口表述统一为后台「系统配置」。本次只补正文档,不改运行逻辑。
|
||||||
|
|
||||||
|
补正后复核:
|
||||||
|
|
||||||
|
```text
|
||||||
|
$ mvn test
|
||||||
|
AppAuthServiceTest: Tests run: 18, Failures: 0, Errors: 0, Skipped: 0
|
||||||
|
BUILD SUCCESS
|
||||||
|
```
|
||||||
|
|
||||||
|
开发库两键均为 `0`。同一新设备号连续注册 4 次均为 `code=0`:
|
||||||
|
|
||||||
|
```text
|
||||||
|
uid=UFCIW1LWU
|
||||||
|
uid=UP2BH-DN_
|
||||||
|
uid=ULOFAAU2Z
|
||||||
|
uid=UDAYJR-_E
|
||||||
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 2026-10-17 iOS 构建阻塞:固定 shared_preferences_foundation 2.5.6
|
## 2026-10-17 iOS 构建阻塞:固定 shared_preferences_foundation 2.5.6
|
||||||
|
|||||||
Reference in new issue
Block a user