lrf há 2 anos atrás
pai
commit
f4a3b0d51f
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/model/apply/tempLessonApply.js

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

@@ -7,7 +7,7 @@ const moneyPlugin = require('naf-framework-mongoose-free/lib/model/type-money-pl
 const tempLessonApply = {
   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', 'icon' ] }, //
+  student_id: { type: String, required: false, zh: '学员id', ref: 'Student', getProp: [ 'name', 'icon', ' phone' ] }, //
   coach_id: { type: String, required: false, zh: '教练id', ref: 'Coach', getProp: [ 'name' ] }, //
   img_url: { type: Array, required: false, zh: '证据' }, //
   pay_id: { type: String, required: false, zh: '支付id', ref: 'PayOrder' }, //