X Tutup
{ "ConnectionStrings": { "DbType": 0, //0:MySql,1:SqlServer,2:Sqlite //"ConnectionString": "Server=liaozengbo\\sql2018; Database=test; User Id=sa;Password=sa123;", "ConnectionString": "Server=192.168.0.133; Database=test; User Id=root;Password=password;charset=UTF8;" }, "Authentication": { "JwtBearer": { "IsEnabled": "true", "SecurityKey": "APIJSON.NET_C421AAEE0D114E9C", "Issuer": "APIJSON.NET", "Audience": "APIJSON.NET" } }, "RoleList": [ { "name": "role1", //权限名称 唯一 "select": { //查询权限 "table": [ "moment", "User", "Comment" ], //可操作的表 "column": [ "*", "*", "*" ], //可操作的字段 "where": [] }, "update": { //修改权限 "table": [ "moment", "User", "Comment" ], "column": [ "*", "*", "*" ] }, "insert": { //添加权限 "table": [ "moment", "User", "Comment" ], "column": [ "*", "*", "*" ] }, "delete": { //删除权限 "table": [ "moment", "User", "Comment" ] } }, { "name": "role2", "select": { "table": [ "monent" ], "column": [ "*" ] } } ], "tablempper": //别名表映射 { "user": "apijson_user" } }
X Tutup