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 {
async dataCallback() {
const { ctx, service } = this;
const { data } = ctx.request.body;
const { taskId, state } = data;
// const { data } = ctx.request.body;
const { taskId, state } = ctx.request.body;
const order = await service.order.getOneByTaskId(taskId);
if (!order) {
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