Commit d8b3e0e2 authored by nanahira's avatar nanahira

add log

parent f990b62e
...@@ -312,8 +312,10 @@ router.post('/score', function (req, res) { ...@@ -312,8 +312,10 @@ router.post('/score', function (req, res) {
ptResult.ptB = userB.pt; ptResult.ptB = userB.pt;
if (userscoreA === -9) { if (userscoreA === -9) {
ptResult.ptA = userA.pt - 2; ptResult.ptA = userA.pt - 2;
console.log(usernameA, '开局退房', moment(start).format('YYYY-MM-DD HH:mm'))
} else if (userscoreB === -9) { } else if (userscoreB === -9) {
ptResult.ptB = userB.pt - 2; ptResult.ptB = userB.pt - 2;
console.log(usernameB, '开局退房', moment(start).format('YYYY-MM-DD HH:mm'))
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment