import { request } from '@/api/_service'

const BASE = 'planning_production/produce/set_battery_rebatch/'

function apiParams (method, data = {}) {
  return {
    method,
    platform: 'background',
    ...data
  }
}

export function verifyBatteryRebatchInfo (data) {
  return request({
    url: BASE + 'verify',
    method: 'get',
    params: apiParams('planning_production_produce_change_battery_process_verify', data)
  })
}
