Commit aec5ad02 authored by 邓超's avatar 邓超

fix: 修改网关配置接口

parent 2bdca006
Pipeline #38924 passed with stages
in 26 minutes 26 seconds
......@@ -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', '');
......
......@@ -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!='/Publish/GCK/Basis/GateWayConfig')
if(request.url!='/PandaOMS/OMS/OMSLogin'&&request.url!='/Publish/OMS/FileCenter/SaveMobileApk'&&request.url!='/PandaOMS/OMS/HostManager/GetGateWay')
request.url=getWay+request.url
}
return request
......
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