登录:更新服务器列表

This commit is contained in:
luying
2021-03-05 16:26:15 +08:00
parent d22e22fd30
commit f1e9c1efd6
5 changed files with 102 additions and 67 deletions

View File

@@ -43,7 +43,7 @@ module.exports = options => {
await next();
const resBody = ctx.body;
console.log('return value:', resBody);
console.log('return value:', JSON.stringify(resBody));
if (isJSON(resBody)) {
ctx.body = { result: aesEncrypt(JSON.stringify(resBody), ENCRYPT_KEY, ENCRYPT_IV) };
} else {