lrf402788946 4 年之前
父節點
當前提交
4e8d7a6fec
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/model/group.js

+ 1 - 1
app/model/group.js

@@ -4,7 +4,7 @@ const metaPlugin = require('naf-framework-mongoose/lib/model/meta-plugin');
 
 // 群内成员信息
 const Patientinfo = new Schema({
-  patientid: { type: String, required: false, maxLength: 20 }, // 病人ID
+  patientid: { type: String, required: false }, // 病人ID
   url: { type: String, required: false }, // 头像url
   name: { type: String, required: false }, // 病人名称
   openid: { type: String, required: false }, // 微信openid