import request from "@/utils/request"

/** 获取当前风险因子权重配置 */
export function getRiskFactorWeight() {
  return request({
    url: "/diseaseDetection/riskFactorWeight",
    method: "get"
  })
}

/** 保存风险因子权重配置 */
export function updateRiskFactorWeight(data) {
  return request({
    url: "/diseaseDetection/riskFactorWeight",
    method: "put",
    data
  })
}
