12345678910111213141516 |
- 'use strict';
- const _ = require('lodash');
- const meta = require('./.company.js');
- const Controller = require('egg').Controller;
- const { CrudController } = require('naf-framework-mongoose/lib/controller');
- // 企业信息表
- class CompanyController extends Controller {
- constructor(ctx) {
- super(ctx);
- this.service = this.ctx.service.company;
- }
- }
- module.exports = CrudController(CompanyController, meta);
|