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