Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
9cf87c57
Commit
9cf87c57
authored
Oct 20, 2021
by
尚顺利
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
替换服务
parent
b16e7c8d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
base.js
src/api/service/base.js
+2
-2
index.js
src/components/Container/index.js
+1
-1
No files found.
src/api/service/base.js
View file @
9cf87c57
...
@@ -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'
,
};
};
...
...
src/components/Container/index.js
View file @
9cf87c57
...
@@ -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
=
'1
92.168.10.150:8777
'
;
const
MaintenanceHost
=
'1
27.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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment