Commit 9afbd607 authored by 姜登's avatar 姜登

yys

parent 481ef350
Pipeline #6446 passed with stage
in 2 seconds
......@@ -43,9 +43,9 @@ class OrderService extends Service {
return;
}
}
const { appKey, taskId, notifyUrl, backUrl, userId } = order[0];
const { appKey, taskId, notifyUrl, backUrl, userId, phone, operator, city } = order[0];
if (taskId) {
await ctx.model.TaskStatus.create({ appKey, status: 'init', notifyUrl, backUrl, userId, ...params });
await ctx.model.TaskStatus.create({ appKey, status: 'init', notifyUrl, backUrl, userId, phone, operator, city, ...params });
} else {
await order[0].update(params);
}
......
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