diff --git a/Readme.md b/Readme.md index b4224556..8b011e44 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,6 @@ 
-​ [Abp Vnext Pro](https://github.com/WangJunZzz/abp-vnext-pro) 的 Vue3 实现版本 开箱即用的中后台前端/设计解决方案 +​ [Abp Vnext Pro](https://github.com/WangJunZzz/abp-vnext-pro) 的 Vue3 实现版本 开箱即用的中后台前端/设计解决方案 @@ -21,12 +21,14 @@ #### 项目简介 -基于ABP Vnext4.4.0的微服务架构,基于DDD思想开发,基于vue3.0,Typescript,Antd 的后台管理框架,适用于大型分布式业务系统和企业后台。 -[演示地址http://120.24.194.14:8012/](http://120.24.194.14:8012/) +基于 ABP Vnext4.4.0 的微服务架构,基于 DDD 思想开发,基于 vue3.0,Typescript,Antd 的后台管理框架,适用于大型分布式业务系统和企业后台。 -- 用户名:admin 密码:1q2w3E* +- [文档地址](http://cncore.club/) +- [演示地址 http://120.24.194.14:8012/](http://120.24.194.14:8012/) -- 警告:不要修改IdentitySever4 客户端管理的Vue3客户端设置,不然影响IdentityServer4登录 +- 用户名:admin 密码:1q2w3E\* + +- 警告:不要修改 IdentitySever4 客户端管理的 Vue3 客户端设置,不然影响 IdentityServer4 登录 #### 系统功能 @@ -35,32 +37,26 @@ - [x] 审计日志 - [x] 后台任务(hangfire) - [x] 集成事件(dotnetcore.cap) -- [x] IdentityServer4 - - [x] 客户端管理 - - [x] Api资源管理 - - [x] ApiScope管理 - - [x] Identity资源管理 -- [x] SinglaR消息通知 +- [x] IdentityServer4 - [x] 客户端管理 - [x] Api 资源管理 - [x] ApiScope 管理 - [x] Identity 资源管理 +- [x] SinglaR 消息通知 - [x] 多语言 - [x] FreeSql -- [x] 数据字典(UI暂时没有) +- [x] 数据字典(UI 暂时没有) - [x] 容器化部署 - [x] 单元测试 -- [x] ES日志 +- [x] ES 日志 +- [x] Setting 管理 - [ ] 多租户 - [ ] 组织机构 - - #### 前端特别说明 -- abp 有提供默认api为什么要重写user,role,permission接口? - - 因为前端的调用后台接口通过nswag生成了代理,api提供的接口地址导致生成代理冲突所以重写了 - - 在后端有接口变化请在前端执行npm run nswag 重新生成代理 - - 建议后端的方法设置为post,前端会生成typecript的接口 - - 后端使用swagger的时候tag请不要用中文 [SwaggerOperation(summary: "获取所有角色", Tags = new[] { "Role" })] - - 前端代理生成在src/services下,如何使用请参考用户模块 - +- abp 有提供默认 api 为什么要重写 user,role,permission 接口? + - 因为前端的调用后台接口通过 nswag 生成了代理,api 提供的接口地址导致生成代理冲突所以重写了 + - 在后端有接口变化请在前端执行 npm run nswag 重新生成代理 + - 建议后端的方法设置为 post,前端会生成 typecript 的接口 + - 后端使用 swagger 的时候 tag 请不要用中文 [SwaggerOperation(summary: "获取所有角色", Tags = new[] { "Role" })] + - 前端代理生成在 src/services 下,如何使用请参考用户模块 - 前端 - 多语言基于前端,后端 Api 的多语言基于 abp 自带的; - 配置菜单,属性 meta.policy 不传代表不验证权限 @@ -68,24 +64,23 @@ ### 使用 -- 下载代码生成器,Git仓库(https://github.com/WangJunZzz/abp-vnext-pro-gui) +- 下载代码生成器,Git 仓库(https://github.com/WangJunZzz/abp-vnext-pro-gui) ![](https://blog-resouce.oss-cn-shenzhen.aliyuncs.com/images/abp/gui.png) - 启动 - - 前端yarn - - - 后端修改mysql和redis连接字符串 - + + - 前端 yarn + + - 后端修改 mysql 和 redis 连接字符串 + - 执行迁移控制台程序 - - - 启动HttpApi.Host和IdentityServer4 - - + + - 启动 HttpApi.Host 和 IdentityServer4 #### 参与贡献 非常欢迎你的贡献,你可以通过以下方式和我们一起共建 :star2:: - 通过 [Issue](https://github.com/WangJunZzz/abp-vnext-pro/issues) 报告:bug:或进行咨询。 -- QQ群:686933575 +- QQ 群:686933575 diff --git a/aspnet-core/services/src/CompanyName.ProjectName.DbMigrator/appsettings.json b/aspnet-core/services/src/CompanyName.ProjectName.DbMigrator/appsettings.json index 076a85ec..1f210a15 100644 --- a/aspnet-core/services/src/CompanyName.ProjectName.DbMigrator/appsettings.json +++ b/aspnet-core/services/src/CompanyName.ProjectName.DbMigrator/appsettings.json @@ -1,29 +1,5 @@ { "ConnectionStrings": { - "Default": "Data Source=120.24.194.14;Database=CompanyNameProjectNameDB;uid=root;pwd=1q2w3E*;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true" - }, - "IdentityServer": { - "Clients": { - "ProjectName_Web": { - "ClientId": "ProjectName_Web", - "ClientSecret": "1q2w3e*", - "RootUrl": "https://localhost:44379" - }, - "ProjectName_App": { - "ClientId": "ProjectName_App", - "ClientSecret": "1q2w3e*", - "RootUrl": "http://localhost:3100" - }, - "ProjectName_BlazorServerTiered": { - "ClientId": "ProjectName_BlazorServerTiered", - "ClientSecret": "1q2w3e*", - "RootUrl": "https://localhost:44314" - }, - "ProjectName_Swagger": { - "ClientId": "ProjectName_Swagger", - "ClientSecret": "1q2w3e*", - "RootUrl": "https://localhost:44315" - } - } + "Default": "Data Source=localhost;Database=CompanyNameProjectNameDB;uid=root;pwd=1q2w3E*;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true" } } \ No newline at end of file diff --git a/vben271/src/router/routes/modules/admin.ts b/vben271/src/router/routes/modules/admin.ts index 08531726..4e2c67b2 100644 --- a/vben271/src/router/routes/modules/admin.ts +++ b/vben271/src/router/routes/modules/admin.ts @@ -43,7 +43,7 @@ const admin: AppRouteModule = { component: () => import('/@/views/admin/settings/Setting.vue'), meta: { title: t('routes.admin.settingManagement'), - policy: 'AbpIdentity.Roles', + policy: 'SettingUi.ShowSettingPage', icon: 'ant-design:unordered-list-outlined', }, },