Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
周少峰
2017-03-30 16:06:42 +0800
Commit
9e80f37fb3af05214e558ea8ec3cfa717c8b1bff
2 parents
9af3cdca
da81f006
Merge branch 'feature/geetest' into hotfix/salePage
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
app.js
app.js
View file @
9e80f37
...
...
@@ -149,13 +149,13 @@ app.use((req, res, next) => {
req
.
session
=
{};
}
req
.
app
.
locals
=
_
.
merge
(
req
.
app
.
locals
,
{
pc
:
{
geetest
:
{
validation
:
true
}
}
});
//req.app.locals = _.merge(req.app.locals, {
// pc: {
// geetest: {
// validation: true
// }
// }
//});
next
();
});
...
...
Please
register
or
login
to post a comment