This commit is contained in:
robin
2022-05-21 06:48:12 +08:00
parent b5f918776e
commit 96333ae7a9
45 changed files with 650 additions and 64 deletions
+25
View File
@@ -0,0 +1,25 @@
module.exports = {
doc : "数据权限表(只在默认api生效)",
model: {
code : {type: "STRING", comment: '角色代码'},
table: {type: "STRING", comment: '表名'},
key : {type: "STRING", comment: '表字段'},
crud: {
type : "ENUM", comment: 'crud权限',
values: [
"C", // 创建
"R", // 读取
"U", // 更新
"D", // 删除
]
},
value: {
type : "ENUM", comment: '状态',
values: [
0, // 禁止
1, //通行
],
defaultValue: 0,
},
}
}