feat(dataLogs): show user score change history

This commit is contained in:
OldHawk
2018-06-06 00:48:30 +08:00
parent 060a70c96c
commit e1d4537164
24 changed files with 430 additions and 50 deletions

View File

@@ -327,7 +327,11 @@ exports.updateUserScore = function (req, res) {
score: sv,
reason: {
event: scoreConfig.action.adminModify.name,
params: undefined
event_str: scoreConfig.action.adminModify.content,
params: {
uid: req.user._id,
uname: req.user.displayName
}
}
});
sl.save(function (err) {