Commit 6f140d5b authored by 高诸锋's avatar 高诸锋

[fix]

parent ddc2160b
...@@ -100,7 +100,9 @@ class TaskController extends Controller { ...@@ -100,7 +100,9 @@ class TaskController extends Controller {
const { ctx, service } = this; const { ctx, service } = this;
const { taskId } = ctx.request.body; const { taskId } = ctx.request.body;
const result = await service.task.fetchTask({ taskId }); const result = await service.task.fetchTask({ taskId });
ctx.success(); // ctx.success();
// ctx.status = 200;
ctx.body = 'ok';
let taskNote = { let taskNote = {
status: 'init', status: 'init',
note: { message: 'init' }, note: { message: 'init' },
......
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