songzhibin97
|
a116ce620b
|
style: linker
|
3 years ago |
dyzsoft
|
6215328815
|
优化:casbin验证优化,在中间件中获取请求的 Path,在CasbinModel定义中直接使用keymatch2进行匹配,减少一次path获取和函数调用。
server/middleware/casbin_rbac.go:18行修改为请求的path作为obj
server/service/system/sys_casbin.go:删掉无用的注册函数
server/resource/rbac_model.conf:验证函数修改为keyMathc2
|
3 years ago |
奇淼(piexlmax
|
8c1223ffe9
|
Update sys_casbin.go
|
3 years ago |
蒋吉兆
|
f5410430fa
|
修改包名称定为至server为插件化提供便利
|
3 years ago |
songzhibin97
|
7c6b6bee7a
|
feat:fix go mod
|
3 years ago |
pixel
|
594bf5fc3c
|
基础架构变更 增加模块化
|
3 years ago |
pixel
|
9c5afb7c1a
|
模块化变更
|
3 years ago |
SliverHorn
|
6f6178ab0a
|
fix: Enforcer => SyncedEnforcer Solve Map Preemption
|
4 years ago |
SliverHorn
|
5ffc56dc35
|
fix: remove casbin init single case
|
4 years ago |
pixel
|
eac01bdc92
|
修复map竞争问题
|
4 years ago |
奇淼(piexlmax
|
86cfebb064
|
Revert "Gva gormv2 dev"
|
4 years ago |
songzhibin97
|
430a22be67
|
fix casbin datarace
|
4 years ago |
closetool
|
66315830ef
|
service/sys_casbin.go: fix casbin runs slowly
|
4 years ago |
pixel
|
5488bbe291
|
修复casbin导致连接泄露问题
|
4 years ago |
closetool
|
0aa28237e6
|
fix: using official casbin gorm-adapter
|
4 years ago |
pixel
|
db81460c35
|
将gorm适配器调整至本地避免windows没有gcc的情况导致系统无法启动
|
4 years ago |
closetool
|
0c461a94fe
|
fix: casbin gorm-adapter has no sqlite3 support
Signed-off-by: closetool <c299999999@qq.com>
|
4 years ago |
SliverHorn
|
e10b422380
|
service层注释规范化
|
4 years ago |
QM303176530
|
cfddbc51e8
|
casbin修改性能优化
|
4 years ago |
SliverHorn
|
4907706b49
|
api管理测试完成,修复casbin的API更新随动map[string]string改为map[string]interface{}
|
4 years ago |
SliverHorn
|
4b94184ccd
|
数据初始化完成
|
4 years ago |
QM303176530
|
ba7ae3125b
|
gormv2升级 第一阶段
|
4 years ago |
Leonard Wang
|
971626809b
|
修复格式问题,重构嵌套层数过深的函数
|
5 years ago |
pixel
|
e794ef05c2
|
增加角色复制后台功能 修复swagger不能带token的问题
|
5 years ago |
pixel
|
8f7113f13b
|
swagger修复完成
|
5 years ago |
pixel
|
6dd70d2a76
|
修复了api唯一key关联的bug,修复了角色删除失败的bug
|
5 years ago |
pixel
|
ed6e888470
|
修改customer文件位restful模式 提供示例
|
5 years ago |
rainyan
|
5d871db828
|
correct all comments of functions in service
|
5 years ago |
pixel
|
474e07b863
|
修改编辑方法逻辑,前端细节调整
|
5 years ago |
Granty1
|
d56512e8fd
|
Migrate all methods in the model package to the service package
|
5 years ago |
rainyan
|
a0b6909506
|
方法添加注释,中文版注释
|
5 years ago |
QM303176530
|
1fa30b1d34
|
update: The code structure is finished, and the project can run successfully
|
5 years ago |
QM303176530
|
91659efaf5
|
gin-vue-admin 2.0代码重构
|
5 years ago |
rainyan
|
b2dc6bfa17
|
updata->update
Updata->Update
|
5 years ago |
pixel
|
e9c0fe56a7
|
对RBAC鉴权模型自定义方法修改 完全支持 RESFTUL模式 支持/:params 占位符模式以及 ?query=地址栏参数模式
|
5 years ago |
pixel
|
20ab5a8daf
|
api 增加 GET PUT DELETE POST 四种可选声明方式
|
5 years ago |
pixel
|
8fac89ad37
|
部分常量内容放入配置文件
|
5 years ago |
pixel
|
24f0d85d48
|
修改包名main-->gin-vue-admin
|
5 years ago |
pixel
|
211b1f2db0
|
后台格式规范化 引入casbin做鉴权
|
5 years ago |