|
@@ -15,7 +15,8 @@ class BedroomController extends Controller {
|
|
|
|
|
|
// 一键分寝
|
|
// 一键分寝
|
|
async apart() {
|
|
async apart() {
|
|
- const res = await this.service.apart(this.ctx.body);
|
|
|
|
|
|
+ console.log(this.ctx.request.body);
|
|
|
|
+ const res = await this.service.apart(this.ctx.request.body);
|
|
this.ctx.ok({ data: res });
|
|
this.ctx.ok({ data: res });
|
|
}
|
|
}
|
|
|
|
|