12345678910111213 |
- 'use strict';
- const meta = require('./.credit.js');
- const Controller = require('egg').Controller;
- const { CrudController } = require('naf-framework-mongoose/lib/controller');
- // 充值
- class CreditController extends Controller {
- constructor(ctx) {
- super(ctx);
- this.service = this.ctx.service.credit;
- }
- }
- module.exports = CrudController(CreditController, meta);
|