diff --git a/collection/uni-id-users/collection.json b/collection/uni-id-users/collection.json index 8e078b8..073c8f2 100644 --- a/collection/uni-id-users/collection.json +++ b/collection/uni-id-users/collection.json @@ -110,6 +110,17 @@ "description": "头像地址", "trim":"both" }, + "department_id": { + "bsonType": "string", + "description": "部门ID", + "title": "部门", + "enumType": "tree", + "enum": { + "collection": "opendb-department", + "orderby": "name asc", + "field": "_id as value, name as text" + } + }, "role": { "bsonType": "array", "title": "角色",