mirror of
https://github.com/flipped-aurora/gin-vue-admin.git
synced 2026-09-21 20:35:16 +00:00
数据初始化完成
This commit is contained in:
@@ -23,7 +23,6 @@ func UpdateCasbin(authorityId string, casbinInfos []request.CasbinInfo) error {
|
||||
ClearCasbin(0, authorityId)
|
||||
for _, v := range casbinInfos {
|
||||
cm := model.CasbinModel{
|
||||
ID: 0,
|
||||
Ptype: "p",
|
||||
AuthorityId: authorityId,
|
||||
Path: v.Path,
|
||||
|
||||
Reference in New Issue
Block a user