修改文件编码
This commit is contained in:
parent
0cc904bcbb
commit
4b63f22993
|
|
@ -45,7 +45,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiaoYu.WinFormDemo", "MiaoY
|
|||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiaoYu.Shared.Admin", "MiaoYu.Shared.Admin\MiaoYu.Shared.Admin.csproj", "{925EF035-4A41-42E4-A3A4-B8E9AE52F6B7}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MiaoYu.Repository.ChatAI.Admin", "MiaoYu.Repository.ChatAI.Admin\MiaoYu.Repository.ChatAI.Admin.csproj", "{39C765DB-41E7-4BC6-B75E-2A90CFF3A8EF}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MiaoYu.Repository.ChatAI.Admin", "MiaoYu.Repository.ChatAI.Admin\MiaoYu.Repository.ChatAI.Admin.csproj", "{39C765DB-41E7-4BC6-B75E-2A90CFF3A8EF}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{735E8EDC-21A6-4604-B955-B40603B973FF}"
|
||||
ProjectSection(SolutionItems) = preProject
|
||||
.editorconfig = .editorconfig
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
|
@ -141,7 +146,7 @@ Global
|
|||
{BA726FCD-7A7A-4B2B-BC90-7C7CD4D4ABB7} = {DB46F54A-9F53-44EC-80F8-9E53F0B871CF}
|
||||
{452F4EDD-E92B-4673-B5FB-863595996614} = {DB46F54A-9F53-44EC-80F8-9E53F0B871CF}
|
||||
{75959B17-A901-49E1-A5E7-667349DC4203} = {DC7A7E4A-B4DC-4958-BAA5-2BBB1A153B5F}
|
||||
{925EF035-4A41-42E4-A3A4-B8E9AE52F6B7} = {ACA91C4A-33F0-4ECA-90D2-BEC0811764EE}
|
||||
{925EF035-4A41-42E4-A3A4-B8E9AE52F6B7} = {DC7A7E4A-B4DC-4958-BAA5-2BBB1A153B5F}
|
||||
{39C765DB-41E7-4BC6-B75E-2A90CFF3A8EF} = {451BE0BB-26ED-47ED-ABC7-23001D21410C}
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Test
|
||||
namespace MiaoYu.Api.Admin.Test
|
||||
{
|
||||
public class Tests
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin;
|
||||
namespace MiaoYu.Api.Admin;
|
||||
|
||||
/// <summary>
|
||||
/// 程序启动器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Accounts;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Accounts;
|
||||
|
||||
/// <summary>
|
||||
/// 当前登录账户服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using MiaoYu.Repository.ChatAI.Admin.Entities.Apps;
|
||||
using MiaoYu.Repository.ChatAI.Admin.Entities.Apps;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Apps;
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using IdGen;
|
||||
using IdGen;
|
||||
|
||||
using MiaoYu.Repository.ChatAI.Admin.Entities;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Apps;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using MiaoYu.Repository.ChatAI.Admin.Entities.Apps;
|
||||
using MiaoYu.Repository.ChatAI.Admin.Entities.Apps;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Apps;
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Bases;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Bases;
|
||||
|
||||
/// <summary>
|
||||
/// 会员服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz;
|
||||
|
||||
/// <summary>
|
||||
/// Job 运行 日志
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz;
|
||||
|
||||
/// <summary>
|
||||
/// 任务 Job 服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz.Impl;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz.Impl;
|
||||
|
||||
/// <summary>
|
||||
/// Job 运行 日志
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz.Impl;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz.Impl;
|
||||
|
||||
/// <summary>
|
||||
/// 任务服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz.Jobs;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz.Jobs;
|
||||
|
||||
/// <summary>
|
||||
/// 本地任务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz.Jobs;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz.Jobs;
|
||||
|
||||
/// <summary>
|
||||
/// 本地任务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz.Jobs;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz.Jobs;
|
||||
|
||||
/// <summary>
|
||||
/// Resultful 风格 Api Job
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz.Jobs;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz.Jobs;
|
||||
|
||||
public class WebApiJobAsync : QuartzJobBase<QuartzJob>, ITransientSelfDependency
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.Quartz;
|
||||
|
||||
/// <summary>
|
||||
/// Quartz 启动配置
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.SignalRs.Hubs
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.SignalRs.Hubs
|
||||
{
|
||||
public class ChatHub : Hub
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.SignalRs;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Core.SignalRs;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.LowCode;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.LowCode;
|
||||
|
||||
/// <summary>
|
||||
/// 代码生成服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.LowCode.Impl;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.LowCode.Impl;
|
||||
|
||||
/// <summary>
|
||||
/// 代码生成服务
|
||||
|
|
@ -93,9 +93,9 @@ public class CodeGenerationService : ICodeGenerationService
|
|||
/// <returns></returns>
|
||||
public LowCodeTable FillPathByLowCodeTable(LowCodeTable lowCodeTable)
|
||||
{
|
||||
|
||||
|
||||
var rootPath = App.WebApplication.Environment.ContentRootPath.Replace("\\" + App.WebApplication.Environment.ApplicationName, "");
|
||||
|
||||
|
||||
if (string.IsNullOrWhiteSpace(lowCodeTable.ModelPath))
|
||||
{
|
||||
if (lowCodeTable.DataBase == "MiaoYuChat")
|
||||
|
|
@ -576,7 +576,7 @@ public class CodeGenerationService : ICodeGenerationService
|
|||
{
|
||||
path = tableInfo.ServicePath + $"/{humpTableName}s";
|
||||
}
|
||||
|
||||
|
||||
break;
|
||||
case FileTypeEnum.Controller:
|
||||
if (tableInfo.DataBase == "MiaoYuChat")
|
||||
|
|
@ -587,7 +587,7 @@ public class CodeGenerationService : ICodeGenerationService
|
|||
{
|
||||
path = tableInfo.ControllerPath + $"/{humpTableName}s";
|
||||
}
|
||||
|
||||
|
||||
break;
|
||||
case FileTypeEnum.ClientIndex:
|
||||
path = tableInfo.ClientIndexPath + $"/{tableName}s";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using MiaoYu.Repository.ChatAI.Admin.Entities;
|
||||
using MiaoYu.Repository.ChatAI.Admin.Entities;
|
||||
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.LowCode.Impl;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.LowCode.Impl;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.LowCode.Impl;
|
||||
|
||||
/// <summary>
|
||||
/// 服务 Low_Code_Table_InfoService
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using MiaoYu.Repository.Admin.Entities.LowCode;
|
||||
using MiaoYu.Repository.Admin.Entities.LowCode;
|
||||
using MiaoYu.Repository.ChatAI.Admin.Entities;
|
||||
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.LowCode.Impl;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.MonitorEFCore;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.MonitorEFCore;
|
||||
|
||||
public interface IMonitorEFCoreService : ITransientDependency
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.MonitorEFCore.Impl;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.MonitorEFCore.Impl;
|
||||
|
||||
/// <summary>
|
||||
/// 监控 EFCore 服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.DynamicApis;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.DynamicApis;
|
||||
|
||||
/// <summary>
|
||||
/// 动态 api controller demo
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 系统权限服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 服务 SysDataAuthorityCustomService
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 服务 SysDataAuthorityService
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 数据字典服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 功能服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 菜单服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 操作日服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
|
||||
public class SysOrganizationService : ApplicationService<IRepository<SysOrganization>>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
|
||||
public class SysPostService : ApplicationService<IRepository<SysPost>>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 角色 菜单 功能服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 角色服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
namespace MiaoYu.Api.Admin.ApplicationServices.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 系统账号服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers;
|
||||
namespace MiaoYu.Api.Admin.Controllers;
|
||||
|
||||
/// <summary>
|
||||
/// 后台系统基础控制器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using MiaoYu.Api.Admin.ApplicationServices.Apps;
|
||||
using MiaoYu.Api.Admin.ApplicationServices.Apps;
|
||||
using MiaoYu.Repository.ChatAI.Admin.Entities.Apps;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Apps;
|
||||
|
||||
|
|
@ -8,12 +8,12 @@ namespace MiaoYu.Api.Admin.Controllers.Apps;
|
|||
[ControllerDescriptor(MenuId = "请设置菜单Id 系统菜单表中查找,如果不设置不受权限保护!", DisplayName = "角色标签表")]
|
||||
public class T_Character_LabelController : AdminControllerBase<T_Character_LabelService>
|
||||
{
|
||||
public T_Character_LabelController(T_Character_LabelService defaultService)
|
||||
public T_Character_LabelController(T_Character_LabelService defaultService)
|
||||
: base(defaultService)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取列表
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using MiaoYu.Api.Admin.ApplicationServices.Apps;
|
||||
using MiaoYu.Api.Admin.ApplicationServices.Apps;
|
||||
using MiaoYu.Repository.ChatAI.Admin.Entities;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Apps;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using MiaoYu.Api.Admin.ApplicationServices.Apps;
|
||||
using MiaoYu.Api.Admin.ApplicationServices.Apps;
|
||||
using MiaoYu.Repository.ChatAI.Admin.Entities.Apps;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Apps;
|
||||
|
||||
|
|
@ -8,12 +8,12 @@ namespace MiaoYu.Api.Admin.Controllers.Apps;
|
|||
[ControllerDescriptor(MenuId = "请设置菜单Id 系统菜单表中查找,如果不设置不受权限保护!", DisplayName = "人物表")]
|
||||
public class T_CharacterController : AdminControllerBase<T_CharacterService>
|
||||
{
|
||||
public T_CharacterController(T_CharacterService defaultService)
|
||||
public T_CharacterController(T_CharacterService defaultService)
|
||||
: base(defaultService)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 获取列表
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Bases;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Bases;
|
||||
|
||||
/// <summary>
|
||||
/// 会员控制器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.DevelopmentTools;
|
||||
namespace MiaoYu.Api.Admin.Controllers.DevelopmentTools;
|
||||
|
||||
/// <summary>
|
||||
/// 代码生成器控制器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.DevelopmentTools;
|
||||
namespace MiaoYu.Api.Admin.Controllers.DevelopmentTools;
|
||||
|
||||
/// <summary>
|
||||
/// JobTestController
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.LowCode.Impl;
|
||||
using MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.LowCode.Impl;
|
||||
|
||||
namespace MiaoYu.Api.Admin.Controllers.DevelopmentTools.LowCode;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.LowCode.Impl;
|
||||
using MiaoYu.Api.Admin.ApplicationServices.DevelopmentTools.LowCode.Impl;
|
||||
|
||||
namespace MiaoYu.Api.Admin.Controllers.DevelopmentTools.LowCode;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.DevelopmentTools;
|
||||
namespace MiaoYu.Api.Admin.Controllers.DevelopmentTools;
|
||||
|
||||
/// <summary>
|
||||
/// EFCore 监控 控制器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.DevelopmentTools;
|
||||
namespace MiaoYu.Api.Admin.Controllers.DevelopmentTools;
|
||||
|
||||
/// <summary>
|
||||
/// 系统账号管理
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Indentity;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Indentity;
|
||||
|
||||
/// <summary>
|
||||
/// 认证服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Indentity;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Indentity;
|
||||
|
||||
/// <summary>
|
||||
/// IndentityControllerBase
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 个人中心
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
|
||||
[ControllerDescriptor(MenuId = "请设置菜单Id 系统菜单表中查找", DisplayName = "数据权限")]
|
||||
public class SysDataAuthorityController : AdminControllerBase<SysDataAuthorityService>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
|
||||
[ControllerDescriptor(MenuId = "请设置菜单Id 系统菜单表中查找", DisplayName = "自定义数据权限")]
|
||||
public class SysDataAuthorityCustomController : AdminControllerBase<SysDataAuthorityCustomService>
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 数据字典控制器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 功能控制器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 菜单控制器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 操作日志控制器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 组织机构控制器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 岗位控制器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 角色控制器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 角色菜单功能控制器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 系统账号管理
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Controllers.Uploads;
|
||||
namespace MiaoYu.Api.Admin.Controllers.Uploads;
|
||||
|
||||
/// <summary>
|
||||
/// 上传文件控制器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Models.Configs;
|
||||
namespace MiaoYu.Api.Admin.Models.Configs;
|
||||
|
||||
/// <summary>
|
||||
/// 程序配置信息映射类 appsettings.json
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Models.Dtos.DevelopmentTool;
|
||||
namespace MiaoYu.Api.Admin.Models.Dtos.DevelopmentTool;
|
||||
|
||||
/// <summary>
|
||||
/// 生成代码上下文
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Models.Dtos.DevelopmentTool;
|
||||
namespace MiaoYu.Api.Admin.Models.Dtos.DevelopmentTool;
|
||||
|
||||
/// <summary>
|
||||
/// 代码生成表单模型
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
|
||||
public class ChangePasswordFormDto
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
|
||||
public class SysDataAuthorityFormDto
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
|
||||
public class SysDictionaryDto : SysDictionary
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
|
||||
public class SysMenuFormDto
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
|
||||
public class SysOperationLogSearchDto : SysOperationLog
|
||||
{
|
||||
|
|
@ -16,7 +16,7 @@ public class SysOperationLogSearchDto : SysOperationLog
|
|||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
public DateTime? EndTime
|
||||
public DateTime? EndTime
|
||||
=> RangeTime != null && RangeTime?.Length == 2 ? new DateTime(RangeTime[1].Date.Year, RangeTime[1].Date.Month, RangeTime[1].Date.Day, 23, 59, 59) : null;
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 组织机构树
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
|
||||
public class SysRoleMenuFunctionFormDto
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
namespace MiaoYu.Api.Admin.Models.Dtos.Systems;
|
||||
|
||||
/// <summary>
|
||||
/// 系统账户表单
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Api.Admin.Models.Enums;
|
||||
namespace MiaoYu.Api.Admin.Models.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// 版本
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
global using Flurl.Http;
|
||||
global using Flurl.Http;
|
||||
global using FreeSql.DatabaseModel;
|
||||
global using MiaoYu.Api.Admin;
|
||||
global using MiaoYu.Api.Admin.ApplicationServices.Bases;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.CAP;
|
||||
namespace MiaoYu.Core.CAP;
|
||||
|
||||
public class CoreCAPRedisStartup : StartupModule<CoreCAPRedisStartup>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.CAP;
|
||||
namespace MiaoYu.Core.CAP;
|
||||
|
||||
/// <summary>
|
||||
/// CAP github : https://github.com/dotnetcore/CAP/blob/master/README.zh-cn.md
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.CAP.EventBus
|
||||
namespace MiaoYu.Core.CAP.EventBus
|
||||
{
|
||||
public class Class1
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.CAP.RabbitMQ
|
||||
namespace MiaoYu.Core.CAP.RabbitMQ
|
||||
{
|
||||
public class Class1
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
global using HZY.Framework.Core.AspNetCore;
|
||||
global using HZY.Framework.Core.AspNetCore;
|
||||
global using Microsoft.AspNetCore.Builder;
|
||||
global using Microsoft.Extensions.DependencyInjection;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
using HZY.Framework.Aop.Attributes;
|
||||
using HZY.Framework.Aop.Attributes;
|
||||
using HZY.Framework.Repository.EntityFramework.Extensions;
|
||||
using Newtonsoft.Json;
|
||||
using Rougamo.Context;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.EntityFramework.Aop;
|
||||
namespace MiaoYu.Core.EntityFramework.Aop;
|
||||
|
||||
/// <summary>
|
||||
/// 事务拦截
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.EntityFramework;
|
||||
namespace MiaoYu.Core.EntityFramework;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.EntityFramework.Interceptors;
|
||||
namespace MiaoYu.Core.EntityFramework.Interceptors;
|
||||
|
||||
/// <summary>
|
||||
/// 审计 保存拦截器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.EntityFramework.Interceptors;
|
||||
namespace MiaoYu.Core.EntityFramework.Interceptors;
|
||||
|
||||
/// <summary>
|
||||
/// 审计 保存拦截器 拦截v2实体模型
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.EntityFramework.Interceptors;
|
||||
namespace MiaoYu.Core.EntityFramework.Interceptors;
|
||||
|
||||
/// <summary>
|
||||
/// 审计 保存拦截器
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.EntityFramework.Models;
|
||||
namespace MiaoYu.Core.EntityFramework.Models;
|
||||
|
||||
/// <summary>
|
||||
/// 基础模型 主键为 Guid
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.EntityFramework.Models;
|
||||
namespace MiaoYu.Core.EntityFramework.Models;
|
||||
|
||||
/// <summary>
|
||||
/// 基础模型 主键为 Guid
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using HZY.Framework.Repository.EntityFramework.Models;
|
||||
using HZY.Framework.Repository.EntityFramework.Models;
|
||||
|
||||
|
||||
namespace MiaoYu.Core.EntityFramework.Models;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
global using MiaoYu.Core.Identity.Services;
|
||||
global using MiaoYu.Core.Identity.Services;
|
||||
global using HZY.Framework.Aop.Attributes;
|
||||
global using HZY.Framework.Core;
|
||||
global using HZY.Framework.Core.AspNetCore;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.Identity.Configs;
|
||||
namespace MiaoYu.Core.Identity.Configs;
|
||||
|
||||
/// <summary>
|
||||
/// 共享身份认证配置
|
||||
|
|
@ -38,7 +38,7 @@ public static class CoreIdentityConfig
|
|||
//Token expired
|
||||
if (context.Exception.GetType() == typeof(SecurityTokenExpiredException))
|
||||
{
|
||||
context.Response.Headers.Add("Token-Expired", "true");
|
||||
context.Response.Headers.Append("Token-Expired", "true");
|
||||
}
|
||||
return Task.CompletedTask;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.Identity;
|
||||
namespace MiaoYu.Core.Identity;
|
||||
|
||||
/// <summary>
|
||||
/// 程序启动器 - 身份认证 注册
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.Identity;
|
||||
namespace MiaoYu.Core.Identity;
|
||||
|
||||
/// <summary>
|
||||
/// 程序启动器 - 身份认证 注册、认证
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.Identity.Models;
|
||||
namespace MiaoYu.Core.Identity.Models;
|
||||
|
||||
/// <summary>
|
||||
/// jwt token 配置
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.Identity.Services;
|
||||
namespace MiaoYu.Core.Identity.Services;
|
||||
|
||||
/// <summary>
|
||||
/// jwt token 服务
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
global using MiaoYu.Core.Identity.Configs;
|
||||
global using MiaoYu.Core.Identity.Configs;
|
||||
global using MiaoYu.Core.Identity.Models;
|
||||
global using MiaoYu.Core.Identity.Utils;
|
||||
global using HZY.Framework.Core.AspNetCore;
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
namespace MiaoYu.Core.Identity.Utils;
|
||||
namespace MiaoYu.Core.Identity.Utils;
|
||||
|
||||
/// <summary>
|
||||
/// JWT是由 . 分割的三部分组成:
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user