codex基础代码更新

This commit is contained in:
技术老胡
2026-03-20 10:31:13 +08:00
parent 7e545f0621
commit f3919c9899
36 changed files with 5060 additions and 1459 deletions

View File

@@ -1,7 +1,7 @@
{
{
"formId": "basic-config",
"title": "基础置",
"submitText": "保存置",
"title": "基础置",
"submitText": "保存置",
"submitUrl": "/adminapi/system/base-config/submit/basic",
"cacheKey": "basic_config_cache",
"refreshAfterSubmit": true,
@@ -37,10 +37,10 @@
{
"type": "input",
"field": "site_logo",
"title": "站点Logo",
"title": "站点 Logo",
"value": "",
"props": {
"placeholder": "请输入Logo地址或上传Logo"
"placeholder": "请输入 Logo 地址"
}
},
{
@@ -49,7 +49,7 @@
"title": "备案号",
"value": "",
"props": {
"placeholder": "请输入ICP备案号"
"placeholder": "请输入 ICP 备案号"
}
},
{
@@ -81,4 +81,3 @@
}
]
}

View File

@@ -1,7 +1,7 @@
{
{
"formId": "email-config",
"title": "邮件置",
"submitText": "保存置",
"title": "邮件置",
"submitText": "保存置",
"submitUrl": "/adminapi/system/base-config/submit/email",
"cacheKey": "email_config_cache",
"refreshAfterSubmit": true,
@@ -9,7 +9,7 @@
{
"type": "input",
"field": "smtp_host",
"title": "SMTP服务器",
"title": "SMTP 主机",
"value": "",
"props": {
"placeholder": "例如smtp.qq.com"
@@ -17,14 +17,14 @@
"validate": [
{
"required": true,
"message": "SMTP服务器不能为空"
"message": "SMTP 主机不能为空"
}
]
},
{
"type": "inputNumber",
"field": "smtp_port",
"title": "SMTP端口",
"title": "SMTP 端口",
"value": 465,
"props": {
"min": 1,
@@ -34,14 +34,14 @@
"validate": [
{
"required": true,
"message": "SMTP端口不能为空"
"message": "SMTP 端口不能为空"
}
]
},
{
"type": "switch",
"field": "smtp_ssl",
"title": "启用SSL",
"title": "启用 SSL",
"value": true,
"props": {
"checkedText": "是",
@@ -51,46 +51,46 @@
{
"type": "input",
"field": "smtp_username",
"title": "SMTP用户名",
"title": "SMTP 用户名",
"value": "",
"props": {
"placeholder": "请输入SMTP用户名"
"placeholder": "请输入 SMTP 用户名"
},
"validate": [
{
"required": true,
"message": "SMTP用户名不能为空"
"message": "SMTP 用户名不能为空"
}
]
},
{
"type": "input",
"field": "smtp_password",
"title": "SMTP密码",
"title": "SMTP 密码",
"value": "",
"props": {
"type": "password",
"placeholder": "请输入SMTP密码或授权码"
"placeholder": "请输入 SMTP 密码或授权码"
},
"validate": [
{
"required": true,
"message": "SMTP密码不能为空"
"message": "SMTP 密码不能为空"
}
]
},
{
"type": "input",
"field": "from_email",
"title": "发件邮箱",
"title": "发件邮箱",
"value": "",
"props": {
"placeholder": "请输入发件邮箱地址"
"placeholder": "请输入发件邮箱地址"
},
"validate": [
{
"required": true,
"message": "发件邮箱不能为空"
"message": "发件邮箱不能为空"
},
{
"type": "email",
@@ -101,7 +101,7 @@
{
"type": "input",
"field": "from_name",
"title": "发件名称",
"title": "发件名称",
"value": "",
"props": {
"placeholder": "请输入发件人名称"
@@ -109,4 +109,3 @@
}
]
}

View File

@@ -1,7 +1,7 @@
{
{
"formId": "permission-config",
"title": "权限置",
"submitText": "保存置",
"title": "权限置",
"submitText": "保存置",
"submitUrl": "/adminapi/system/base-config/submit/permission",
"cacheKey": "permission_config_cache",
"refreshAfterSubmit": true,
@@ -96,4 +96,3 @@
}
]
}

View File

@@ -1,27 +1,26 @@
[
[
{
"key": "basic",
"title": "基础置",
"title": "基础置",
"icon": "settings",
"description": "配置系统基础信息包括站点名称、Logo、备案号",
"description": "配置系统基础信息包括站点名称、Logo、备案号和分页默认值。",
"sort": 1,
"disabled": false
},
{
"key": "email",
"title": "邮件置",
"title": "邮件置",
"icon": "email",
"description": "配置邮件服务器相关参数,包括SMTP服务器、端口、账号密码等",
"description": "配置 SMTP 主机、端口、账号和发件人信息,用于通知发送与联通检查。",
"sort": 2,
"disabled": false
},
{
"key": "permission",
"title": "权限置",
"title": "权限置",
"icon": "lock",
"description": "配置系统权限相关参数,预留权限控制功能",
"description": "配置后台权限控制、会话超时、密码强度和登录限制等安全参数。",
"sort": 3,
"disabled": false
}
]