lrf 2 lat temu
rodzic
commit
ad0a945349
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/model/apply/tryLessonApply.js

+ 1 - 1
app/model/apply/tryLessonApply.js

@@ -6,7 +6,7 @@ const metaPlugin = require('naf-framework-mongoose-free/lib/model/meta-plugin');
 const tryLessonApply = {
   school_id: { type: String, required: false, zh: '学校id', ref: 'School', getProp: [ 'name' ] }, //
   lesson_id: { type: String, required: false, zh: '课程id', ref: 'Lesson', getProp: [ 'title' ] }, //
-  student_id: { type: String, required: false, zh: '学生id', ref: 'Student', getProp: [ 'name' ] }, //
+  student_id: { type: String, required: false, zh: '学生id', ref: 'Student', getProp: [ 'name', 'icon', 'level', 'phone' ] }, //
   result: { type: String, required: false, default: '0', zh: '审核结果' }, // 0:未审核;1:审核通过;-1审核拒绝
   reason: { type: String, required: false, zh: '审核理由' }, //
 };