|
1 | 1 | { |
2 | 2 | "ConnectionStrings": { |
3 | | - "DbType": 0, //0:MySql,1:SqlServer,2:Sqlite |
4 | | - "ConnectionString": "Server=192.168.2.25;Database=yunwei1.8;Uid=root;Pwd=xmjk;Port=3306;Character Set=utf8;" |
| 3 | + "DbType": 1, //0:MySql,1:SqlServer,2:Sqlite |
| 4 | + "ConnectionString": "Server=localhost;Database=APIJSON.NET;Uid=sa;Pwd=sa123qwe,;" |
5 | 5 | //"ConnectionString": "Server=119.29.9.25;Port=3306;Database=test;Uid=root;Pwd=1q,2w.3e?;CharSet=UTF8;" |
6 | 6 | }, |
7 | 7 | "CorsUrls": "http://localhost:5000,http://localhost5001", |
|
15 | 15 | }, |
16 | 16 | "RoleList": [ |
17 | 17 | { |
18 | | - "name": "role1", //Ȩ������ Ψһ |
19 | | - "select": { //��ѯȨ�� |
20 | | - "table": [ "*" ], //�ɲ����ı� |
21 | | - "column": [ "*" ], //�ɲ������ֶ� |
| 18 | + "name": "role1", //权限名称 唯一 |
| 19 | + "select": { //查询权限 |
| 20 | + "table": [ "*" ], //可操作的表 |
| 21 | + "column": [ "*" ], //可操作的字段 |
22 | 22 | "where": [] |
23 | 23 | }, |
24 | | - "update": { //��Ȩ�� |
| 24 | + "update": { //修改权限 |
25 | 25 | "table": [ "moment", "User", "Comment" ], |
26 | 26 | "column": [ "*", "*", "*" ] |
27 | 27 | }, |
28 | | - "insert": { //���Ȩ�� |
| 28 | + "insert": { //添加权限 |
29 | 29 | "table": [ "moment", "User", "Comment" ], |
30 | 30 | "column": [ "*", "*", "*" ] |
31 | 31 | }, |
32 | | - "delete": { //ɾ��Ȩ�� |
| 32 | + "delete": { //删除权限 |
33 | 33 | "table": [ "moment", "User", "Comment" ] |
34 | 34 | } |
35 | 35 | }, |
|
41 | 41 | } |
42 | 42 | } |
43 | 43 | ], |
44 | | - "tablempper": //������ӳ�� |
| 44 | + "tablempper": //别名表映射 |
45 | 45 | { |
46 | 46 | "user": "apijson_user", |
47 | 47 | "org": "web_organization" |
|
0 commit comments