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
陈轩
2016-10-21 13:42:54 +0800
Commit
6241766e7815c8d40b25f8a80905c851e03d103f
1 parent
01943f9b
fix
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
apps/product/controllers/seckill.js
doraemon/middleware/auth.js
apps/product/controllers/seckill.js
View file @
6241766
...
...
@@ -185,6 +185,7 @@ const index = (req, res, next) => {
}
}
else
{
// 大于这个时间段但是后面没有秒抢时间端了,则依然显示抢购中
activity
.
now
=
true
;
focusIndex
||
(
activity
.
focus
=
true
);
}
}
else
{
activity
.
wait
=
true
;
...
...
doraemon/middleware/auth.js
View file @
6241766
...
...
@@ -8,7 +8,6 @@
const
helpers
=
global
.
yoho
.
helpers
;
module
.
exports
=
(
req
,
res
,
next
)
=>
{
console
.
log
(
'....'
);
if
(
!
req
.
user
.
uid
)
{
if
(
req
.
xhr
)
{
return
res
.
json
({
...
...
Please
register
or
login
to post a comment