|
@@ -32,10 +32,7 @@ class GroupController extends Controller {
|
|
|
this.ctx.ok({ msg: 'ok', data: res });
|
|
|
}
|
|
|
|
|
|
- async index() {
|
|
|
- const data = await this.service.query(this.ctx.query);
|
|
|
- this.ctx.ok({ ...data });
|
|
|
- }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
module.exports = CrudController(GroupController, meta);
|