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