Commit f848f4f7 authored by 姜登's avatar 姜登

yys

parent 9afbd607
Pipeline #6451 passed with stage
in 2 minutes 37 seconds
...@@ -168,8 +168,8 @@ class TaskController extends Controller { ...@@ -168,8 +168,8 @@ class TaskController extends Controller {
async dataCallback() { async dataCallback() {
const { ctx, service } = this; const { ctx, service } = this;
const { data } = ctx.request.body; // const { data } = ctx.request.body;
const { taskId, state } = data; const { taskId, state } = ctx.request.body;
const order = await service.order.getOneByTaskId(taskId); const order = await service.order.getOneByTaskId(taskId);
if (!order) { if (!order) {
throw new Error('任务不存在'); throw new Error('任务不存在');
......
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