Commit 88c37c6f authored by 姜登's avatar 姜登

yys

parent ed8178ad
Pipeline #6986 passed with stage
in 11 seconds
......@@ -170,7 +170,9 @@ class TaskController extends Controller {
async dataCallback() {
const { ctx, service } = this;
// const { data } = ctx.request.body;
ctx.body = {
code: 200,
};
const { taskId, state } = ctx.request.body;
const order = await service.order.getOneByTaskId(taskId);
if (!order) {
......@@ -191,7 +193,6 @@ class TaskController extends Controller {
key: taskId,
value: taskNote,
});
ctx.success('ok');
}
}
......
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