1234567891011121314151617 |
- 'use strict';
- const Controller = require('egg').Controller;
- // 教师申请讲课表管理
- class UtilController extends Controller {
- constructor(ctx) {
- super(ctx);
- this.service = this.ctx.service.util;
- }
- async findModel() {
- const data = await this.service.findModel(this.ctx.params);
- this.ctx.ok({ data });
- }
- }
- module.exports = UtilController;
|