From 4209c8ff313ce8bac44bc9fe0b2260111a3fb388 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周六, 10 5月 2025 15:22:13 +0800 Subject: [PATCH] 优化接口 --- PipeLineLems/server/src/CMS.Plugin.PipeLineLems/Controller/WorkPlanPublicController.cs | 78 +++++++++++++++++++------------------- 1 files changed, 39 insertions(+), 39 deletions(-) diff --git a/PipeLineLems/server/src/CMS.Plugin.PipeLineLems/Controller/WorkPlanPublicController.cs b/PipeLineLems/server/src/CMS.Plugin.PipeLineLems/Controller/WorkPlanPublicController.cs index 354df06..49f808e 100644 --- a/PipeLineLems/server/src/CMS.Plugin.PipeLineLems/Controller/WorkPlanPublicController.cs +++ b/PipeLineLems/server/src/CMS.Plugin.PipeLineLems/Controller/WorkPlanPublicController.cs @@ -1,44 +1,44 @@ -using CMS.Extensions.Abp.AspNetCore.Mvc.Filters; -using CMS.Plugin.PipeLineLems.Application.Contracts.Dtos.WorkPlan; -using CMS.Plugin.PipeLineLems.Application.Contracts.Services; -using Microsoft.AspNetCore.Mvc; -using System.Reflection; +//using CMS.Extensions.Abp.AspNetCore.Mvc.Filters; +//using CMS.Plugin.PipeLineLems.Application.Contracts.Dtos.WorkPlan; +//using CMS.Plugin.PipeLineLems.Application.Contracts.Services; +//using Microsoft.AspNetCore.Mvc; +//using System.Reflection; -namespace CMS.Plugin.PipeLineLems.Controller -{ - /// <summary> - /// 浣滀笟璁″垝鏈嶅姟 - /// </summary> - [ApiController] - [TypeFilter(typeof(CMSLanguageFilter))] - [TypeFilter(typeof(CMSUowActionFilter))] - [TypeFilter(typeof(CMSAuditActionFilter))] - [TypeFilter(typeof(CMSExceptionFilter))] - [Route("api/v{version:apiVersion}/PipeLineLems/[controller]")] - public class WorkPlanPublicController : ControllerBase - { +//namespace CMS.Plugin.PipeLineLems.Controller +//{ +// /// <summary> +// /// 浣滀笟璁″垝鏈嶅姟 +// /// </summary> +// [ApiController] +// [TypeFilter(typeof(CMSLanguageFilter))] +// [TypeFilter(typeof(CMSUowActionFilter))] +// [TypeFilter(typeof(CMSAuditActionFilter))] +// [TypeFilter(typeof(CMSExceptionFilter))] +// [Route("api/v{version:apiVersion}/PipeLineLems/[controller]")] +// public class WorkPlanPublicController : ControllerBase +// { - private readonly IMesAppService _mesAppService; - /// <summary> - /// Initializes a new instance of the <see cref="TestEntityNameController"/> class. - /// </summary> - /// <param name="testentitynameAppService">The testentityname application service.</param> - public WorkPlanPublicController(IMesAppService mesAppService) - { - _mesAppService = mesAppService; - } +// private readonly IMesAppService _mesAppService; +// /// <summary> +// /// Initializes a new instance of the <see cref="TestEntityNameController"/> class. +// /// </summary> +// /// <param name="testentitynameAppService">The testentityname application service.</param> +// public WorkPlanPublicController(IMesAppService mesAppService) +// { +// _mesAppService = mesAppService; +// } - /// <summary> - /// 鑾峰彇鐢熶骇璁″垝. - /// </summary> - /// <param name="input">鏍囪瘑绗�.</param> - /// <returns></returns> - [HttpPost] - public virtual async Task<MesOrderResponse> GetWorkPlanAsync([FromBody] List<WorkPlanInput> input) - { - return await _mesAppService.CreateAsync(input); - } +// /// <summary> +// /// 鑾峰彇鐢熶骇璁″垝. +// /// </summary> +// /// <param name="input">鏍囪瘑绗�.</param> +// /// <returns></returns> +// [HttpPost] +// public virtual async Task<MesOrderResponse> GetWorkPlanAsync([FromBody] List<WorkPlanInput> input) +// { +// return await _mesAppService.CreateAsync(input); +// } - } -} +// } +//} -- Gitblit v1.9.3