root %!s(int64=4) %!d(string=hai) anos
pai
achega
e4dc5c3b20
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      blockly.js

+ 1 - 0
blockly.js

@@ -31,6 +31,7 @@ router.route('/history').post((req, res, next) => {
     var _arr = [req.body.userid, req.body.username, 0, "history"];
     postmysql(req, res, "blockly_history", _arr);
 }).get((req, res, next) => {
+    console.log(req.body)
     var _stime = req.body.starttime || "",
         _etime = req.body.endtime || "";
     getmysql(req, res, "blockly_history_get", req.query.username, "history", _stime, _etime);