移动系统liao
3 天以前 3373a075081a707b094c6225759a776d18ee1e53
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  "$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
 
  "APIJSON": {
    "Roles": [
      {
        "RoleName": "Role1", // 权限名称 唯一
        "Select": { // 查询
          "Table": [ "*" ], // 可操作的表
          "Column": [ "*" ], // 可操作的字段
          "Filter": []
        },
        "Insert": { // 添加
          "Table": [ "table1", "table2", "table3" ],
          "Column": [ "*", "*", "tb.*" ]
        },
        "Update": { // 修改
          "Table": [ "table1", "table2", "table3" ],
          "Column": [ "*", "tb.*", "tb.*" ]
        },
        "Delete": { // 删除
          "Table": [ "table1", "table2", "table3" ]
        }
      },
      {
        "RoleName": "Role2",
        "Select": {
          "Table": [ "table1" ],
          "Column": [ "tb.*" ]
        }
      }
    ]
  }
}