diff --git a/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/AbpCli/Proxy/Dtos/AbpGenerateRemoveAngularProxyInput.cs b/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/AbpCli/Proxy/Dtos/AbpGenerateRemoveAngularProxyInput.cs index 27c61e5..61f0d9b 100644 --- a/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/AbpCli/Proxy/Dtos/AbpGenerateRemoveAngularProxyInput.cs +++ b/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/AbpCli/Proxy/Dtos/AbpGenerateRemoveAngularProxyInput.cs @@ -24,22 +24,21 @@ public class AbpGenerateRemoveAngularProxyInput : InputDtoWithDirectory [CanBeNull] public virtual string Url { get; set; } - [CanBeNull] - public virtual string Prompt { get; set; } + public virtual bool WithoutContracts { get; set; } public AbpGenerateRemoveAngularProxyInput() { } public AbpGenerateRemoveAngularProxyInput([CanBeNull] string module, [CanBeNull] string apiName, - [CanBeNull] string source, [CanBeNull] string target, [CanBeNull] string url, [CanBeNull] string prompt) + [CanBeNull] string source, [CanBeNull] string target, [CanBeNull] string url, bool withoutContracts) { Module = module; ApiName = apiName; Source = source; Target = target; Url = url; - Prompt = prompt; + WithoutContracts = withoutContracts; } } } \ No newline at end of file diff --git a/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/Localization/Gui/en.json b/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/Localization/Gui/en.json index ab15031..1ff5982 100644 --- a/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/Localization/Gui/en.json +++ b/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/Localization/Gui/en.json @@ -117,6 +117,7 @@ "AbpCli_Proxy:Url": "Url", "AbpCli_Proxy:Module": "Module", "AbpCli_Proxy:Folder": "Folder", + "AbpCli_Proxy:WithoutContracts": "Without contracts", "AbpCli_Proxy:ApiName": "ApiName", "AbpCli_Proxy:Source": "Source", "AbpCli_Proxy:Target": "Target", diff --git a/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/Localization/Gui/zh-Hans.json b/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/Localization/Gui/zh-Hans.json index 4ce5ee7..08a598e 100644 --- a/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/Localization/Gui/zh-Hans.json +++ b/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/Localization/Gui/zh-Hans.json @@ -117,6 +117,7 @@ "AbpCli_Proxy:Url": "网址 - Url", "AbpCli_Proxy:Module": "模块 - Module", "AbpCli_Proxy:Folder": "生成到目录 - Folder", + "AbpCli_Proxy:WithoutContracts": "不生成合約層內容 - WithoutContracts", "AbpCli_Proxy:ApiName": "API 端点名 - ApiName", "AbpCli_Proxy:Source": "源项目名 - Source", "AbpCli_Proxy:Target": "目标项目名 - Target", diff --git a/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/Localization/Gui/zh-Hant.json b/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/Localization/Gui/zh-Hant.json index 61e316e..0195dc3 100644 --- a/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/Localization/Gui/zh-Hant.json +++ b/dotnet/src/EasyAbp.AbpHelper.Gui.Application.Contracts/Localization/Gui/zh-Hant.json @@ -117,6 +117,7 @@ "AbpCli_Proxy:Url": "網址 - Url", "AbpCli_Proxy:Module": "模塊 - Module", "AbpCli_Proxy:Folder": "生成到目錄 - Folder", + "AbpCli_Proxy:WithoutContracts": "不生成合约层内容 - WithoutContracts", "AbpCli_Proxy:ApiName": "API 端點名 - ApiName", "AbpCli_Proxy:Source": "源項目名 - Source", "AbpCli_Proxy:Target": "目標項目名 - Target", diff --git a/dotnet/src/EasyAbp.AbpHelper.Gui.Blazor/Pages/AbpCli/Components/Proxy/AngularProxy.razor b/dotnet/src/EasyAbp.AbpHelper.Gui.Blazor/Pages/AbpCli/Components/Proxy/AngularProxy.razor index 951b4fa..6de7d4b 100644 --- a/dotnet/src/EasyAbp.AbpHelper.Gui.Blazor/Pages/AbpCli/Components/Proxy/AngularProxy.razor +++ b/dotnet/src/EasyAbp.AbpHelper.Gui.Blazor/Pages/AbpCli/Components/Proxy/AngularProxy.razor @@ -83,6 +83,9 @@ + + @L["AbpCli_Proxy:WithoutContracts"] +