NXDO.WebAPI.ZhuBird 0.9.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package NXDO.WebAPI.ZhuBird --version 0.9.2                
NuGet\Install-Package NXDO.WebAPI.ZhuBird -Version 0.9.2                
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" />                
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                
#r "nuget: NXDO.WebAPI.ZhuBird, 0.9.2"                
#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

// Install NXDO.WebAPI.ZhuBird as a Cake Tool
#tool nuget:?package=NXDO.WebAPI.ZhuBird&version=0.9.2                

简述

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
  1. 保证该配置文件在 “应用程序环境的根目录”
  2. 保证 NXDO.WebAPI.ZhuBird.dll 与 NXDO.WebAPI.N6.dll 在同目录,无需在调试exe项目中引用 (当然也支持 dll 引用)
  3. 开发运行的主程序必须配置:用户与角色
  4. 打开朱雀: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,允许使用物理文件
    "isSingleApp": true, //true:单体应用(需要配置 zbApiRoutes 的名称),false:含有webapi控制器的混合应用
    "showLogPassword": true, //true:登录日志显示密码,否则只为***字符
    "showMenuWithThree": true, //三员启用时,true:显示所有菜单(执行授权检查),false:隐藏无权菜单

    
    //单体应用时的设置
    "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"
            }
        ],

        //安全设置
        "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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.9.2.3 75 11/16/2024
0.9.2.2 90 11/13/2024
0.9.2.1 86 11/1/2024
0.9.2 243 12/19/2023

1)系统跟踪menu装载,2)对应webapi的接口调整后的实现与调整 3)对于login.vue的cookie读取时潜在bug进行优化