Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
付智勇
/
koa2_Sequelize_project
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
付智勇
2017-09-18 13:45:19 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
82d1f77f499f1551d44e426beed16e14d76ce2d3
82d1f77f
1 parent
e80bfa71
no message
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
app.js
app.js
查看文件 @
82d1f77
...
...
@@ -53,7 +53,9 @@ app.use(async (ctx, next) => {
try
{
const
start
=
new
Date
();
const
url
=
ctx
.
request
.
url
.
split
(
'?'
);
if
(
filterUrl
.
indexOf
(
url
[
0
])
!=
-
1
){
if
(
true
){
await
next
();
}
else
if
(
filterUrl
.
indexOf
(
url
[
0
])
!=
-
1
){
await
next
();
}
else
if
(
!
ctx
.
header
.
token
){
...
...
请
注册
或
登录
后发表评论