Commit 68cfe540 authored by 姜登's avatar 姜登

jiami

parent 9efa73a9
Pipeline #21259 passed with stage
in 2 seconds
......@@ -68,7 +68,7 @@ class TaskController extends Controller {
while (key.length < 16) key += '0';
}
key = key.substring(0,16);
ctx.request.body = ctx.helper.aesDecrypt({ algorithm: 'aes-128-ecb', key, data: ctx.request.body });
ctx.request.body = ctx.helper.aesDecrypt({ algorithm: 'aes-128-ecb', key, data: ctx.request.body.data });
await service.cache.set({
key: String(taskId),
value: { status: 'login', note: { message: 'login' } },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment