import request from "@/utils/request"

/** 执行草畜平衡计算 */
export function calculateGrassLivestockBalance(data) {
  return request({
    url: "/dataModel/grassLivestockBalance/calculate",
    method: "post",
    data
  })
}

/** 羊单位默认参数（sys_config） */
export function getGrassLivestockBalanceDefaults() {
  return request({
    url: "/dataModel/grassLivestockBalance/defaults",
    method: "get"
  })
}
