...
|
...
|
@@ -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();
|
|
|
}
|
|
|
|
...
|
...
|
|