root 4 anos atrás
pai
commit
e4dc5c3b20
1 arquivos alterados com 1 adições e 0 exclusões
  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);