NXDO.WebAPI.ZhuBird
0.9.2.3
dotnet add package NXDO.WebAPI.ZhuBird --version 0.9.2.3
NuGet\Install-Package NXDO.WebAPI.ZhuBird -Version 0.9.2.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NXDO.WebAPI.ZhuBird" Version="0.9.2.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NXDO.WebAPI.ZhuBird --version 0.9.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: NXDO.WebAPI.ZhuBird, 0.9.2.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NXDO.WebAPI.ZhuBird as a Cake Addin #addin nuget:?package=NXDO.WebAPI.ZhuBird&version=0.9.2.3 // Install NXDO.WebAPI.ZhuBird as a Cake Tool #tool nuget:?package=NXDO.WebAPI.ZhuBird&version=0.9.2.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
简述
NXDO.WebAPI管理平台(Admin) for Asp.Net ZhuBird
朱雀,亦称朱鸟,形体似凤凰,古代神话中的南方之神。
Rosefinch, also known as "Zhu bird" physical may Phoenix, the ancient Chinese myth of the God of the South.
EX.扩展支持后端管理(朱雀系统 - ZhuBird)
配置
文件名:NXDO.ZhuBird.json
- 保证该配置文件在 “应用程序环境的根目录”
- 保证 NXDO.WebAPI.ZhuBird.dll 与 NXDO.WebAPI.N6.dll 在同目录,无需在调试exe项目中引用 (当然也支持 dll 引用)
- 开发运行的主程序必须配置:用户与角色
- 打开朱雀:http://localhost:port/zb zb为配置文件指定的虚拟路径
{
"appUrl": "/zb",
"appName": "iMRO.ADMIN",
"appVersion": "1.0",
"appIcon": "",
"appCopyright": "Copyright © 2022",
"safeDomain": "safelogin", //标注安全域,直接由第三方url实现跳转并自动登录(取值时的键名称)
"safeReferer": [ "http://localhost:7000" ], //标注安全域的多个来源地址,不是任意第三方url都接受的,空时不判断来源
"usePhysical": true, //默认true,允许使用物理文件。
//可在exe当前目录下的 /zb 文件夹,存在同名文件,即使用物理文件而不使用内置文件
//"/zb"文件夹,对应 appUrl
"isSingleApp": true, //true:单体应用(需要配置 zbApiRoutes 的名称),false:含有webapi控制器的混合应用
"showLogPassword": true, //true:登录日志显示密码,否则只为***字符
"showMenuWithThree": true, //三员启用时,true:显示所有菜单(执行授权检查),false:隐藏无权菜单
//version:0.9.2.2 新增配置
"isDarkSkin": false, //true:深色背景菜单,false:白色背景菜单
"axiosTimeout ": 5, //单位:秒,默认5秒。axios超时时间,设置0则无超时
//version:0.9.2.2 end
//单体应用时的设置
"zbSingleApp": {
//多个管理主机的基URI
"hosts": [
{
"name": "5100",
"url": "https://localhost:5100"
}
],
//对应的api路由信息
"routes": [
{
//登录action
//在单体应用时,建议设置成绝对url
"name": "login",
"url": "/api/login/login"
},
{
//成员管理
"name": "member",
"url": "/api/bb/AUserManager"
},
{
//角色管理
"name": "role",
"url": "/api/bb/ARole"
},
{
//登录日志管理
"name": "loginLog",
"url": "/api/NxLoginLogManager"
},
{
//密级文件流日志管理
"name": "sstreamLog",
"url": "/api/NxSStreamLogManager"
},
{
//管理员操作日志管理
"name": "adminLog",
"url": "/api/NxAdminLogManager"
},
{
//权限资源管理
"name": "resource",
"url": "/api/NxUrlResourceManager"
},
{
//http日志
"name": "httpLog",
"url": "/api/HttpAccessLog"
},
{
//consul
"name": "consul",
"url": "/api/Consul"
},
{
//vue设置
"name": "vueSetting",
"url": "/api/HttpVueSetting"
},
{
//app环境
"name": "appEnv",
"url": "/api/AppEnvironment"
},
//version:0.9.2.2 新增配置
{
//workflow存储
"name": "workflowStore",
"url": "/api/TestFlow"
},
{
//workflow引擎
"name": "workflowEngine",
"url": "/api/TestEng"
},
{
//workflow实体(内置)
"name": "workflowEntity",
"url": "/api/ApiFlowEntity"
}
//version:0.9.2.2 end
],
//安全设置
"safe": {
"useThreePerson": true, //单体应用时,后端业务系统是否启用3员
"user_UnActiveName": "IsActived=0",
"user_PK_UserId": "UserId",
"user_FK_RoleId": "RoleId",
"role_TableName": "ARole",
"role_PK_RoleId": "RoleId",
"role_RoleName": "RoleName",
"role_RoleValue": "RoleValue",
"role_IsAdmin": "IsAdmin",
"role_IsSafeOfficer": "IsSO",
"role_IsSafeAuditor": "IsSA"
}
},
//外出系统打包的设置
"zbPackageApp": {
//Web主机路径, 后端服务是多个系统部署时,请用英文逗号分割,提供多个地址(仅限在同一主机上的部署)
"webHostPath": "E:\\单位工程\\iMRO.Platform\\iMRO.WebSvr\\bin\\Debug\\net6.0",
//Web页面路径
"webPagePath": "E:\\组件工程\\NXDO.Components4NetCore\\NXDO.ATestSingleVUE\\bin\\Debug\\net6.0\\wwwroot",
//Db文件存放目录名称,例如:上传mysql.***.zip后,打包进app的压缩文件时,db所需文件全部存放在该目录下
"dbFolderName": "mysql",
//客户端App的配置文件
"appJsonConfigName": "VueSite.json"
},
"user_columns": [
{
"title": "姓名",
"prop": "realName",
"width": 120
},
{
"title": "用户",
"prop": "userName",
"width": 150
},
{
"title": "激活",
"prop": "isActived",
"width": 100
},
{
"title": "角色",
"prop": "roleId",
"width": 150,
"render": "u => selfVue.renderRoleName(u)" //selfVue为页面中传入的参数
},
{
"title": "创建时间",
"prop": "CreateTime"
}
],
//todo:未使用
"menus": [
{
"name": "",
"title": "",
"icon": "",
"count": 0,
"children": []
},
{
}
]
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- NXDO.Data (>= 4.4.689)
- NXDO.Data.Reflection (>= 4.4.689)
- NXDO.Data.Security (>= 4.4.689)
- NXDO.WebAPI (>= 2.6.689)
-
net8.0
- NXDO.Data (>= 4.4.689)
- NXDO.Data.Reflection (>= 4.4.689)
- NXDO.Data.Security (>= 4.4.689)
- NXDO.WebAPI (>= 2.6.689)
-
net9.0
- NXDO.Data (>= 4.4.689)
- NXDO.Data.Reflection (>= 4.4.689)
- NXDO.Data.Security (>= 4.4.689)
- NXDO.WebAPI (>= 2.6.689)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
1)workflow的动态装载及其维护功能的支持,2)优化调整了部分vue的功能