lrf 2 年 前
コミット
e7b5cfa6e5
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/model/race/matchSign.js

+ 1 - 1
app/model/race/matchSign.js

@@ -4,7 +4,7 @@ const metaPlugin = require('naf-framework-mongoose-free/lib/model/meta-plugin');
 
 // 赛事报名
 const match_sign = {
-  match_id: { type: String, required: true, zh: '赛事id', ref: 'Match', getProp: [ 'name', 'status' ] }, // 比赛信息中的名称
+  match_id: { type: String, required: true, zh: '赛事id', ref: 'Match', getProp: [ 'name', 'status', 'contact' ] }, // 比赛信息中的名称
   group_id: { type: String, required: true, zh: '组别id', ref: 'MatchGroup', getProp: [ 'name' ] }, // 赛事组别中的名称
   project_id: { type: String, required: true, zh: '项目id', ref: 'MatchProject', getProp: [ 'name' ] }, // 组别项目中的名称
   user_id: { type: String, required: true, zh: '用户id' }, //