const getServiceList = (item) => {
  const { serviceList = [] } = item;
  return serviceList;
};

const getList = item => getServiceList(item);

const getImage = (url, prefix) => {
  url = url || '';
  return url.length === 32 ? prefix + url : url;
};

export default {
  getImage,
  getList,
};

