@@ -27,7 +27,8 @@ module.exports = {
'deptname',
'pid',
'code',
- "columnid"
+ "columnid",
+ "openid"
],
},
destroy: {
@@ -63,7 +64,8 @@ module.exports = {
show: {
@@ -101,7 +103,8 @@ module.exports = {
deptname: 'deptname',
pid: 'pid',
code: 'code',
- columnidg :"columnid"
+ columnidg :"columnid",
+ openid:"openid"
service: "query",
@@ -32,6 +32,7 @@ const UserSchema = {
pid: { type: String, required: false }, // 父id
deptname: { type: String, required: false }, // 机构名称
code: { type: String, required: false }, // 邀请码
+ openid: { type: String, required: false }, // 微信openid
};