/* eslint-disable no-undef */
/* eslint-disable arrow-parens */
// 获取总退款
const getRefundMoney = (list = []) => {
  const money = list.reduce((pre, item) => pre + +item.realRefund * 100, 0);
  return Math.floor(money) / 100;
};

export default {
  getRefundMoney,
};
