|
@@ -1,5 +1,5 @@
|
|
|
'use strict';
|
|
|
-const meta = require('.//config/.billApply.js');
|
|
|
+const meta = require('./config/.billApply.js');
|
|
|
const Controller = require('egg').Controller;
|
|
|
const { CrudController } = require('naf-framework-mongoose-free/lib/controller');
|
|
|
|
|
@@ -7,7 +7,7 @@ const { CrudController } = require('naf-framework-mongoose-free/lib/controller')
|
|
|
class BillApplyController extends Controller {
|
|
|
constructor(ctx) {
|
|
|
super(ctx);
|
|
|
- this.service = this.ctx.service.billApply;
|
|
|
+ this.service = this.ctx.service.apply.billApply;
|
|
|
}
|
|
|
}
|
|
|
module.exports = CrudController(BillApplyController, meta);
|