Commit 58abf255 authored by 姜登's avatar 姜登

gjj

parent 50d705f4
Pipeline #6644 passed with stage
in 5 seconds
...@@ -42,7 +42,7 @@ class OrderService extends Service { ...@@ -42,7 +42,7 @@ class OrderService extends Service {
} }
const { appKey, taskId, notifyUrl, backUrl, userId } = order[0]; const { appKey, taskId, notifyUrl, backUrl, userId } = order[0];
if (taskId) { 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, ...params });
} else { } else {
await order[0].update(params); 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