lsc 3 tygodni temu
rodzic
commit
553e6acfd6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      mongo.js

+ 1 - 1
mongo.js

@@ -79,7 +79,7 @@ router.route('/updateUserData').all((req, res, next) => {
             [username]: // 使用变量username作为键
             {
                 userid: req.body[0].userid,
-                date: req.body[0].date,
+                date: today,
                 appname: req.body[0].appname,
                 appid: req.body[0].appid,
                 status: req.body[0].status