修复若干细节问题

This commit is contained in:
binaryify
2017-06-01 20:06:34 +08:00
parent c1b28c506c
commit 889f3dd7e3
7 changed files with 17 additions and 5 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ router.get("/", (req, res) => {
const data = {
'username': email,
'password': md5sum.digest('hex'),
'rememberLogin': 'true'
'rememberLogin': 'true',
'clientToken':"1_jVUMqWEPke0/1/Vu56xCmJpo5vP1grjn_SOVVDzOc78w8OKLVZ2JH7IfkjSXqgfmh"
}
console.log(email,req.query.password);
+1 -1
View File
@@ -7,7 +7,7 @@ const { createWebAPIRequest } = require("../util/util")
router.get("/", (req, res) => {
const cookie = req.get('Cookie') ? req.get('Cookie') : ''
const data = {
'offset': req.query.offset || 0,
// 'offset': req.query.offset || 0,
'total': true,
'limit': req.query.limit || 30,
"csrf_token": ""