12345678910111213141516171819 |
- 'use strict';
- const _ = require('lodash');
- const meta = require('./.nation.js');
- const Controller = require('egg').Controller;
- const { CrudController } = require('naf-framework-mongoose/lib/controller');
- // 民族表管理
- class NationController extends Controller {
- constructor(ctx) {
- super(ctx);
- this.service = this.ctx.service.nation;
- }
- }
- module.exports = CrudController(NationController, meta);
|