const getServiceList = (item) => { const { serviceList = [] } = item; return serviceList; }; const getUrl = (url, imgSrcPrefix) => { url = url || ''; return url.length === 32 ? imgSrcPrefix + url : url; }; export default { getUrl, getServiceList, };