龚焕茏
2024-03-07 2d637ba447da7e89ceaeded52ac3ac1b76f4f22b
src/api/ti/trafficIndex/index.ts
@@ -1,6 +1,7 @@
import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { TrafficIndexVO, TrafficIndexForm, TrafficIndexQuery } from '@/api/ti/trafficIndex/types';
import { iconVO } from '@/api/ti/trafficIndex/icon';
/**
 * 查询交通指数列表
@@ -17,6 +18,18 @@
};
/**
 * 查询配置图标
 * @returns {*}
 */
export const getIcon = (): AxiosPromise<iconVO[]> => {
  return request({
    url: '/rs/trafficIndex/icon',
    method: 'get'
  });
};
/**
 * 查询交通指数详细
 * @param id
 */