智慧园区前端大屏
shuishen
2024-12-26 840d3127f365afd26b0f2867c50f5c8e0689b2b7
新干全景处理
1 files modified
1 files added
59 ■■■■■ changed files
public/xg/kzqj.json 51 ●●●●● patch | view | raw | blame | history
src/api/panorama/index.js 8 ●●●●● patch | view | raw | blame | history
public/xg/kzqj.json
New file
@@ -0,0 +1,51 @@
{
  "data": {
    "records": [
      {
        "id": 1,
        "firmId": -1,
        "name": "牛城路口",
        "lng": "115.46948932",
        "lat": "27.89915023",
        "url": "https://wrj.shuixiongit.com/xgqj/tour.html",
        "remark": "1",
        "createUser": -1,
        "createTime": "",
        "updateUser": -1,
        "updateTime": "",
        "isDeleted": 0,
        "ele": "42.04"
      },
      {
        "id": 1,
        "firmId": -1,
        "name": "扬帆路口",
        "lng": "115.46474045",
        "lat": "27.87389526",
        "url": "https://wrj.shuixiongit.com/xgqj/tour.html",
        "remark": "1",
        "createUser": -1,
        "createTime": "",
        "updateUser": -1,
        "updateTime": "",
        "isDeleted": 0,
        "ele": "52.93"
      },
      {
        "id": 1,
        "firmId": -1,
        "name": "腾飞路口",
        "lng": "115.46111849",
        "lat": "27.86509075",
        "url": "https://wrj.shuixiongit.com/xgqj/tour.html",
        "remark": "1",
        "createUser": -1,
        "createTime": "",
        "updateUser": -1,
        "updateTime": "",
        "isDeleted": 0,
        "ele": "52.04"
      }
    ]
  }
}
src/api/panorama/index.js
@@ -2,19 +2,21 @@
 * @Author: shuishen 1109946754@qq.com
 * @Date: 2024-11-12 11:34:22
 * @LastEditors: shuishen 1109946754@qq.com
 * @LastEditTime: 2024-11-12 11:34:55
 * @FilePath: \bigScreen\src\api\panorama\dict.js
 * @LastEditTime: 2024-12-26 15:03:42
 * @FilePath: \bigScreen\src\api\panorama\index.js
 * @Description: 
 * 
 * Copyright (c) 2024 by shuishen, All Rights Reserved. 
 */
import request from 'utils/http'
const { VITE_APP_BASE } = import.meta.env
export const getPanoramaList = (params) => {
  const url = `/yw/panoramic/page`
  const url = `${VITE_APP_BASE}xg/kzqj.json`
  return request({
    url,
    method: 'get',
    params,
    localJSON: true
  })
}