Commit 50d705f4 authored by 姜登's avatar 姜登

gjj

parent fe8008da
Pipeline #6637 passed with stage
in 4 seconds
...@@ -74,7 +74,7 @@ class OrderController extends Controller { ...@@ -74,7 +74,7 @@ class OrderController extends Controller {
await service.order.update(object); await service.order.update(object);
} else { } else {
if (!userId) { if (!userId) {
ctx.throw(400, { message: '请输入userId' }); ctx.throw(422, { message: '请输入userId' });
} }
object.orderId = ctx.helper.getUuid(); object.orderId = ctx.helper.getUuid();
await service.order.create(object); await service.order.create(object);
......
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