Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
郝肖肖
7 years ago
Commit
c7f8491dab17078c04a97b5348949282347c118f
1 parent
5220d1ab
'risk-open'
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
doraemon/middleware/risk-management.js
doraemon/middleware/risk-management.js
View file @
c7f8491
...
...
@@ -43,8 +43,8 @@ const _jumpUrl = (req, res, next, result) => {
module
.
exports
=
()
=>
{
return
(
req
,
res
,
next
)
=>
{
// default close
if
(
!
_
.
get
(
req
.
app
.
locals
.
wap
,
'close.risk'
,
false
))
{
// default open
if
(
_
.
get
(
req
.
app
.
locals
.
wap
,
'close.risk'
,
false
))
{
return
next
();
}
...
...
Please
register
or
login
to post a comment