lrf 2 years ago
parent
commit
43cc896b4e
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/controller/apply/billApply.js

+ 2 - 2
app/controller/apply/billApply.js

@@ -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);