dimension.js 400 B

12345678910111213
  1. 'use strict';
  2. const meta = require('./.dimension.js');
  3. const Controller = require('egg').Controller;
  4. const { CrudController } = require('naf-framework-mongoose/lib/controller');
  5. // 专利维权
  6. class dimensionController extends Controller {
  7. constructor(ctx) {
  8. super(ctx);
  9. this.service = this.ctx.service.tecinfo.dimension;
  10. }
  11. }
  12. module.exports = CrudController(dimensionController, meta);