浏览代码

更改code

liuyu 4 年之前
父节点
当前提交
bb0e32d3f5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/model/trainplan.js

+ 1 - 1
app/model/trainplan.js

@@ -16,7 +16,7 @@ const batchInfo = new Schema({
 
 // 学校信息表
 const schInfo = new Schema({
-  schid: { type: String, required: false, maxLength: 200 }, // 学校id
+  code: { type: String, required: false, maxLength: 200 }, // 学校code
   num: { type: String, required: false, maxLength: 200 }, // 人数
 });