From ca8b2a82c4c86e2d8a591ddd0eb32d259beb1859 Mon Sep 17 00:00:00 2001 From: wintel Date: Thu, 24 Apr 2025 00:03:31 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E6=A0=87=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- newdocs/docs/notes/core/cache.md | 1 - newdocs/docs/notes/core/changelog.md | 1 - newdocs/docs/notes/core/changesdk.md | 1 - newdocs/docs/notes/core/dataprivilege.md | 1 - newdocs/docs/notes/core/datapropertyrule.md | 2 -- newdocs/docs/notes/core/deploy.md | 3 +-- newdocs/docs/notes/core/deployapi.md | 1 - newdocs/docs/notes/core/devnew.md | 1 - newdocs/docs/notes/core/dynamicapi.md | 1 - newdocs/docs/notes/core/entity.md | 1 - newdocs/docs/notes/core/faq.md | 1 - newdocs/docs/notes/core/flowinstance.md | 2 +- newdocs/docs/notes/core/flowinstanceconcept.md | 1 - newdocs/docs/notes/core/flowinstancedev.md | 1 - newdocs/docs/notes/core/form.md | 1 - newdocs/docs/notes/core/identity.md | 3 +-- newdocs/docs/notes/core/job.md | 1 - newdocs/docs/notes/core/log.md | 1 - newdocs/docs/notes/core/logininfo.md | 1 - newdocs/docs/notes/core/moduleauth.md | 1 - newdocs/docs/notes/core/multidbs.md | 3 +-- newdocs/docs/notes/core/multitenant.md | 1 - newdocs/docs/notes/core/routineupdate.md | 1 - newdocs/docs/notes/core/specialist.md | 1 - newdocs/docs/notes/core/sqlsugar.md | 3 +-- newdocs/docs/notes/core/start.md | 1 - newdocs/docs/notes/core/thirdparty.md | 2 -- newdocs/docs/notes/core/unittest.md | 1 - newdocs/docs/notes/core/unitwork.md | 1 - newdocs/docs/notes/core/wwwarchitect.md | 3 +-- 30 files changed, 6 insertions(+), 37 deletions(-) diff --git a/newdocs/docs/notes/core/cache.md b/newdocs/docs/notes/core/cache.md index 3fb7993e..667eebf6 100644 --- a/newdocs/docs/notes/core/cache.md +++ b/newdocs/docs/notes/core/cache.md @@ -3,7 +3,6 @@ title: 缓存机制 createTime: 2025/04/23 21:03:10 permalink: /core/cache/ --- -# 缓存机制 ## 服务器缓存 diff --git a/newdocs/docs/notes/core/changelog.md b/newdocs/docs/notes/core/changelog.md index cb1dd5d0..c6e33881 100644 --- a/newdocs/docs/notes/core/changelog.md +++ b/newdocs/docs/notes/core/changelog.md @@ -3,7 +3,6 @@ title: 版本发布 createTime: 2025/04/23 21:03:10 permalink: /core/changelog/ --- -# 版本发布 ### v7.0 diff --git a/newdocs/docs/notes/core/changesdk.md b/newdocs/docs/notes/core/changesdk.md index 3ecd7127..ede9eece 100644 --- a/newdocs/docs/notes/core/changesdk.md +++ b/newdocs/docs/notes/core/changesdk.md @@ -3,7 +3,6 @@ title: 切换sdk版本 createTime: 2025/04/23 21:03:10 permalink: /core/changesdk/ --- -# 切换sdk版本 OpenAuth.Net最新版默认使用.Net SDK 9.0.100。如果你使用的是其他版本的sdk(如.net 6.0/7.0等)打开项目,需要调整csproj项目文件的TargetFramework。用记事本等工具,打开 `Infrastructure.csproj` `OpenAuth.Repository.csproj` `OpenAuth.App.csproj` `OpenAuth.Mvc.csproj` `OpenAuth.WebApi.csproj` `OpenAuth.IdentityServer.csproj`,将 ```csharp diff --git a/newdocs/docs/notes/core/dataprivilege.md b/newdocs/docs/notes/core/dataprivilege.md index 14ed7eba..b44ca59d 100644 --- a/newdocs/docs/notes/core/dataprivilege.md +++ b/newdocs/docs/notes/core/dataprivilege.md @@ -3,6 +3,5 @@ title: 数据权限 createTime: 2025/04/23 21:03:10 permalink: /core/dataprivilege/ --- -# 数据权限 关于数据权限控制,可以详细查看博文:[通用权限设计与实现](https://www.cnblogs.com/yubaolee/p/DataPrivilege.html) diff --git a/newdocs/docs/notes/core/datapropertyrule.md b/newdocs/docs/notes/core/datapropertyrule.md index 5bedff70..6a0a5c6b 100644 --- a/newdocs/docs/notes/core/datapropertyrule.md +++ b/newdocs/docs/notes/core/datapropertyrule.md @@ -4,8 +4,6 @@ createTime: 2025/04/23 21:03:10 permalink: /core/datapropertyrule/ --- -# 字段权限 - ::: warning 注意 字段权限只针对【非系统模块】有效,即在添加新模块的时候,需要设置模块属性“是否系统”为false。 ::: diff --git a/newdocs/docs/notes/core/deploy.md b/newdocs/docs/notes/core/deploy.md index aa260a09..fb90b430 100644 --- a/newdocs/docs/notes/core/deploy.md +++ b/newdocs/docs/notes/core/deploy.md @@ -1,9 +1,8 @@ --- -title: 部署 +title: 部署MVC createTime: 2025/04/23 21:03:10 permalink: /core/deploy/ --- -# 部署MVC ::: tip 提示 因.net core内部有自托管的Web服务器,推荐使用控制台方式部署。本内容基于控制台命令的方式。如果部署到IIS请自行百度:cold_sweat: diff --git a/newdocs/docs/notes/core/deployapi.md b/newdocs/docs/notes/core/deployapi.md index c4adf408..33fccd17 100644 --- a/newdocs/docs/notes/core/deployapi.md +++ b/newdocs/docs/notes/core/deployapi.md @@ -3,7 +3,6 @@ title: 部署API createTime: 2025/04/23 21:03:10 permalink: /core/deployapi/ --- -# 部署API ## 生成发布文件 diff --git a/newdocs/docs/notes/core/devnew.md b/newdocs/docs/notes/core/devnew.md index 9462f784..0ecc53c8 100644 --- a/newdocs/docs/notes/core/devnew.md +++ b/newdocs/docs/notes/core/devnew.md @@ -3,7 +3,6 @@ title: 添加新模块 createTime: 2025/04/23 21:03:10 permalink: /core/devnew/ --- -# 添加新模块 ## 前言 diff --git a/newdocs/docs/notes/core/dynamicapi.md b/newdocs/docs/notes/core/dynamicapi.md index 2137862d..e85ba74a 100644 --- a/newdocs/docs/notes/core/dynamicapi.md +++ b/newdocs/docs/notes/core/dynamicapi.md @@ -3,7 +3,6 @@ title: 动态API createTime: 2025/04/23 21:03:10 permalink: /core/dynamicapi/ --- -# 动态API 加快系统开发速度,框架提供动态API功能,可以实现无代码调整操作数据库。 diff --git a/newdocs/docs/notes/core/entity.md b/newdocs/docs/notes/core/entity.md index a7e630f4..819858a7 100644 --- a/newdocs/docs/notes/core/entity.md +++ b/newdocs/docs/notes/core/entity.md @@ -3,7 +3,6 @@ title: 数据库实体 createTime: 2025/04/23 21:03:10 permalink: /core/entity/ --- -# 数据库实体 ## 更换主键名称 diff --git a/newdocs/docs/notes/core/faq.md b/newdocs/docs/notes/core/faq.md index 012f5a45..4f092d5e 100644 --- a/newdocs/docs/notes/core/faq.md +++ b/newdocs/docs/notes/core/faq.md @@ -3,7 +3,6 @@ title: 常见问题处理 createTime: 2025/04/23 21:03:10 permalink: /core/faq/ --- -# 常见问题处理 ## 注释的使用 diff --git a/newdocs/docs/notes/core/flowinstance.md b/newdocs/docs/notes/core/flowinstance.md index 6a8a5239..84695612 100644 --- a/newdocs/docs/notes/core/flowinstance.md +++ b/newdocs/docs/notes/core/flowinstance.md @@ -3,7 +3,7 @@ title: 工作流实例 createTime: 2025/04/23 21:03:10 permalink: /core/flowinstance/ --- -# 工作流介绍 + OpenAuth.Net工作流基于国际标准的BPMN2.0规范,并在此基础上做了一些扩展,以满足国内各种需求。系统工作流分为两个大类: diff --git a/newdocs/docs/notes/core/flowinstanceconcept.md b/newdocs/docs/notes/core/flowinstanceconcept.md index 998a5975..02bb7e00 100644 --- a/newdocs/docs/notes/core/flowinstanceconcept.md +++ b/newdocs/docs/notes/core/flowinstanceconcept.md @@ -3,7 +3,6 @@ title: 工作流中的概念 createTime: 2025/04/23 21:03:10 permalink: /core/flowinstanceconcept/ --- -# 工作流中的概念 ## 并行网关 diff --git a/newdocs/docs/notes/core/flowinstancedev.md b/newdocs/docs/notes/core/flowinstancedev.md index 02c06d63..2f2fc2ec 100644 --- a/newdocs/docs/notes/core/flowinstancedev.md +++ b/newdocs/docs/notes/core/flowinstancedev.md @@ -3,7 +3,6 @@ title: 流程相关的代码 createTime: 2025/04/23 21:03:10 permalink: /core/flowinstancedev/ --- -# 流程相关的代码 ## 流程审批逻辑 diff --git a/newdocs/docs/notes/core/form.md b/newdocs/docs/notes/core/form.md index 98b1cafd..e93c4851 100644 --- a/newdocs/docs/notes/core/form.md +++ b/newdocs/docs/notes/core/form.md @@ -3,7 +3,6 @@ title: 表单设计 createTime: 2025/04/23 21:03:10 permalink: /core/form/ --- -# 表单设计 OpenAuth.Net集成了表单设计的功能,目前表单仅用于流程审批。后期会集成到代码生成功能中。系统内置的表单类型有以下几种: diff --git a/newdocs/docs/notes/core/identity.md b/newdocs/docs/notes/core/identity.md index 0db3a1d2..0156f33c 100644 --- a/newdocs/docs/notes/core/identity.md +++ b/newdocs/docs/notes/core/identity.md @@ -1,9 +1,8 @@ --- -title: identity +title: 登录认证 createTime: 2025/04/23 21:03:10 permalink: /core/identity/ --- -# 登录认证 OpenAuth.Net支持两种登录认证方式:token认证和自己搭建的OpenAuth.IdentityServer认证。 diff --git a/newdocs/docs/notes/core/job.md b/newdocs/docs/notes/core/job.md index 68b30e78..90a48ee2 100644 --- a/newdocs/docs/notes/core/job.md +++ b/newdocs/docs/notes/core/job.md @@ -3,7 +3,6 @@ title: 定时任务 createTime: 2025/04/23 21:03:10 permalink: /core/job/ --- -# 定时任务 ::: tip 提示 定时任务基于Quartz.Net开发 diff --git a/newdocs/docs/notes/core/log.md b/newdocs/docs/notes/core/log.md index 6563cf7c..4950fe39 100644 --- a/newdocs/docs/notes/core/log.md +++ b/newdocs/docs/notes/core/log.md @@ -3,7 +3,6 @@ title: 日志操作 createTime: 2025/04/23 21:03:10 permalink: /core/log/ --- -# 日志操作 ## 普通日志 diff --git a/newdocs/docs/notes/core/logininfo.md b/newdocs/docs/notes/core/logininfo.md index d354089d..9eaceeaf 100644 --- a/newdocs/docs/notes/core/logininfo.md +++ b/newdocs/docs/notes/core/logininfo.md @@ -3,7 +3,6 @@ title: 登录信息 createTime: 2025/04/23 21:03:10 permalink: /core/logininfo/ --- -# 登录信息 框架在应用层任意业务逻辑中,均可以通过`IAuth`接口判断是否登录和获取登录信息。所有继承BaseApp的业务逻辑可以直接使用`_auth`成员变量直接获取登录用户信息。 diff --git a/newdocs/docs/notes/core/moduleauth.md b/newdocs/docs/notes/core/moduleauth.md index 65d40fb7..705c10b0 100644 --- a/newdocs/docs/notes/core/moduleauth.md +++ b/newdocs/docs/notes/core/moduleauth.md @@ -3,7 +3,6 @@ title: 模块/菜单权限 createTime: 2025/04/23 21:03:10 permalink: /core/moduleauth/ --- -# 模块/菜单权限 网络上流行的经典的权限设计是【主体】- 【领域】 - 【权限】( who、what、how问题原型 ) 的设计思想,其中: diff --git a/newdocs/docs/notes/core/multidbs.md b/newdocs/docs/notes/core/multidbs.md index 4b61d2c0..6e163e2e 100644 --- a/newdocs/docs/notes/core/multidbs.md +++ b/newdocs/docs/notes/core/multidbs.md @@ -1,9 +1,8 @@ --- -title: 配置多数据库 +title: 多数据库 createTime: 2025/04/23 21:03:10 permalink: /core/multidbs/ --- -# 配置多数据库 框架支持同时访问多个数据库。具体操作如下: diff --git a/newdocs/docs/notes/core/multitenant.md b/newdocs/docs/notes/core/multitenant.md index 29edec8c..df679b6d 100644 --- a/newdocs/docs/notes/core/multitenant.md +++ b/newdocs/docs/notes/core/multitenant.md @@ -3,7 +3,6 @@ title: 多租户 createTime: 2025/04/23 21:03:10 permalink: /core/multitenant/ --- -# 多租户 目前市面上主流的多租户方案有三种: diff --git a/newdocs/docs/notes/core/routineupdate.md b/newdocs/docs/notes/core/routineupdate.md index fd32ed1c..49f34f0e 100644 --- a/newdocs/docs/notes/core/routineupdate.md +++ b/newdocs/docs/notes/core/routineupdate.md @@ -3,7 +3,6 @@ title: 日常提交 createTime: 2025/04/23 21:03:10 permalink: /core/routineupdate/ --- -# 日常提交(针对dev分支) * 2025.03.17 代码生成加上外部数据源支持 diff --git a/newdocs/docs/notes/core/specialist.md b/newdocs/docs/notes/core/specialist.md index 19aea1cd..168d9bb4 100644 --- a/newdocs/docs/notes/core/specialist.md +++ b/newdocs/docs/notes/core/specialist.md @@ -3,7 +3,6 @@ title: 后端开发规范 createTime: 2025/04/23 21:03:10 permalink: /core/specialist/ --- -# 后端开发规范 ## 数据库表及字段命名 diff --git a/newdocs/docs/notes/core/sqlsugar.md b/newdocs/docs/notes/core/sqlsugar.md index dc19c7ac..783df755 100644 --- a/newdocs/docs/notes/core/sqlsugar.md +++ b/newdocs/docs/notes/core/sqlsugar.md @@ -1,9 +1,8 @@ --- -title: sqlsugar +title: SqlSugar集成 createTime: 2025/04/23 21:03:10 permalink: /core/sqlsugar/ --- -# SqlSugar访问数据库 SqlSugar 是一款老牌.NET开源ORM框架,相对于EntityFramework复杂的Linq表达式,它拥有灵活的动态查询,如果你喜欢直接码Sql,那么它是你的不二之选。OpenAuth.Net 6.0及以后版本默认支持使用SqlSugar方式访问数据库。目前大多数模块都已使用SqlSugar的方式,这里以资源管理为例: diff --git a/newdocs/docs/notes/core/start.md b/newdocs/docs/notes/core/start.md index 5c986ccb..c57dbacb 100644 --- a/newdocs/docs/notes/core/start.md +++ b/newdocs/docs/notes/core/start.md @@ -3,7 +3,6 @@ title: 快速开始 createTime: 2025/04/23 21:03:10 permalink: /core/start/ --- -# 快速开始 ## 下载代码 diff --git a/newdocs/docs/notes/core/thirdparty.md b/newdocs/docs/notes/core/thirdparty.md index 93a25505..bee51478 100644 --- a/newdocs/docs/notes/core/thirdparty.md +++ b/newdocs/docs/notes/core/thirdparty.md @@ -3,8 +3,6 @@ title: 三方对接 createTime: 2025/04/23 21:03:10 permalink: /core/thirdparty/ --- -# 三方对接 - * 在OpenAuth中设计表单,注意表单中的控件名称,在步骤3调用OpenAuth创建流程实例接口时,frmData参数中的属性必须严格按该命名提交。 ![](/formthirdparty.png "表单设计说明") diff --git a/newdocs/docs/notes/core/unittest.md b/newdocs/docs/notes/core/unittest.md index eb0a3ac1..0bfdd168 100644 --- a/newdocs/docs/notes/core/unittest.md +++ b/newdocs/docs/notes/core/unittest.md @@ -3,7 +3,6 @@ title: 单元测试 createTime: 2025/04/23 21:03:10 permalink: /core/unittest/ --- -# 单元测试 为了方便项目调试,框架的所有层均支持单元测试。代码基于NUnit框架编写。测试内如大概如下: diff --git a/newdocs/docs/notes/core/unitwork.md b/newdocs/docs/notes/core/unitwork.md index 29b25906..6b7fdae7 100644 --- a/newdocs/docs/notes/core/unitwork.md +++ b/newdocs/docs/notes/core/unitwork.md @@ -3,7 +3,6 @@ title: 数据库读写及事务处理 createTime: 2025/04/23 21:03:10 permalink: /core/unitwork/ --- -# 数据库读写及事务处理 OpenAuth.Net使用Repository和Unitwork两种方式访问数据库。 diff --git a/newdocs/docs/notes/core/wwwarchitect.md b/newdocs/docs/notes/core/wwwarchitect.md index e61c2d8d..96529b1d 100644 --- a/newdocs/docs/notes/core/wwwarchitect.md +++ b/newdocs/docs/notes/core/wwwarchitect.md @@ -1,9 +1,8 @@ --- -title: 前端结构 +title: MVC前端 createTime: 2025/04/23 21:03:10 permalink: /core/wwwarchitect/ --- -# 前端结构 OpenAuth.Mvc前端采用典型的mvc结构部署,其中: