Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
CivManage
Commits
aec5ad02
Commit
aec5ad02
authored
Nov 26, 2021
by
邓超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改网关配置接口
parent
2bdca006
Pipeline
#38924
passed with stages
in 26 minutes 26 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
index.js
src/pages/user/login/index.js
+1
-1
index.js
src/utils/request/index.js
+1
-1
No files found.
src/pages/user/login/index.js
View file @
aec5ad02
...
...
@@ -87,7 +87,7 @@ const Login = props => {
const
updateDicName
=
()
=>
{
GetGateWay
()
.
then
(
res
=>
{
if
(
res
.
code
===
0
&&
res
.
data
===
'true'
)
{
if
(
res
.
code
===
0
&&
res
.
data
)
{
localStorage
.
setItem
(
'panda-publish'
,
'getway'
);
}
else
{
localStorage
.
setItem
(
'panda-publish'
,
''
);
...
...
src/utils/request/index.js
View file @
aec5ad02
...
...
@@ -35,7 +35,7 @@ axios.interceptors.request.use( function (request){
request
.
headers
.
Authorization
=
'Bearer '
+
token
}
if
(
pandaPublish
){
if
(
request
.
url
!=
'/PandaOMS/OMS/OMSLogin'
&&
request
.
url
!=
'/Publish/OMS/FileCenter/SaveMobileApk'
&&
request
.
url
!=
'/P
ublish/GCK/Basis/GateWayConfig
'
)
if
(
request
.
url
!=
'/PandaOMS/OMS/OMSLogin'
&&
request
.
url
!=
'/Publish/OMS/FileCenter/SaveMobileApk'
&&
request
.
url
!=
'/P
andaOMS/OMS/HostManager/GetGateWay
'
)
request
.
url
=
getWay
+
request
.
url
}
return
request
...
...
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