import fetch from '@/utils/fetch'

let holoBaseUrl = '/holo'
// 车辆类型
export const dictCarType = () => fetch('/design/config/dictionary/byCondition', {"catalogId": "C5605A95172543A9B46E9561DB8BEF8D"}, 'POST')
// 车身颜色
export const dictCarColor = () => fetch('/design/config/dictionary/byCondition', {"catalogId": "3393F1704E4643BFA6FC20D1EADDFFAB"}, 'POST')
// 车牌颜色
export const dictPlateColor = () => fetch('/design/config/dictionary/byCondition', {"catalogId": "21919BD35547413A990CC69B9D305370"}, 'POST')
// 交通参与者类型
export const dictTrafficActor = () => fetch('/design/config/dictionary/byCondition', {"catalogId": "21F5FDB7B45343BDB54BABD2243299FC"}, 'POST')
// 路口
// export const dictCrossInfo = () => fetch('/develop/sgw/dbInterface/gisc/t_base_cross_info/findByPage/F2B722217C05', {"pageSize": 10}, 'POST')
export const dictCrossInfo = () => fetch(`${holoBaseUrl}/base-cross-info/list`, {}, 'GET')
// 拥堵程度
export const dictCrowdDeep = () => fetch('/design/config/dictionary/byCondition', {"catalogId": "D9C0EBCF2BFA4B4994ACA0D48BC13563"}, 'POST')
// 所有权
export const dictOwner = () => fetch('/design/config/dictionary/byCondition', {"catalogId": "5337B2F0F859459B9104A6490EAEE8C4"}, 'POST')
// 使用性质
export const dictNature = () => fetch('/design/config/dictionary/byCondition', {"catalogId": "D848A3522E2042D5BAFA2F5523293128"}, 'POST')
// 本地外地
export const dictIfLocal = () => fetch('/design/config/dictionary/byCondition', {"catalogId": "C792ACCD0E9D49A6A288431113B87E92"}, 'POST')
// 事件类型
export const dictEventType = () => fetch('/design/config/dictionary/byCondition', {"catalogId": "DF33F67CAC5F4BAC9882FA77EEFF6E83"}, 'POST')

