Files
easygoadmin-wiki/EasyGoAdmin_Gin_AntdVue/zh/modules/param.md
T
2026-10-25 17:24:27 +08:00

30 lines
805 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 6.13 参数管理
:::tip 概述
参数(gin_param)是扁平键值表,管理独立系统参数(协议版本、联系方式、提示文案等)。标准 CRUD,按 code 定位。
:::
## 功能清单
| 接口 | 说明 |
|---|---|
| Page / List / Detail | 标准查询(code/名称搜索) |
| Add / Update | 维护(code 全局唯一) |
| Delete / BatchDelete | 软删除 |
## 使用规约
- code 小写下划线、尽量带模块前缀
- value 一律字符串(数字/布尔消费方转换)
- 禁止放运维级配置(端口/密钥走 config.yaml)
机制与选型见 [5.13 系统参数管理](/zh/core/param.html)。
## 管理界面
`data/param`:列表 + 编辑 + 备注说明。
## 相关
- [5.12 系统配置管理](/zh/core/config.html)(分组形态的姊妹模块)