登录:更新服务器列表
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user