From decfa4fa121e57c6df9230776388a782e7ea748c Mon Sep 17 00:00:00 2001 From: MSuMshk <2039814060@qq.com> Date: Tue, 3 Mar 2026 08:38:42 +0800 Subject: [PATCH] fix: resolve ProductBatchToolController xml doc warnings --- .../Controllers/ProductBatchToolController.cs | 54 +++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/src/Api/TakeoutSaaS.TenantApi/Controllers/ProductBatchToolController.cs b/src/Api/TakeoutSaaS.TenantApi/Controllers/ProductBatchToolController.cs index 1f3c95f..082144d 100644 --- a/src/Api/TakeoutSaaS.TenantApi/Controllers/ProductBatchToolController.cs +++ b/src/Api/TakeoutSaaS.TenantApi/Controllers/ProductBatchToolController.cs @@ -16,6 +16,12 @@ using TakeoutSaaS.TenantApi.Contracts.Product; namespace TakeoutSaaS.TenantApi.Controllers; +/// +/// 提供商品批量工具能力,包括批量调价、上下架、移类、跨店同步、导入与导出。 +/// +/// 应用数据库上下文。 +/// 门店上下文服务。 +/// 雪花 ID 生成器。 [ApiVersion("1.0")] [Authorize] [Route("api/tenant/v{version:apiVersion}/product/batch")] @@ -39,6 +45,12 @@ public sealed class ProductBatchToolController( "状态" ]; + /// + /// 预览批量调价结果。 + /// + /// 调价预览请求。 + /// 取消令牌。 + /// 调价预览结果。 [HttpPost("price-adjust/preview")] [ProducesResponseType(typeof(ApiResponse), StatusCodes.Status200OK)] public async Task> PreviewPriceAdjust( @@ -81,6 +93,12 @@ public sealed class ProductBatchToolController( }); } + /// + /// 执行批量调价。 + /// + /// 调价请求。 + /// 取消令牌。 + /// 批量工具执行结果。 [HttpPost("price-adjust")] [ProducesResponseType(typeof(ApiResponse), StatusCodes.Status200OK)] public async Task> PriceAdjust( @@ -123,6 +141,12 @@ public sealed class ProductBatchToolController( }); } + /// + /// 批量切换商品上下架状态。 + /// + /// 上下架切换请求。 + /// 取消令牌。 + /// 批量工具执行结果。 [HttpPost("sale-switch")] [ProducesResponseType(typeof(ApiResponse), StatusCodes.Status200OK)] public async Task> SaleSwitch( @@ -186,6 +210,12 @@ public sealed class ProductBatchToolController( }); } + /// + /// 批量移动商品分类。 + /// + /// 移类请求。 + /// 取消令牌。 + /// 批量工具执行结果。 [HttpPost("move-category")] [ProducesResponseType(typeof(ApiResponse), StatusCodes.Status200OK)] public async Task> MoveCategory( @@ -256,6 +286,12 @@ public sealed class ProductBatchToolController( }); } + /// + /// 将源门店商品批量同步到目标门店。 + /// + /// 跨店同步请求。 + /// 取消令牌。 + /// 批量工具执行结果。 [HttpPost("store-sync")] [ProducesResponseType(typeof(ApiResponse), StatusCodes.Status200OK)] public async Task> SyncStore( @@ -479,6 +515,12 @@ public sealed class ProductBatchToolController( }); } + /// + /// 下载商品批量导入模板。 + /// + /// 门店 ID。 + /// 取消令牌。 + /// 导入模板文件。 [HttpGet("import/template")] [ProducesResponseType(typeof(ApiResponse), StatusCodes.Status200OK)] public async Task> DownloadImportTemplate( @@ -519,6 +561,12 @@ public sealed class ProductBatchToolController( }); } + /// + /// 批量导入商品。 + /// + /// 导入请求。 + /// 取消令牌。 + /// 导入结果。 [HttpPost("import")] [Consumes("multipart/form-data")] [ProducesResponseType(typeof(ApiResponse), StatusCodes.Status200OK)] @@ -858,6 +906,12 @@ public sealed class ProductBatchToolController( }); } + /// + /// 按范围导出商品 Excel。 + /// + /// 导出请求。 + /// 取消令牌。 + /// 导出文件。 [HttpPost("export")] [ProducesResponseType(typeof(ApiResponse), StatusCodes.Status200OK)] public async Task> Export(