会员服务器:上传肥牛应用源码 v1.5.1(fnnas.huiyuan 完整 fpk 工程结构)
含 app/server/server.cjs 服务端、app/www 网页(admin/auth/项目云/库备份/settings)、 app/ui 图标、cmd 安装脚本、config、wizard、manifest、图标与对接文档。 按仓库规则排除构建产物 *.fpk 与 .mimosa 缓存。
This commit is contained in:
Executable
+47
@@ -0,0 +1,47 @@
|
||||
[
|
||||
{
|
||||
"stepTitle": "修改设置",
|
||||
"items": [
|
||||
{
|
||||
"type": "tips",
|
||||
"helpText": "留空表示不修改、保持当前值。修改端口后应用会自动重启,桌面入口将使用新端口。数据库目录也可在应用网页的设置页中通过目录授权切换。"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"field": "wizard_port",
|
||||
"label": "服务端口",
|
||||
"initValue": "",
|
||||
"rules": [
|
||||
{
|
||||
"pattern": "^$|^[0-9]+$",
|
||||
"message": "端口必须是数字,或留空表示不修改"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"field": "wizard_dbdir",
|
||||
"label": "数据目录",
|
||||
"initValue": "",
|
||||
"rules": [
|
||||
{
|
||||
"pattern": "^$|^/.+$",
|
||||
"message": "必须是 / 开头的完整路径,或留空表示不修改"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "password",
|
||||
"field": "wizard_admin_pwd",
|
||||
"label": "管理密码",
|
||||
"initValue": "",
|
||||
"rules": [
|
||||
{
|
||||
"pattern": "^$|.{6,}",
|
||||
"message": "管理密码至少 6 位,或留空表示不修改"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Executable
+63
@@ -0,0 +1,63 @@
|
||||
[
|
||||
{
|
||||
"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": "管理密码用于登录会员管理/项目云/库备份/设置页面,并保护管理接口,请妥善保管。客户端接口(登录/注册等)不受影响。"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user