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}`); };