Better api: log; blacklist; bug fixing; frequency limitation

This commit is contained in:
DIYgod 2016-05-18 02:27:05 +08:00
parent f1a9b8664f
commit a6a5505852
No known key found for this signature in database
GPG Key ID: F8797DD1088C6506
1 changed files with 0 additions and 1 deletions

View File

@ -145,7 +145,6 @@ app.post('/', function (req, res) {
}
// check data
console.log(jsonStr.player, jsonStr.author, jsonStr.time, jsonStr.text, jsonStr.color, jsonStr.type);
if (jsonStr.player === undefined
|| jsonStr.author === undefined
|| jsonStr.time === undefined