智慧园区前端大屏
shuishen
2025-09-15 17a81d641608545682e3f79f7c6090cac48fe81a
src/api/space/space.js
@@ -1,22 +1,55 @@
/*
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2025-01-04 20:09:53
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2025-02-12 18:44:23
 * @FilePath: \bigScreen\src\api\space\space.js
 * @Description:
 *
 * Copyright (c) 2025 by shuishen, All Rights Reserved.
 */
import request from 'utils/http'
export const getDetail = (params) => {
    const url = `/yw/emergencySpace/getDetail`;
    return request({
        url,
        method: 'get',
        params,
    });
};
  const url = `/yw/emergencySpace/getDetail`
  return request({
    url,
    method: 'get',
    params,
  })
}
export const getList = (params) => {
    const url = `/yw/emergencySpace/page`;
    return request({
        url,
        method: 'get',
        params,
    });
};
  const url = `/yw/emergencySpace/page`
  return request({
    url,
    method: 'get',
    params,
  })
}
export const getGouQu = (params) => {
  const url = `/yw/emergencySpace/page`
  return request({
    url,
    method: 'get',
    params,
  })
}
export const updateSpace = (data) => {
  const url = `/yw/emergencySpace/update`
  return request({
    url,
    method: 'post',
    data,
  })
}
export const spatialAnalysisPoint = (params) => {
  const url = `/yw/emergencySpace/spatialAnalysisPoint`
  return request({
    url,
    method: 'get',
    params,
  })
}