12345678910111213 |
- 'use strict';
- const meta = require('./.answer.js');
- const Controller = require('egg').Controller;
- const { CrudController } = require('naf-framework-mongoose/lib/controller');
- // 问卷回答
- class AnswerController extends Controller {
- constructor(ctx) {
- super(ctx);
- this.service = this.ctx.service.answer;
- }
- }
- module.exports = CrudController(AnswerController, meta);
|