@@ -12,7 +12,7 @@ class CommentController extends Controller {
this.service = this.ctx.service.comment;
}
- async show() {
+ async index() {
const res = await this.service.query(this.ctx.query);
this.ctx.ok({ ...res });