Commit 9cf87c57 authored by 尚顺利's avatar 尚顺利

替换服务

parent b16e7c8d
...@@ -4,7 +4,7 @@ import * as constants from '../../constants'; ...@@ -4,7 +4,7 @@ import * as constants from '../../constants';
export const API = { export const API = {
AUTHORIZATION_TOKEN: '/Publish/Identity/AuthorizationToken', AUTHORIZATION_TOKEN: '/Publish/Identity/AuthorizationToken',
GET_GATEWAY_CONFIG: '/PandaCore/OMS/GateWayConfig', GET_GATEWAY_CONFIG: '/PandaCore/GCK/Basis/GateWayConfig',
GET_CONFIG: '/CityInterface/rest/services.svc/GetConfig', GET_CONFIG: '/CityInterface/rest/services.svc/GetConfig',
GENERATE_TOKEN: '/cityinterface/rest/services.svc/generatetoken', GENERATE_TOKEN: '/cityinterface/rest/services.svc/generatetoken',
GENERATE_IOT_TOKEN: 'cityinterface/rest/services.svc/generateGCKToken', GENERATE_IOT_TOKEN: 'cityinterface/rest/services.svc/generateGCKToken',
...@@ -34,7 +34,7 @@ export const API = { ...@@ -34,7 +34,7 @@ export const API = {
'/cityinterface/rest/services/filedownload.svc/uploadfile/个人信息/{path}/{filename}', '/cityinterface/rest/services/filedownload.svc/uploadfile/个人信息/{path}/{filename}',
AVATAR_FILE_URL: '/cityinterface/rest/services/filedownload.svc/download', AVATAR_FILE_URL: '/cityinterface/rest/services/filedownload.svc/download',
GET_SENSOR_TYPE: '/PandaCore/GCK/Sensor/GetSensorType', // 获取传感器类型 GET_SENSOR_TYPE: '/PandaCore/GCK/Sensor/GetSensorType', // 获取传感器类型
GET_SYSTEM_CONFIGURATION: '/PandaCore/OMS/SysConfiguration', // 获取系统配置 GET_SYSTEM_CONFIGURATION: '/PandaCore/GCK/Common/SysConfiguration', // 获取系统配置 /PandaCore/GCK/Common/SysConfiguration
GET_INFO_QYWX: '/CityInterface/rest/services/OA.svc/WeChatScanQRCode', GET_INFO_QYWX: '/CityInterface/rest/services/OA.svc/WeChatScanQRCode',
}; };
......
...@@ -2,7 +2,7 @@ import React from 'react'; ...@@ -2,7 +2,7 @@ import React from 'react';
import HandlerMap from './HandlerMap'; import HandlerMap from './HandlerMap';
const MaintenanceHost = '192.168.10.150:8777'; const MaintenanceHost = '127.0.0.1:8088';
const MaintenancePath = 'CivManage/productCenter/product'; const MaintenancePath = 'CivManage/productCenter/product';
export default class Container extends React.Component { export default class Container extends React.Component {
constructor(props) { constructor(props) {
......
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