Commit f187bbb1 authored by 邓超's avatar 邓超

fix: 修改组态接口路径

parent da8b91f4
Pipeline #58040 passed with stages
...@@ -4,8 +4,8 @@ ...@@ -4,8 +4,8 @@
* @Description: * @Description:
* @Author: leizhe * @Author: leizhe
* @Date: 2022-05-17 10:26:35 * @Date: 2022-05-17 10:26:35
* @LastEditTime: 2022-05-20 09:38:44 * @LastEditTime: 2022-08-18 16:40:30
* @LastEditors: leizhe * @LastEditors: dengchao 754083046@qq.com
*/ */
import React, { useEffect, useState } from 'react'; import React, { useEffect, useState } from 'react';
import { Modal, Form, Input, notification, Button, Select, Space, Image } from 'antd'; import { Modal, Form, Input, notification, Button, Select, Space, Image } from 'antd';
...@@ -151,7 +151,7 @@ const AssociationModel = props => { ...@@ -151,7 +151,7 @@ const AssociationModel = props => {
<Image <Image
src={ src={
window.location.origin + window.location.origin +
`/Publish/Web/File/ModelManage/ModelFilePreview/${encodeURIComponent(imageData)}` `/PandaConfiguration/Raw/File/ModelManage/ModelFilePreview/${encodeURIComponent(imageData)}`
} }
height="60px" height="60px"
/> />
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
* @Description: * @Description:
* @Author: leizhe * @Author: leizhe
* @Date: 2022-04-06 11:38:46 * @Date: 2022-04-06 11:38:46
* @LastEditTime: 2022-06-22 13:53:09 * @LastEditTime: 2022-08-18 16:40:36
* @LastEditors: leizhe * @LastEditors: dengchao 754083046@qq.com
*/ */
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { import {
...@@ -310,7 +310,7 @@ const DrawBoardManage = () => { ...@@ -310,7 +310,7 @@ const DrawBoardManage = () => {
<Image <Image
src={ src={
window.location.origin + window.location.origin +
`/Publish/Web/File/ModelManage/ModelFilePreview/${encodeURIComponent(text)}? `/PandaConfiguration/Raw/File/ModelManage/ModelFilePreview/${encodeURIComponent(text)}?
${timestamp}` ${timestamp}`
} }
height="50px" height="50px"
......
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
* @Description: * @Description:
* @Author: leizhe * @Author: leizhe
* @Date: 2022-04-06 11:39:53 * @Date: 2022-04-06 11:39:53
* @LastEditTime: 2022-05-18 14:36:11 * @LastEditTime: 2022-08-18 16:40:47
* @LastEditors: leizhe * @LastEditors: dengchao 754083046@qq.com
*/ */
import React, { useState, useEffect } from 'react'; import React, { useState, useEffect } from 'react';
import { import {
...@@ -185,7 +185,7 @@ const ModelFileManage = () => { ...@@ -185,7 +185,7 @@ const ModelFileManage = () => {
key: 'thumbnailURL', key: 'thumbnailURL',
render: text => ( render: text => (
<Image <Image
src={window.location.origin + `/Publish/Web/File/Sketch/Preview/${text}`} src={window.location.origin + `/PandaConfiguration/Raw/File/Sketch/Preview/${text}`}
height="50px" height="50px"
/> />
), ),
......
/*
* @Author: dengchao 754083046@qq.com
* @Date: 2022-06-28 09:41:26
* @LastEditors: dengchao 754083046@qq.com
* @LastEditTime: 2022-08-18 16:40:24
* @FilePath: \maintenance\src\services\index.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
import { request } from '../utils/request'; import { request } from '../utils/request';
const CITY_SERVICE = '/Cityinterface/rest/services'; const CITY_SERVICE = '/Cityinterface/rest/services';
// export const CITY_SERVICE = '/Publish/GateWay/CityServer'; // export const CITY_SERVICE = '/Publish/GateWay/CityServer';
const PUBLISH_SERVICE = '/PandaOMS/OMS'; const PUBLISH_SERVICE = '/PandaOMS/OMS';
// export const PUBLISH_SERVICE = '/Publish/GateWay/OMS'; // export const PUBLISH_SERVICE = '/Publish/GateWay/OMS';
const WebSERVICE = '/Publish/Web'; const WebSERVICE = '/PandaConfiguration/Raw';
const CoreSERVICE = '/PandaCore/GCK'; const CoreSERVICE = '/PandaCore/GCK';
const PANDA_GIS = '/PandaGIS/MapServer'; const PANDA_GIS = '/PandaGIS/MapServer';
const PandaCore = '/PandaCore/GateWay'; const PandaCore = '/PandaCore/GateWay';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment