含 app/server/server.cjs 服务端、app/www 网页(admin/auth/项目云/库备份/settings)、 app/ui 图标、cmd 安装脚本、config、wizard、manifest、图标与对接文档。 按仓库规则排除构建产物 *.fpk 与 .mimosa 缓存。
64 lines
2.0 KiB
Plaintext
Executable File
64 lines
2.0 KiB
Plaintext
Executable File
[
|
|
{
|
|
"stepTitle": "基本设置",
|
|
"items": [
|
|
{
|
|
"type": "tips",
|
|
"helpText": "会员服务器为成套报价软件提供会员注册、登录、查询、改密 API。成套报价软件客户端连接地址需配置为本飞牛主机 IP 加下方端口。"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"field": "wizard_port",
|
|
"label": "服务端口",
|
|
"initValue": "12701",
|
|
"rules": [
|
|
{
|
|
"required": true,
|
|
"message": "请输入服务端口"
|
|
},
|
|
{
|
|
"pattern": "^[0-9]+$",
|
|
"message": "端口必须是数字"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "tips",
|
|
"helpText": "数据库(huiyuan.json)默认存放在应用数据目录(文件管理 → 应用文件 → fnnas.huiyuan/数据目录)。如需放到其他位置,可填写以 / 开头的完整目录路径(需保证应用用户可读写);留空使用默认目录。安装后也可在应用设置的目录授权中授权目录,再到网页设置页切换。"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"field": "wizard_dbdir",
|
|
"label": "数据库目录(可选)",
|
|
"initValue": "",
|
|
"rules": [
|
|
{
|
|
"pattern": "^$|^/.+$",
|
|
"message": "必须是 / 开头的完整路径,或留空使用默认目录"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "password",
|
|
"field": "wizard_admin_pwd",
|
|
"label": "管理密码",
|
|
"initValue": "",
|
|
"rules": [
|
|
{
|
|
"required": true,
|
|
"message": "请设置管理密码(用于登录管理页面)"
|
|
},
|
|
{
|
|
"min": 6,
|
|
"message": "管理密码至少 6 位"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "tips",
|
|
"helpText": "管理密码用于登录会员管理/项目云/库备份/设置页面,并保护管理接口,请妥善保管。客户端接口(登录/注册等)不受影响。"
|
|
}
|
|
]
|
|
}
|
|
]
|