From 1899268fbe38ca124d887a8723cc9d5e41595d54 Mon Sep 17 00:00:00 2001 From: xiaochanghai Date: Fri, 19 Apr 2024 14:39:04 +0800 Subject: [PATCH] DBFirst --- Tiobon.Core.Common/Seed/FrameSeed.cs | 2 +- .../ServiceExtensions/SwaggerSetup.cs | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Tiobon.Core.Common/Seed/FrameSeed.cs b/Tiobon.Core.Common/Seed/FrameSeed.cs index 75aa1372..2d9b11fc 100644 --- a/Tiobon.Core.Common/Seed/FrameSeed.cs +++ b/Tiobon.Core.Common/Seed/FrameSeed.cs @@ -7,7 +7,7 @@ namespace Tiobon.Core.Common.Seed public class FrameSeed { - public static string path = AppDomain.CurrentDomain.BaseDirectory.Replace("Tiobon.Core.Api\\bin\\Debug\\net8.0\\", null); + public static string path = AppDomain.CurrentDomain.BaseDirectory.Replace("Tiobon.Core.Api\\bin\\Debug\\net8.0\\", null).Replace("Tiobon.CodeGenerator\\bin\\Debug\\net8.0\\", null); /// /// 生成Controller层 /// diff --git a/Tiobon.Core.Extensions/ServiceExtensions/SwaggerSetup.cs b/Tiobon.Core.Extensions/ServiceExtensions/SwaggerSetup.cs index fb8667af..662d8b6f 100644 --- a/Tiobon.Core.Extensions/ServiceExtensions/SwaggerSetup.cs +++ b/Tiobon.Core.Extensions/ServiceExtensions/SwaggerSetup.cs @@ -209,13 +209,13 @@ namespace Tiobon.Core.Extensions } }, new SwaggerApiInfo { - UrlPrefix = Grouping.GroupName_WeChat, - Name = "微信模块", + UrlPrefix = Grouping.GroupName_Ghre, + Name = "培训模块", OpenApiInfo = new OpenApiInfo { Version = version, - Title = "微信模块", - Description = "小程序..." + Title = "培训模块", + Description = "培训模块..." } }, new SwaggerApiInfo @@ -274,15 +274,15 @@ namespace Tiobon.Core.Extensions /// /// Ghra /// - public const string GroupName_Ghra = "Ghra"; + public const string GroupName_Ghra = "ghra"; /// /// 辅助工具 /// public const string GroupName_Assistant = "assistant"; /// - /// 微信 + /// 培训模块 /// - public const string GroupName_WeChat = " wechat"; + public const string GroupName_Ghre = " ghre"; } }