签入版本

This commit is contained in:
小蚂蚁云
2026-10-25 17:24:27 +08:00
parent 48911cc08f
commit fdbeae092a
1010 changed files with 30682 additions and 95274 deletions
@@ -0,0 +1,45 @@
# 6.14 配置管理
:::tip 概述
配置管理维护 gin_config(分组)+ gin_config_item(配置项)的分组树,承载站点级与业务级运营配置。另有前台站点配置的专用读写入口(WebIndex / WebSave)。
:::
## 功能清单
### 配置分组(/api/config/*)
| 接口 | 说明 |
|---|---|
| Page / List / Detail / Add / Update / Delete / BatchDelete | 分组维护 |
| GET /api/config/web/index | 网站配置聚合读取(权限码 sys:configWeb:data) |
| POST /api/config/web/save | 网站配置聚合保存(权限码 sys:configWeb:save) |
### 配置项(/api/config/item/*,权限码 sys:configitem:*)
| 接口 | 说明 |
|---|---|
| Page / List / Detail / Add / Update / Delete / BatchDelete | 配置项维护(归属分组) |
## 分组语义
```text
gin_config(分组,如"站点配置")
└── gin_config_item(项:site_name=易购后台 / site_logo=... / icp=...)
```
WebIndex/WebSave 为管理前台设置页的聚合契约——避免前端逐项调用。
## 界面双入口
| 入口 | 面向 | 说明 |
|---|---|---|
| setting/configWeb | 站点设置页 | 经 WebIndex/WebSave 聚合读写 |
| data/config | 系统配置管理 | 分组/配置项的后台维护 |
## 管理界面
`data/config`:分组列表 + 配置项明细面板。
## 相关
- [5.12 系统配置管理](/zh/core/config.html)(机制与两层配置分工)