feat: 完成模板从gitee上获取
This commit is contained in:
@@ -9,21 +9,19 @@ namespace Yi.Abp.Tool.Domain.Shared.Dtos
|
||||
{
|
||||
public class TemplateGenCreateDto
|
||||
{
|
||||
public void SetTemplateFilePath(string templateFilePath)
|
||||
public void SetTemplateGiteeRef(string moduleType)
|
||||
{
|
||||
this.TemplateFilePath = templateFilePath;
|
||||
this.GiteeRef = moduleType.ToLower();
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 模板文件路径
|
||||
/// </summary>
|
||||
public string TemplateFilePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模块名称
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 模块所属gitee分支
|
||||
/// </summary>
|
||||
public string GiteeRef { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 数据库提供者
|
||||
|
||||
@@ -8,17 +8,6 @@ namespace Yi.Abp.Tool.Domain.Shared.Options
|
||||
{
|
||||
public class ToolOptions
|
||||
{
|
||||
/// <summary>
|
||||
/// 模块模板zip文件路径
|
||||
/// </summary>
|
||||
public string ModuleTemplateFilePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 项目模板zip文件路径
|
||||
/// </summary>
|
||||
public string ProjectTemplateFilePath { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 临时文件目录
|
||||
/// </summary>
|
||||
|
||||
@@ -9,5 +9,8 @@
|
||||
<ProjectReference Include="..\..\framework\Yi.Framework.Core\Yi.Framework.Core.csproj" />
|
||||
<ProjectReference Include="..\..\framework\Yi.Framework.Mapster\Yi.Framework.Mapster.csproj" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Options\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user