diff --git a/json/rolepermission.json b/json/rolepermission.json index 27a6f57..4fac196 100644 --- a/json/rolepermission.json +++ b/json/rolepermission.json @@ -5,6 +5,10 @@ "tblname": "rolepermission", "title":"用户", "params": { + "relation":{ + "outter_field":"permid", + "param_field":"roleid" + }, "browserfields": { "exclouded": ["id", "roleid"], "alters":{ diff --git a/json/userroles.json b/json/userroles.json index b2490d9..e1ccd24 100644 --- a/json/userroles.json +++ b/json/userroles.json @@ -5,6 +5,10 @@ "tblname": "userroles", "title":"用户", "params": { + "relation":{ + "outter_field":"roleid", + "param_field":"userid" + }, "browserfields": { "exclouded": ["id", "userid"], "cwidth": {}