master
xiaochanghai 1 year ago
parent bc5acd7a7c
commit 1899268fbe
  1. 2
      Tiobon.Core.Common/Seed/FrameSeed.cs
  2. 14
      Tiobon.Core.Extensions/ServiceExtensions/SwaggerSetup.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);
/// <summary>
/// 生成Controller层
/// </summary>

@ -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
/// <summary>
/// Ghra
/// </summary>
public const string GroupName_Ghra = "Ghra";
public const string GroupName_Ghra = "ghra";
/// <summary>
/// 辅助工具
/// </summary>
public const string GroupName_Assistant = "assistant";
/// <summary>
/// 微信
/// 培训模块
/// </summary>
public const string GroupName_WeChat = " wechat";
public const string GroupName_Ghre = " ghre";
}
}

Loading…
Cancel
Save