From 2405b2ce5200cb6d0f931b411aa74b08a71fa54e Mon Sep 17 00:00:00 2001 From: PhilPan Date: Mon, 24 Apr 2023 18:33:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=9C=B0=E5=9D=80=E6=8C=89MV?= =?UTF-8?q?C=E9=A3=8E=E6=A0=BC=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- system/Tnb.Systems/Common/SampleService.cs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/system/Tnb.Systems/Common/SampleService.cs b/system/Tnb.Systems/Common/SampleService.cs index ede4cc05..d86e1db2 100644 --- a/system/Tnb.Systems/Common/SampleService.cs +++ b/system/Tnb.Systems/Common/SampleService.cs @@ -22,10 +22,10 @@ using Microsoft.AspNetCore.Mvc.RazorPages; namespace Tnb.BasicData { /// - /// 应急管理局:安全生产监管 + /// 自定义开发服务示例 /// - [ApiDescriptionSettings(Name = "Test", Order = 306)] - [Route("api")] + [ApiDescriptionSettings(Tag = "ProductionMgr", Area = "production", Order = 503)] + [Route("api/[area]/[controller]/[action]")] [OverideVisualDev(ModelId)] public partial class SampleService : IOverideVisualDevService, IDynamicApiController, ITransient { @@ -61,5 +61,11 @@ namespace Tnb.BasicData }; } + [HttpPost] + public Task SendSampleData(VisualDevModelListQueryInput input) + { + return Task.FromResult(1); + } + } } \ No newline at end of file