connectAnalysis.api.ts 430 B

12345678910111213141516171819
  1. import { defHttp } from '/@/utils/http/axios';
  2. enum Api {
  3. getGoafHistory='/province/device/getGoafHistory',
  4. getGoafList='/province/device/getGoafList'
  5. }
  6. //查询采空区数据列表
  7. export const getGoafList = (params) =>
  8. defHttp.post({
  9. url: Api.getGoafList,
  10. params,
  11. });
  12. //查询采空区历史数据列表
  13. export const getGoafHistory = (params) =>
  14. defHttp.get({
  15. url: Api.getGoafHistory,
  16. params,
  17. });