Commit 90524a13 authored by 姜登's avatar 姜登

yizhi

parent 343c3cb5
Pipeline #9001 passed with stage
in 2 seconds
...@@ -78,7 +78,7 @@ class UserController extends Controller { ...@@ -78,7 +78,7 @@ class UserController extends Controller {
const { id } = ctx.params; const { id } = ctx.params;
const { status } = ctx.request.body; const { status } = ctx.request.body;
await service.user.update({ user_id: id }, { status }); await service.user.update({ user_id: id }, { status });
ctx.success(); ctx.success({ user_id: id });
} }
async serviceList() { async serviceList() {
......
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