修bug
This commit is contained in:
@@ -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}`);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user