lrf 2 лет назад
Родитель
Сommit
996a162669
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/model/apply/tempLessonApply.js

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

@@ -10,7 +10,7 @@ const tempLessonApply = {
   coach_id: { type: String, required: false, zh: '教练id', ref: 'Coach', getProp: [ 'name' ] }, //
   img_url: { type: Array, required: false, zh: '证据' }, //
   money: { type: Number, required: false, zh: '金额' }, //
-  pay_id: { type: Array, required: false, zh: '支付id', ref: 'PayOrder' }, //
+  pay_id: { type: String, required: false, zh: '支付id', ref: 'PayOrder' }, //
 };
 const schema = new Schema(tempLessonApply, { toJSON: { virtuals: true } });
 schema.index({ id: 1 });