Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
api-gateway
Overview
Overview
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
API
api-gateway
Commits
97264499
Commit
97264499
authored
Jun 09, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改状态码和日志
parent
46e5a84e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
index.html
dist/index.html
+2
-2
0.21eb44c0f92862aed7d5.js
dist/static/js/0.21eb44c0f92862aed7d5.js
+0
-0
manifest.10250307e08881275aaa.js
dist/static/js/manifest.10250307e08881275aaa.js
+2
-0
manifest.e560e04bdb8b056eaf69.js
dist/static/js/manifest.e560e04bdb8b056eaf69.js
+0
-2
api.js
src/api/api.js
+2
-2
No files found.
dist/index.html
View file @
97264499
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
API网关管理平台
</title><link
href=
./static/css/app.7300d05a7cf6ade668c124362a83d8e6.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.15.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.01.js
></script><script
type=
text/javascript
src=
./static/js/manifest.e560e04bdb8b056eaf69.js
></script><script
type=
text/javascript
src=
./static/js/vendor.289e40671dbfc6af0fe7.js
></script><script
type=
text/javascript
src=
./static/js/app.53e4e5cac4cc823e38d9.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
API网关管理平台
</title><link
href=
./static/css/app.7300d05a7cf6ade668c124362a83d8e6.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
src=
//web-1251519181.file.myqcloud.com/components/input.2.0.15.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/delete.2.0.01.js
></script><script
type=
text/javascript
src=
./static/js/manifest.10250307e08881275aaa.js
></script><script
type=
text/javascript
src=
./static/js/vendor.289e40671dbfc6af0fe7.js
></script><script
type=
text/javascript
src=
./static/js/app.53e4e5cac4cc823e38d9.js
></script></body></html>
\ No newline at end of file
dist/static/js/0.
808c6b2c88428074a2da
.js
→
dist/static/js/0.
21eb44c0f92862aed7d5
.js
View file @
97264499
This diff is collapsed.
Click to expand it.
dist/static/js/manifest.10250307e08881275aaa.js
0 → 100644
View file @
97264499
!
function
(
e
){
var
n
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
r
,
a
,
o
){
for
(
var
f
,
d
,
i
,
u
=
0
,
b
=
[];
u
<
r
.
length
;
u
++
)
d
=
r
[
u
],
c
[
d
]
&&
b
.
push
(
c
[
d
][
0
]),
c
[
d
]
=
0
;
for
(
f
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
f
)
&&
(
e
[
f
]
=
a
[
f
]);
for
(
n
&&
n
(
r
,
a
,
o
);
b
.
length
;)
b
.
shift
()();
if
(
o
)
for
(
u
=
0
;
u
<
o
.
length
;
u
++
)
i
=
t
(
t
.
s
=
o
[
u
]);
return
i
};
var
r
=
{},
c
=
{
25
:
0
};
function
t
(
n
){
if
(
r
[
n
])
return
r
[
n
].
exports
;
var
c
=
r
[
n
]
=
{
i
:
n
,
l
:
!
1
,
exports
:{}};
return
e
[
n
].
call
(
c
.
exports
,
c
,
c
.
exports
,
t
),
c
.
l
=!
0
,
c
.
exports
}
t
.
e
=
function
(
e
){
var
n
=
c
[
e
];
if
(
0
===
n
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
n
)
return
n
[
2
];
var
r
=
new
Promise
(
function
(
r
,
t
){
n
=
c
[
e
]
=
[
r
,
t
]});
n
[
2
]
=
r
;
var
a
=
document
.
getElementsByTagName
(
"head"
)[
0
],
o
=
document
.
createElement
(
"script"
);
o
.
type
=
"text/javascript"
,
o
.
charset
=
"utf-8"
,
o
.
async
=!
0
,
o
.
timeout
=
12
e4
,
t
.
nc
&&
o
.
setAttribute
(
"nonce"
,
t
.
nc
),
o
.
src
=
t
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"21eb44c0f92862aed7d5"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"746c1aff28909fa81065"
,
3
:
"ee2db5932cf0c94dec20"
,
4
:
"c872205e76fc2e211c44"
,
5
:
"79669dea02bc4dbeebf1"
,
6
:
"49af429925a1e8f0f2bd"
,
7
:
"b2a85a42ddd430235a63"
,
8
:
"7b30654eb23787b522cc"
,
9
:
"a7997e12a098f7b54ed3"
,
10
:
"638039a7b39908980436"
,
11
:
"a856aed440077049c707"
,
12
:
"3b9c756b15cf547445f5"
,
13
:
"6c760e15d9a57478de92"
,
14
:
"1cc6cb28c0c58bea9145"
,
15
:
"384267038af31c9086d9"
,
16
:
"57d016308e690b422d49"
,
17
:
"7e4aa3cd1b6feb0ffcd6"
,
18
:
"67aef9456764e44190e3"
,
19
:
"f5c5139410c25373666b"
,
20
:
"c163ea91d150e0ca1cb1"
,
21
:
"c18c8eba63a78b9bfc1e"
,
22
:
"6fda5833364e602fa76a"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
d
,
12
e4
);
function
d
(){
o
.
onerror
=
o
.
onload
=
null
,
clearTimeout
(
f
);
var
n
=
c
[
e
];
0
!==
n
&&
(
n
&&
n
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
c
[
e
]
=
void
0
)}
return
o
.
onerror
=
o
.
onload
=
d
,
a
.
appendChild
(
o
),
r
},
t
.
m
=
e
,
t
.
c
=
r
,
t
.
d
=
function
(
e
,
n
,
r
){
t
.
o
(
e
,
n
)
||
Object
.
defineProperty
(
e
,
n
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
r
})},
t
.
n
=
function
(
e
){
var
n
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
t
.
d
(
n
,
"a"
,
n
),
n
},
t
.
o
=
function
(
e
,
n
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
n
)},
t
.
p
=
"./"
,
t
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
dist/static/js/manifest.e560e04bdb8b056eaf69.js
deleted
100644 → 0
View file @
46e5a84e
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
n
,
a
,
o
){
for
(
var
f
,
d
,
i
,
u
=
0
,
b
=
[];
u
<
n
.
length
;
u
++
)
d
=
n
[
u
],
r
[
d
]
&&
b
.
push
(
r
[
d
][
0
]),
r
[
d
]
=
0
;
for
(
f
in
a
)
Object
.
prototype
.
hasOwnProperty
.
call
(
a
,
f
)
&&
(
e
[
f
]
=
a
[
f
]);
for
(
c
&&
c
(
n
,
a
,
o
);
b
.
length
;)
b
.
shift
()();
if
(
o
)
for
(
u
=
0
;
u
<
o
.
length
;
u
++
)
i
=
t
(
t
.
s
=
o
[
u
]);
return
i
};
var
n
=
{},
r
=
{
25
:
0
};
function
t
(
c
){
if
(
n
[
c
])
return
n
[
c
].
exports
;
var
r
=
n
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
r
.
exports
,
r
,
r
.
exports
,
t
),
r
.
l
=!
0
,
r
.
exports
}
t
.
e
=
function
(
e
){
var
c
=
r
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
n
=
new
Promise
(
function
(
n
,
t
){
c
=
r
[
e
]
=
[
n
,
t
]});
c
[
2
]
=
n
;
var
a
=
document
.
getElementsByTagName
(
"head"
)[
0
],
o
=
document
.
createElement
(
"script"
);
o
.
type
=
"text/javascript"
,
o
.
charset
=
"utf-8"
,
o
.
async
=!
0
,
o
.
timeout
=
12
e4
,
t
.
nc
&&
o
.
setAttribute
(
"nonce"
,
t
.
nc
),
o
.
src
=
t
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"808c6b2c88428074a2da"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"746c1aff28909fa81065"
,
3
:
"ee2db5932cf0c94dec20"
,
4
:
"c872205e76fc2e211c44"
,
5
:
"79669dea02bc4dbeebf1"
,
6
:
"49af429925a1e8f0f2bd"
,
7
:
"b2a85a42ddd430235a63"
,
8
:
"7b30654eb23787b522cc"
,
9
:
"a7997e12a098f7b54ed3"
,
10
:
"638039a7b39908980436"
,
11
:
"a856aed440077049c707"
,
12
:
"3b9c756b15cf547445f5"
,
13
:
"6c760e15d9a57478de92"
,
14
:
"1cc6cb28c0c58bea9145"
,
15
:
"384267038af31c9086d9"
,
16
:
"57d016308e690b422d49"
,
17
:
"7e4aa3cd1b6feb0ffcd6"
,
18
:
"67aef9456764e44190e3"
,
19
:
"f5c5139410c25373666b"
,
20
:
"c163ea91d150e0ca1cb1"
,
21
:
"c18c8eba63a78b9bfc1e"
,
22
:
"6fda5833364e602fa76a"
}[
e
]
+
".js"
;
var
f
=
setTimeout
(
d
,
12
e4
);
function
d
(){
o
.
onerror
=
o
.
onload
=
null
,
clearTimeout
(
f
);
var
c
=
r
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
r
[
e
]
=
void
0
)}
return
o
.
onerror
=
o
.
onload
=
d
,
a
.
appendChild
(
o
),
n
},
t
.
m
=
e
,
t
.
c
=
n
,
t
.
d
=
function
(
e
,
c
,
n
){
t
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
n
})},
t
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
t
.
d
(
c
,
"a"
,
c
),
c
},
t
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
t
.
p
=
"./"
,
t
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/api/api.js
View file @
97264499
...
...
@@ -25,10 +25,10 @@ Vue.axios.interceptors.response.use(
if
(
data
.
status
&&
data
.
status
==
200
&&
data
.
data
.
code
!=
'0000'
)
{
// Message.error({message: data.data.message});
if
(
data
.
data
.
code
==
4
||
data
.
data
.
code
==
2003
)
{
window
.
location
.
href
=
local
+
'gateway-web/#/login'
;
window
.
location
.
href
=
local
+
'
/
gateway-web/#/login'
;
}
if
(
data
.
data
.
code
==
10
||
data
.
data
.
code
==
7
)
{
window
.
location
.
href
=
local
+
'gateway-web/#/overview'
;
window
.
location
.
href
=
local
+
'
/
gateway-web/#/overview'
;
}
return
data
;
}
...
...
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