Explorar o código

bug,没写目录

lrf %!s(int64=2) %!d(string=hai) anos
pai
achega
d60c5f7605
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/relation/relationStudentCoach.js

+ 1 - 1
app/service/relation/relationStudentCoach.js

@@ -8,7 +8,7 @@ const assert = require('assert');
 class RelationStudentCoachService extends CrudService {
   constructor(ctx) {
     super(ctx, 'relationstudentcoach');
-    this.model = this.ctx.model.RelationStudentCoach;
+    this.model = this.ctx.model.Relation.RelationStudentCoach;
   }
 }