From e341e53fe27e4bcccc7fdadd6b9b2e015bf1dc3b Mon Sep 17 00:00:00 2001 From: huang <1724659546@qq.com> Date: Thu, 23 Oct 2025 16:07:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/pigBatch.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/api/pigBatch.js b/src/api/pigBatch.js index 65881214..9c744e42 100644 --- a/src/api/pigBatch.js +++ b/src/api/pigBatch.js @@ -244,11 +244,11 @@ export const assignPensToBatch = (id, pensData) => { /** * 从猪批次移除空栏 - * @param {number} batchID - 猪批次ID * @param {number} penID - 待移除的猪栏ID + * @param {number} batchID - 猪批次ID * @returns {Promise<*>} */ -export const removePenFromBatch = (batchID, penID) => { +export const removePenFromBatch = (penID, batchID) => { return http.delete(`/api/v1/pig-batches/remove-pen/${penID}/${batchID}`); };