调整swag

This commit is contained in:
2025-10-13 14:15:38 +08:00
parent 8c0dc6c815
commit bcec36f7e2
13 changed files with 760 additions and 7 deletions

View File

@@ -11,6 +11,7 @@ import (
// @Summary 跨猪群调栏
// @Description 将指定数量的猪只从一个猪群的猪栏调动到另一个猪群的猪栏
// @Tags 猪群管理
// @Security BearerAuth
// @Accept json
// @Produce json
// @Param sourceBatchID path int true "源猪批次ID"
@@ -43,6 +44,7 @@ func (c *PigBatchController) TransferPigsAcrossBatches(ctx *gin.Context) {
// @Summary 群内调栏
// @Description 将指定数量的猪只在同一个猪群的不同猪栏间调动
// @Tags 猪群管理
// @Security BearerAuth
// @Accept json
// @Produce json
// @Param id path int true "猪批次ID"