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

+ 2 - 0
app/controller/.dock.js

@@ -21,6 +21,7 @@ module.exports = {
       "vipuser",
       "email",
       "company",
+      "openid"
     ],
   },
   destroy: {
@@ -47,6 +48,7 @@ module.exports = {
       "vipuser",
       "email",
       "company",
+      "openid",
     ],
   },
   show: {

+ 1 - 0
app/model/dock.js

@@ -80,6 +80,7 @@ const Dock = {
   // reason: { type: String, required: false, maxLength: 200 }, // 拒绝理由
   // roomname: { type: String, required: false }, // 房间名称
   // uid: { type: String, required: false, maxLength: 200 }, // 所属用户
+  openid: { type: String, maxLength: 200 }, // openid
 };
 const schema = new Schema(Dock, { toJSON: { virtuals: true } });
 schema.index({ id: 1 });