From 106509bdf3f76dd2428aa256e123dc76fd3d7254 Mon Sep 17 00:00:00 2001 From: handongxun Date: Fri, 20 Nov 2020 15:16:05 +0800 Subject: [PATCH] =?UTF-8?q?update:=20uni-id-users=20role=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=20=E5=A2=9E=E5=8A=A0=20enum=20=E5=B1=9E=E6=80=A7=EF=BC=8C?= =?UTF-8?q?=E6=94=AF=E6=8C=81=E7=94=9F=E6=88=90=E9=A1=B5=E9=9D=A2=E5=8A=A8?= =?UTF-8?q?=E6=80=81=E6=9F=A5=E8=AF=A2=E8=A7=92=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- collection/uni-id-users/collection.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/collection/uni-id-users/collection.json b/collection/uni-id-users/collection.json index 8c41fdd..8ce7bc4 100644 --- a/collection/uni-id-users/collection.json +++ b/collection/uni-id-users/collection.json @@ -108,6 +108,10 @@ "bsonType": "array", "title": "角色", "description": "用户角色", + "enum": { + "collection": "uni-id-roles", + "field": "role_id as value, role_name as text" + }, "foreignKey": "uni-id-roles.role_id", "permission": { "write": false