From 42d56b9dbc83be92346b0d280e6e517b53ae5217 Mon Sep 17 00:00:00 2001 From: Argo-Tianyi Date: Fri, 8 Oct 2021 15:29:06 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E6=9B=B4=E6=94=B9=E7=BB=84=E7=BB=87?= =?UTF-8?q?=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 26 ++++++++-------- README.zh-CN.md | 30 +++++++++---------- db/MySQL/initData.sql | 2 +- db/Oracle/InitData.sql | 2 +- db/Postgresql/initData.sql | 2 +- db/SQLite/InitData.sql | 2 +- db/SqlServer/InitData.sql | 2 +- .../Controllers/Api/GiteeController.cs | 6 ++-- .../Views/Account/Login-Gitee.cshtml | 2 +- .../Bootstrap.Admin/Views/Admin/Groups.cshtml | 2 +- .../Views/Shared/LoginFooter.cshtml | 2 +- .../appsettings.Development.json | 2 +- .../Bootstrap.Admin/wwwroot/html/login1.html | 2 +- .../wwwroot/lib/longbow/longbow.common.js | 2 +- .../wwwroot/lib/longbow/longbow.dataentity.js | 2 +- .../Helper/TraceHelper.cs | 2 +- .../Bootstrap.Client.DataAccess/Dict.cs | 2 +- .../Bootstrap.Client/Views/Home/Index.cshtml | 2 +- .../wwwroot/lib/longbow/longbow.common.js | 2 +- .../wwwroot/lib/longbow/longbow.dataentity.js | 2 +- 20 files changed, 48 insertions(+), 48 deletions(-) diff --git a/README.md b/README.md index 2ea970eb..19412b0f 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ --- ##### Version & Coverage -[![Release](https://img.shields.io/endpoint.svg?logo=Groupon&logoColor=red&color=green&label=release&url=https://admin.blazor.zone/api/Gitee/Releases?userName=dotnetchina)](https://gitee.com/dotnetchina/BootstrapAdmin/releases) +[![Release](https://img.shields.io/endpoint.svg?logo=Groupon&logoColor=red&color=green&label=release&url=https://admin.blazor.zone/api/Gitee/Releases?userName=LongbowEnterprise)](https://gitee.com/LongbowEnterprise/BootstrapAdmin/releases) [![Coveralls](https://img.shields.io/coveralls/github/ArgoZhang/BootstrapAdmin/master.svg?logo=ReverbNation&logoColor=green&label=coveralls)](https://coveralls.io/github/ArgoZhang/BootstrapAdmin) [![Codecov](https://img.shields.io/codecov/c/gh/argozhang/bootstrapadmin/master.svg?logo=codecov&label=codecov)](https://codecov.io/gh/argozhang/bootstrapadmin/branch/master) @@ -13,8 +13,8 @@ [![Appveyor build](https://img.shields.io/endpoint.svg?logo=appveyor&label=build&color=blueviolet&url=https://admin.blazor.zone/api/Gitee/Builds?projName=bootstrapadmin-9m1jm)](https://ci.appveyor.com/project/ArgoZhang/bootstrapadmin-9m1jm) [![Build Status](https://img.shields.io/appveyor/ci/ArgoZhang/bootstrapadmin-9m1jm/master.svg?logo=appveyor&label=master)](https://ci.appveyor.com/project/ArgoZhang/bootstrapadmin-9m1jm/branch/master) [![Test](https://img.shields.io/appveyor/tests/ArgoZhang/bootstrapadmin-9m1jm/master.svg?logo=appveyor&)](https://ci.appveyor.com/project/ArgoZhang/bootstrapadmin-9m1jm/branch/master/tests) -[![Issue Status](https://img.shields.io/endpoint.svg?logo=Groupon&logoColor=critical&label=issues&url=https://admin.blazor.zone/api/Gitee/Issues?userName=dotnetchina)](https://gitee.com/dotnetchina/BootstrapAdmin/issues) -[![Pull Status](https://img.shields.io/endpoint.svg?logo=Groupon&logoColor=green&color=success&label=pulls&url=https://admin.blazor.zone/api/Gitee/Pulls?userName=dotnetchina)](https://gitee.com/dotnetchina/BootstrapAdmin/pulls) +[![Issue Status](https://img.shields.io/endpoint.svg?logo=Groupon&logoColor=critical&label=issues&url=https://admin.blazor.zone/api/Gitee/Issues?userName=LongbowEnterprise)](https://gitee.com/LongbowEnterprise/BootstrapAdmin/issues) +[![Pull Status](https://img.shields.io/endpoint.svg?logo=Groupon&logoColor=green&color=success&label=pulls&url=https://admin.blazor.zone/api/Gitee/Pulls?userName=LongbowEnterprise)](https://gitee.com/LongbowEnterprise/BootstrapAdmin/pulls) ##### GitHub [![Appveyor build](https://img.shields.io/endpoint.svg?logo=appveyor&label=build&color=blueviolet&url=https://admin.blazor.zone/api/Gitee/Builds?projName=bootstrapadmin)](https://ci.appveyor.com/project/ArgoZhang/bootstrapadmin) @@ -29,7 +29,7 @@ Because the dependent on Bootstrap v4, so it is called **Bootstrap Admin**. This ### Notes Bootstrap Admin does not require secondary development, but only integration with the front-end system. The front-end system model project is **Bootstrap. Client** -The original starting point of the project is to separate the privilege system from the business system. The project development focuses on functions. For detailed configuration instructions, please click on [View Documents](https://gitee.com/dotnetchina/BootstrapAdmin/wikis/%E7%B3%BB%E7%BB%9F%E9%89B%86%E6%88%90). +The original starting point of the project is to separate the privilege system from the business system. The project development focuses on functions. For detailed configuration instructions, please click on [View Documents](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/%E7%B3%BB%E7%BB%9F%E9%89B%86%E6%88%90). ### Features 1. Integration with Front-end Website through Configuration @@ -49,7 +49,7 @@ Departments Authorize Users 10. Built-in data memory caching mechanism, page fast response 11. Built-in Data **Operation Log** and User **Log on** -[Update log](https://gitee.com/dotnetchina/BootstrapAdmin/wikis/更新日志) +[Update log](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/更新日志) ### Advantage 1. The front-end system does not need to write login, authorization and authentication modules; it is only responsible for writing business modules. @@ -57,12 +57,12 @@ Departments Authorize Users 3. Front-end and back-end systems are separated, which are different systems (domain name can be independent) 4. Extensible to multi-tenant applications -For more information, please click [wiki](https://gitee.com/dotnetchina/BootstrapAdmin/wikis/%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D) +For more information, please click [wiki](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D) ### Database **MSSQL/Oracle/SQLite/MySql/MariaDB/Firebird/MongoDB** -For more information, please click [wiki](https://gitee.com/dotnetchina/BootstrapAdmin/wikis/数据库连接配置?sort_id=1333482) +For more information, please click [wiki](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/数据库连接配置?sort_id=1333482) ### Browser ![chrome](https://img.shields.io/badge/chrome->%3D4.5-success.svg?logo=google%20chrome&logoColor=red) @@ -114,11 +114,11 @@ For more information, please click [wiki](https://gitee.com/dotnetchina/Bootstra ## Installation 1. Install .net core sdk [Offical website](http://www.microsoft.com/net/download) 2. Install Visual Studio 2019 lastest [Offical website](https://visualstudio.microsoft.com/vs/getting-started/) -3. Git clone `git clone https://gitee.com/dotnetchina/BootstrapAdmin.git` +3. Git clone `git clone https://gitee.com/LongbowEnterprise/BootstrapAdmin.git` 4. Login as Admin/123789 ## Branchs -[Details](https://gitee.com/dotnetchina/BootstrapAdmin/wikis/分支说明) +[Details](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/分支说明) ## Online Demonstration [![website1](https://img.shields.io/badge/linux-http://ba.zylweb.cn-success.svg?logo=buzzfeed&logoColor=green)](http://ba.zylweb.cn) @@ -145,13 +145,13 @@ docker pull reg.qiniu.com/argozhang/ba ``` ## Configurations -Detailed configuration instructions please click [wikis](https://gitee.com/dotnetchina/BootstrapAdmin/wikis) +Detailed configuration instructions please click [wikis](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis) ## Q&A -Please click [wikis](https://gitee.com/dotnetchina/BootstrapAdmin/wikis/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98Q&A) +Please click [wikis](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98Q&A) ## License -[![Gitee license](https://img.shields.io/github/license/argozhang/bootstrapadmin.svg?logo=git&logoColor=red)](https://gitee.com/dotnetchina/BootstrapAdmin/blob/master/LICENSE) +[![Gitee license](https://img.shields.io/github/license/argozhang/bootstrapadmin.svg?logo=git&logoColor=red)](https://gitee.com/LongbowEnterprise/BootstrapAdmin/blob/master/LICENSE) ## GVP award [View](https://images.gitee.com/uploads/images/2021/0112/112021_9d570be1_554725.png "GiteeGVP.png") @@ -162,7 +162,7 @@ Home ![Home](https://gitee.com/LongbowEnterprise/Pictures/raw/master/BootstrapAdmin/BA02-01.png "BAHome-01.png") -For more screenshots, Click [wiki](https://gitee.com/dotnetchina/BootstrapAdmin/wikis) +For more screenshots, Click [wiki](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis) ## Contribution diff --git a/README.zh-CN.md b/README.zh-CN.md index 6163616e..b401873a 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -5,7 +5,7 @@ --- ##### Version & Coverage -[![Release](https://img.shields.io/endpoint.svg?logo=Groupon&logoColor=red&color=green&label=release&url=https://admin.blazor.zone/api/Gitee/Releases?userName=dotnetchina)](https://gitee.com/dotnetchina/BootstrapAdmin/releases) +[![Release](https://img.shields.io/endpoint.svg?logo=Groupon&logoColor=red&color=green&label=release&url=https://admin.blazor.zone/api/Gitee/Releases?userName=LongbowEnterprise)](https://gitee.com/LongbowEnterprise/BootstrapAdmin/releases) [![Coveralls](https://img.shields.io/coveralls/github/ArgoZhang/BootstrapAdmin/master.svg?logo=ReverbNation&logoColor=green&label=coveralls)](https://coveralls.io/github/ArgoZhang/BootstrapAdmin?branch=master) [![Codecov](https://img.shields.io/codecov/c/gh/argozhang/bootstrapadmin/master.svg?logo=codecov&label=codecov)](https://codecov.io/gh/argozhang/bootstrapadmin/branch/master) @@ -13,8 +13,8 @@ [![Appveyor build](https://img.shields.io/endpoint.svg?logo=appveyor&label=build&color=blueviolet&url=https://admin.blazor.zone/api/Gitee/Builds?projName=bootstrapadmin-9m1jm)](https://ci.appveyor.com/project/ArgoZhang/bootstrapadmin-9m1jm) [![Build Status](https://img.shields.io/appveyor/ci/ArgoZhang/bootstrapadmin-9m1jm/master.svg?logo=appveyor&label=master)](https://ci.appveyor.com/project/ArgoZhang/bootstrapadmin-9m1jm/branch/master) [![Test](https://img.shields.io/appveyor/tests/ArgoZhang/bootstrapadmin-9m1jm/master.svg?logo=appveyor&)](https://ci.appveyor.com/project/ArgoZhang/bootstrapadmin-9m1jm/branch/master/tests) -[![Issue Status](https://img.shields.io/endpoint.svg?logo=Groupon&logoColor=critical&label=issues&url=https://admin.blazor.zone/api/Gitee/Issues?userName=dotnetchina)](https://gitee.com/dotnetchina/BootstrapAdmin/issues) -[![Pull Status](https://img.shields.io/endpoint.svg?logo=Groupon&logoColor=green&color=success&label=pulls&url=https://admin.blazor.zone/api/Gitee/Pulls?userName=dotnetchina)](https://gitee.com/dotnetchina/BootstrapAdmin/pulls) +[![Issue Status](https://img.shields.io/endpoint.svg?logo=Groupon&logoColor=critical&label=issues&url=https://admin.blazor.zone/api/Gitee/Issues?userName=LongbowEnterprise)](https://gitee.com/LongbowEnterprise/BootstrapAdmin/issues) +[![Pull Status](https://img.shields.io/endpoint.svg?logo=Groupon&logoColor=green&color=success&label=pulls&url=https://admin.blazor.zone/api/Gitee/Pulls?userName=LongbowEnterprise)](https://gitee.com/LongbowEnterprise/BootstrapAdmin/pulls) ##### GitHub [![Appveyor build](https://img.shields.io/endpoint.svg?logo=appveyor&label=build&color=blueviolet&url=https://admin.blazor.zone/api/Gitee/Builds?projName=bootstrapadmin)](https://ci.appveyor.com/project/ArgoZhang/bootstrapadmin) @@ -40,7 +40,7 @@ ### 特别说明 **BootstrapAdmin** 无需二次开发,要做的仅仅是与前台系统集成,前台系统模板工程为 **Bootstrap.Client** -项目原始出发点是把权限系统从业务系统中剥离出来,项目开发专注于功能,详细配置说明请点击 [查看文档](https://gitee.com/dotnetchina/BootstrapAdmin/wikis/%E7%B3%BB%E7%BB%9F%E9%9B%86%E6%88%90) +项目原始出发点是把权限系统从业务系统中剥离出来,项目开发专注于功能,详细配置说明请点击 [查看文档](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/%E7%B3%BB%E7%BB%9F%E9%9B%86%E6%88%90) ### 主要功能 1. 通过配置与前台网站集成 @@ -61,7 +61,7 @@ 11. 内置数据 **操作日志** 与用户 **登录日志** 跟踪记录用户 **登录主机地点** **浏览器** **操作系统** 信息 -更新日志:[传送门](https://gitee.com/dotnetchina/BootstrapAdmin/wikis/更新日志) +更新日志:[传送门](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/更新日志) ### 优势 1. 前台系统不用编写登录、授权、认证模块;只负责编写业务模块即可 @@ -69,7 +69,7 @@ 3. 前台与后台系统分离,分别为不同的系统(域名可独立) 4. 可扩展为多租户应用 -详细资料请点击 [查看文档](https://gitee.com/dotnetchina/BootstrapAdmin/wikis/%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D) +详细资料请点击 [查看文档](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/%E9%A1%B9%E7%9B%AE%E4%BB%8B%E7%BB%8D) ### 数据库 数据库支持列表如下: @@ -130,9 +130,9 @@ ## 开发环境搭建 1. 安装 .net core sdk [官方网址](http://www.microsoft.com/net/download) 2. 安装 Visual Studio 2019 最新版 [官方网址](https://visualstudio.microsoft.com/vs/getting-started/) -3. 获取本项目代码 [BootstrapAdmin](https://gitee.com/dotnetchina/BootstrapAdmin) +3. 获取本项目代码 [BootstrapAdmin](https://gitee.com/LongbowEnterprise/BootstrapAdmin) -环境搭建教程 [详细说明](https://gitee.com/dotnetchina/BootstrapAdmin/wikis/%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B?sort_id=1333477) +环境搭建教程 [详细说明](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/%E5%AE%89%E8%A3%85%E6%95%99%E7%A8%8B?sort_id=1333477) ### 安装数据库 @@ -143,10 +143,10 @@ 4. Oracle 5. MongoDB -数据库配置 [详细说明](https://gitee.com/dotnetchina/BootstrapAdmin/wikis/数据库连接配置?sort_id=1333482) +数据库配置 [详细说明](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/数据库连接配置?sort_id=1333482) ## 分支说明 -分支说明 [详细说明](https://gitee.com/dotnetchina/BootstrapAdmin/wikis/分支说明) +分支说明 [详细说明](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/分支说明) ## 演示地址 [![website1](https://img.shields.io/badge/linux-http://ba.zylweb.cn-success.svg?logo=buzzfeed&logoColor=green)](http://ba.zylweb.cn) @@ -173,13 +173,13 @@ docker pull reg.qiniu.com/argozhang/ba ``` ## 配置说明 -详细配置说明请点击 [查看文档](https://gitee.com/dotnetchina/BootstrapAdmin/wikis) 查看配置说明小节 +详细配置说明请点击 [查看文档](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis) 查看配置说明小节 ## 常见问题Q&A -请点击 [查看文档](https://gitee.com/dotnetchina/BootstrapAdmin/wikis/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98Q&A) 查看常见问题小节 +请点击 [查看文档](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98Q&A) 查看常见问题小节 ## 开源协议 -[![Gitee license](https://img.shields.io/github/license/argozhang/bootstrapadmin.svg?logo=git&logoColor=red)](https://gitee.com/dotnetchina/BootstrapAdmin/blob/master/LICENSE) +[![Gitee license](https://img.shields.io/github/license/argozhang/bootstrapadmin.svg?logo=git&logoColor=red)](https://gitee.com/LongbowEnterprise/BootstrapAdmin/blob/master/LICENSE) ## GVP 奖杯 ![项目奖杯](https://images.gitee.com/uploads/images/2021/0112/112021_9d570be1_554725.png "GVP.png") @@ -190,7 +190,7 @@ docker pull reg.qiniu.com/argozhang/ba ![后台首页](https://gitee.com/LongbowEnterprise/Pictures/raw/master/BootstrapAdmin/BA02-01.png "BAHome-01.png") -更多截图请点击 [查看文档](https://gitee.com/dotnetchina/BootstrapAdmin/wikis) 查看项目截图小节 +更多截图请点击 [查看文档](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis) 查看项目截图小节 ## 特别鸣谢 @@ -209,7 +209,7 @@ docker pull reg.qiniu.com/argozhang/ba ## 相关视频讲解 -[视频教材](https://gitee.com/dotnetchina/BootstrapAdmin/wikis/%E8%AF%BE%E7%A8%8B%E5%88%97%E8%A1%A8?sort_id=1916635#%E8%AF%BE%E7%A8%8B%E5%88%97%E8%A1%A8) +[视频教材](https://gitee.com/LongbowEnterprise/BootstrapAdmin/wikis/%E8%AF%BE%E7%A8%8B%E5%88%97%E8%A1%A8?sort_id=1916635#%E8%AF%BE%E7%A8%8B%E5%88%97%E8%A1%A8) ## 捐助 diff --git a/db/MySQL/initData.sql b/db/MySQL/initData.sql index 471c76b4..183ca82c 100644 --- a/db/MySQL/initData.sql +++ b/db/MySQL/initData.sql @@ -204,7 +204,7 @@ INSERT into Navigations (ParentId, Name, `Order`, Icon, Url, Category, Applicati INSERT into Navigations (ParentId, Name, `Order`, Icon, Url, Category, Application) VALUES (0, '测试页面', 20, 'fa fa-fa', '#', '1', 'Demo'); INSERT into Navigations (ParentId, Name, `Order`, Icon, Url, Category, Application) VALUES (@@identity, '关于', 10, 'fa fa-fa', '~/Home/About', '1', 'Demo'); -INSERT into Navigations (ParentId, Name, `Order`, Icon, Url, Category, Application) VALUES (0, '返回码云', 20, 'fa fa-fa', 'https://gitee.com/dotnetchina/BootstrapAdmin', '1', 'Demo'); +INSERT into Navigations (ParentId, Name, `Order`, Icon, Url, Category, Application) VALUES (0, '返回码云', 20, 'fa fa-fa', 'https://gitee.com/LongbowEnterprise/BootstrapAdmin', '1', 'Demo'); -- 菜单授权 INSERT INTO NavigationRole (NavigationId, RoleId) SELECT n.ID, r.ID FROM Navigations n left join Roles r on 1=1 Where r.RoleName = 'Default' and Application = 'Demo'; diff --git a/db/Oracle/InitData.sql b/db/Oracle/InitData.sql index c99d439e..79cdf2f3 100644 --- a/db/Oracle/InitData.sql +++ b/db/Oracle/InitData.sql @@ -203,7 +203,7 @@ INSERT into Navigations (Id, ParentId, Name, "ORDER", Icon, Url, Category, Appli INSERT into Navigations (Id, ParentId, Name, "ORDER", Icon, Url, Category, Application) VALUES (SEQ_NAVIGATIONS_ID.NEXTVAl, 0, '测试页面', 20, 'fa fa-fa', '#', '1', 'Demo'); INSERT into Navigations (Id, ParentId, Name, "ORDER", Icon, Url, Category, Application) VALUES (SEQ_NAVIGATIONS_ID.NEXTVAl, SEQ_NAVIGATIONS_ID.CURRVAL, '关于', 10, 'fa fa-fa', '~/Home/About', '1', 'Demo'); -INSERT into Navigations (Id, ParentId, Name, "ORDER", Icon, Url, Category, Application) VALUES (SEQ_NAVIGATIONS_ID.NEXTVAl, 0, '返回码云', 20, 'fa fa-fa', 'https://gitee.com/dotnetchina/BootstrapAdmin', '1', 'Demo'); +INSERT into Navigations (Id, ParentId, Name, "ORDER", Icon, Url, Category, Application) VALUES (SEQ_NAVIGATIONS_ID.NEXTVAl, 0, '返回码云', 20, 'fa fa-fa', 'https://gitee.com/LongbowEnterprise/BootstrapAdmin', '1', 'Demo'); -- 菜单授权 INSERT INTO NavigationRole (Id, NavigationId, RoleId) SELECT SEQ_NAVIGATIONROLE_ID.NEXTVAL, n.ID, r.ID FROM Navigations n left join Roles r on 1=1 Where r.RoleName = 'Default' and Application = 'Demo'; diff --git a/db/Postgresql/initData.sql b/db/Postgresql/initData.sql index 3fad4c0f..422812ee 100644 --- a/db/Postgresql/initData.sql +++ b/db/Postgresql/initData.sql @@ -171,7 +171,7 @@ Delete from Navigations where Application = '2'; INSERT into Navigations (ParentId, Name, "order", Icon, Url, Category, Application) VALUES (0, '首页', 10, 'fa fa-fa', '~/Home/Index', '1', 2); INSERT into Navigations (ParentId, Name, "order", Icon, Url, Category, Application) VALUES (0, '测试页面', 20, 'fa fa-fa', '#', '1', 2); INSERT into Navigations (ParentId, Name, "order", Icon, Url, Category, Application) VALUES (currval('navigations_id_seq') - 1, '关于', 10, 'fa fa-fa', '~/Home/About', '1', 2); -INSERT into Navigations (ParentId, Name, "order", Icon, Url, Category, Application) VALUES (0, '返回码云', 20, 'fa fa-fa', 'https://gitee.com/dotnetchina/BootstrapAdmin', '1', 2); +INSERT into Navigations (ParentId, Name, "order", Icon, Url, Category, Application) VALUES (0, '返回码云', 20, 'fa fa-fa', 'https://gitee.com/LongbowEnterprise/BootstrapAdmin', '1', 2); -- 菜单授权 DELETE FROM NavigationRole Where NavigationID in (Select ID From Navigations Where Application = '2'); diff --git a/db/SQLite/InitData.sql b/db/SQLite/InitData.sql index 541a5e50..3a105b6f 100644 --- a/db/SQLite/InitData.sql +++ b/db/SQLite/InitData.sql @@ -208,7 +208,7 @@ INSERT into [Navigations] ([ParentId], [Name], [Order], [Icon], [Url], [Category INSERT into [Navigations] ([ParentId], [Name], [Order], [Icon], [Url], [Category], [Application]) VALUES (0, '测试页面', 20, 'fa fa-fa', '#', '1', 'Demo'); INSERT into [Navigations] ([ParentId], [Name], [Order], [Icon], [Url], [Category], [Application]) VALUES (last_insert_rowid(), '关于', 10, 'fa fa-fa', '~/Home/About', '1', 'Demo'); -INSERT into [Navigations] ([ParentId], [Name], [Order], [Icon], [Url], [Category], [Application]) VALUES (0, '返回码云', 20, 'fa fa-fa', 'https://gitee.com/dotnetchina/BootstrapAdmin', '1', 'Demo'); +INSERT into [Navigations] ([ParentId], [Name], [Order], [Icon], [Url], [Category], [Application]) VALUES (0, '返回码云', 20, 'fa fa-fa', 'https://gitee.com/LongbowEnterprise/BootstrapAdmin', '1', 'Demo'); -- 菜单授权 INSERT INTO NavigationRole (NavigationId, RoleId) SELECT n.ID, r.ID FROM Navigations n left join Roles r on 1=1 Where r.RoleName = 'Default' and [Application] = 'Demo'; diff --git a/db/SqlServer/InitData.sql b/db/SqlServer/InitData.sql index 8062614c..3961638f 100644 --- a/db/SqlServer/InitData.sql +++ b/db/SqlServer/InitData.sql @@ -212,7 +212,7 @@ INSERT [dbo].[Navigations] ([ParentId], [Name], [Order], [Icon], [Url], [Categor INSERT [dbo].[Navigations] ([ParentId], [Name], [Order], [Icon], [Url], [Category], [Application]) VALUES (0, N'测试页面', 10, N'fa fa-fa', N'~/Home/Index', N'1', @AppId) INSERT [dbo].[Navigations] ([ParentId], [Name], [Order], [Icon], [Url], [Category], [Application]) VALUES (@@Identity, N'关于', 10, N'fa fa-fa', N'~/Home/Index', N'1', @AppId) -INSERT into [Navigations] ([ParentId], [Name], [Order], [Icon], [Url], [Category], [Application]) VALUES (0, N'返回码云', 20, 'fa fa-fa', 'https://gitee.com/dotnetchina/BootstrapAdmin', '1', @AppId) +INSERT into [Navigations] ([ParentId], [Name], [Order], [Icon], [Url], [Category], [Application]) VALUES (0, N'返回码云', 20, 'fa fa-fa', 'https://gitee.com/LongbowEnterprise/BootstrapAdmin', '1', @AppId) -- 菜单授权 INSERT INTO NavigationRole SELECT n.ID, r.ID FROM Navigations n left join Roles r on 1=1 Where r.RoleName = 'Default' and [Application] = @AppId diff --git a/src/admin/Bootstrap.Admin/Controllers/Api/GiteeController.cs b/src/admin/Bootstrap.Admin/Controllers/Api/GiteeController.cs index 19f3f539..f6b87e80 100644 --- a/src/admin/Bootstrap.Admin/Controllers/Api/GiteeController.cs +++ b/src/admin/Bootstrap.Admin/Controllers/Api/GiteeController.cs @@ -27,7 +27,7 @@ namespace Bootstrap.Admin.Controllers.Api /// /// [HttpGet] - public async Task Issues([FromServices] GiteeHttpClient client, [FromQuery] string? userName = "dotnetchina", [FromQuery] string? repoName = "BootstrapAdmin", [FromQuery] string? label = "custom badge", [FromQuery] string? color = "orange") + public async Task Issues([FromServices] GiteeHttpClient client, [FromQuery] string? userName = "LongbowEnterprise", [FromQuery] string? repoName = "BootstrapAdmin", [FromQuery] string? label = "custom badge", [FromQuery] string? color = "orange") { var content = await client.HttpClient.GetStringAsync($"https://gitee.com/{userName}/{repoName}/issues"); var regex = Regex.Matches(content, "
([\\d]+)
", RegexOptions.IgnoreCase); @@ -48,7 +48,7 @@ namespace Bootstrap.Admin.Controllers.Api /// /// [HttpGet] - public async Task Pulls([FromServices] GiteeHttpClient client, [FromQuery] string? userName = "dotnetchina", [FromQuery] string? repoName = "BootstrapAdmin", [FromQuery] string? label = "custom badge", [FromQuery] string? color = "orange") + public async Task Pulls([FromServices] GiteeHttpClient client, [FromQuery] string? userName = "LongbowEnterprise", [FromQuery] string? repoName = "BootstrapAdmin", [FromQuery] string? label = "custom badge", [FromQuery] string? color = "orange") { var content = await client.HttpClient.GetStringAsync($"https://gitee.com/{userName}/{repoName}/pulls") ?? ""; var regex = Regex.Matches(content, "
([\\d]+)
", RegexOptions.IgnoreCase); @@ -68,7 +68,7 @@ namespace Bootstrap.Admin.Controllers.Api /// /// [HttpGet] - public async Task Releases([FromServices] GiteeHttpClient client, [FromQuery] string? userName = "dotnetchina", [FromQuery] string? repoName = "BootstrapAdmin", [FromQuery] string? label = "custom badge", [FromQuery] string? color = "orange") + public async Task Releases([FromServices] GiteeHttpClient client, [FromQuery] string? userName = "LongbowEnterprise", [FromQuery] string? repoName = "BootstrapAdmin", [FromQuery] string? label = "custom badge", [FromQuery] string? color = "orange") { var content = await client.HttpClient.GetStringAsync($"https://gitee.com/{userName}/{repoName}/releases") ?? ""; var regex = Regex.Match(content, $"", RegexOptions.IgnoreCase); diff --git a/src/admin/Bootstrap.Admin/Views/Account/Login-Gitee.cshtml b/src/admin/Bootstrap.Admin/Views/Account/Login-Gitee.cshtml index ddae9a1d..8df3a098 100644 --- a/src/admin/Bootstrap.Admin/Views/Account/Login-Gitee.cshtml +++ b/src/admin/Bootstrap.Admin/Views/Account/Login-Gitee.cshtml @@ -53,7 +53,7 @@

diff --git a/src/admin/Bootstrap.Admin/Views/Admin/Groups.cshtml b/src/admin/Bootstrap.Admin/Views/Admin/Groups.cshtml index 35f7baf9..f6027eab 100644 --- a/src/admin/Bootstrap.Admin/Views/Admin/Groups.cshtml +++ b/src/admin/Bootstrap.Admin/Views/Admin/Groups.cshtml @@ -59,7 +59,7 @@ } @section cardbody { } @await Html.PartialAsync("RoleConfig") diff --git a/src/admin/Bootstrap.Admin/Views/Shared/LoginFooter.cshtml b/src/admin/Bootstrap.Admin/Views/Shared/LoginFooter.cshtml index f83e23bf..727fe80c 100644 --- a/src/admin/Bootstrap.Admin/Views/Shared/LoginFooter.cshtml +++ b/src/admin/Bootstrap.Admin/Views/Shared/LoginFooter.cshtml @@ -2,7 +2,7 @@ diff --git a/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js b/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js index 6edd383b..8661857c 100644 --- a/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js +++ b/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.common.js @@ -508,7 +508,7 @@ $(settings.queryButton).on('click', this, function (e) { // fix bug: 翻页后再更改查询条件导致页码未更改数据为空 // 更改页码为 1 即可 - // https://gitee.com/dotnetchina/BootstrapAdmin/issues/I1A739 + // https://gitee.com/LongbowEnterprise/BootstrapAdmin/issues/I1A739 var options = e.data.data('bootstrap.table').options; options.pageNumber = 1; e.data.bootstrapTable('refresh'); diff --git a/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.dataentity.js b/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.dataentity.js index 6cd75aaa..2f6fb8bd 100644 --- a/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.dataentity.js +++ b/src/admin/Bootstrap.Admin/wwwroot/lib/longbow/longbow.dataentity.js @@ -130,7 +130,7 @@ } // fix bug: 翻页后再更改查询条件导致页码未更改数据为空 // 更改页码为 1 即可 - // https://gitee.com/dotnetchina/BootstrapAdmin/issues/I1A739 + // https://gitee.com/LongbowEnterprise/BootstrapAdmin/issues/I1A739 var options = this.options.bootstrapTable.data('bootstrap.table').options; options.pageNumber = 1; this.options.bootstrapTable.bootstrapTable('refresh'); diff --git a/src/admin/Bootstrap.DataAccess/Helper/TraceHelper.cs b/src/admin/Bootstrap.DataAccess/Helper/TraceHelper.cs index 214afd55..63dbd33b 100644 --- a/src/admin/Bootstrap.DataAccess/Helper/TraceHelper.cs +++ b/src/admin/Bootstrap.DataAccess/Helper/TraceHelper.cs @@ -25,7 +25,7 @@ namespace Bootstrap.DataAccess var user = UserHelper.RetrieveUserByUserName(context.User.Identity.Name); // user == null 以前登录过客户端保留了 Cookie 但是用户名可能被系统删除 - // link bug: https://gitee.com/dotnetchina/BootstrapAdmin/issues/I123MH + // link bug: https://gitee.com/LongbowEnterprise/BootstrapAdmin/issues/I123MH if (user != null) { v.UserName = user.UserName; diff --git a/src/client/Bootstrap.Client.DataAccess/Dict.cs b/src/client/Bootstrap.Client.DataAccess/Dict.cs index 16de1a0a..510af7a8 100644 --- a/src/client/Bootstrap.Client.DataAccess/Dict.cs +++ b/src/client/Bootstrap.Client.DataAccess/Dict.cs @@ -120,7 +120,7 @@ namespace Bootstrap.Client.DataAccess /// protected virtual string RetrieveFullUrl(string appId, Func func) { - // https://gitee.com/dotnetchina/BootstrapAdmin/issues/I1DIKG + // https://gitee.com/LongbowEnterprise/BootstrapAdmin/issues/I1DIKG // 相对路径时拼接后台地址 // 绝对路径时直接使用 diff --git a/src/client/Bootstrap.Client/Views/Home/Index.cshtml b/src/client/Bootstrap.Client/Views/Home/Index.cshtml index 1f43873d..b99f3a35 100644 --- a/src/client/Bootstrap.Client/Views/Home/Index.cshtml +++ b/src/client/Bootstrap.Client/Views/Home/Index.cshtml @@ -34,7 +34,7 @@
  • 普通账号 User/123789
  • -

    最新功能更新请查看 更新日志

    +

    最新功能更新请查看 更新日志

    diff --git a/src/client/Bootstrap.Client/wwwroot/lib/longbow/longbow.common.js b/src/client/Bootstrap.Client/wwwroot/lib/longbow/longbow.common.js index c4bec1bf..2ba5dd01 100644 --- a/src/client/Bootstrap.Client/wwwroot/lib/longbow/longbow.common.js +++ b/src/client/Bootstrap.Client/wwwroot/lib/longbow/longbow.common.js @@ -507,7 +507,7 @@ $(settings.queryButton).on('click', this, function (e) { // fix bug: 翻页后再更改查询条件导致页码未更改数据为空 // 更改页码为 1 即可 - // https://gitee.com/dotnetchina/BootstrapAdmin/issues/I1A739 + // https://gitee.com/LongbowEnterprise/BootstrapAdmin/issues/I1A739 var options = e.data.data('bootstrap.table').options; options.pageNumber = 1; e.data.bootstrapTable('refresh'); diff --git a/src/client/Bootstrap.Client/wwwroot/lib/longbow/longbow.dataentity.js b/src/client/Bootstrap.Client/wwwroot/lib/longbow/longbow.dataentity.js index 629a044c..a78e2cb0 100644 --- a/src/client/Bootstrap.Client/wwwroot/lib/longbow/longbow.dataentity.js +++ b/src/client/Bootstrap.Client/wwwroot/lib/longbow/longbow.dataentity.js @@ -130,7 +130,7 @@ } // fix bug: 翻页后再更改查询条件导致页码未更改数据为空 // 更改页码为 1 即可 - // https://gitee.com/dotnetchina/BootstrapAdmin/issues/I1A739 + // https://gitee.com/LongbowEnterprise/BootstrapAdmin/issues/I1A739 var options = this.options.bootstrapTable.data('bootstrap.table').options; options.pageNumber = 1; this.options.bootstrapTable.bootstrapTable('refresh');