Skip to content

Commit 0a1ada0

Browse files
author
piexlmax
committed
调整初始化casbin权限
1 parent 999be89 commit 0a1ada0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/source/system/casbin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func (i *initCasbin) InitializeData(ctx context.Context) (context.Context, error
121121
{PType: "p", V0: "888", V1: "/autoCode/getPackage", V2: "POST"},
122122
{PType: "p", V0: "888", V1: "/autoCode/delPackage", V2: "POST"},
123123
{PType: "p", V0: "888", V1: "/autoCode/createPlug", V2: "POST"},
124-
{PType: "p", V0: "888", V1: "/autoCode/installPlugin", V2: "POST"},
124+
{PType: "p", V0: "888", V1: "/autoCode/installPlug", V2: "POST"},
125125

126126
{PType: "p", V0: "888", V1: "/sysDictionaryDetail/findSysDictionaryDetail", V2: "GET"},
127127
{PType: "p", V0: "888", V1: "/sysDictionaryDetail/updateSysDictionaryDetail", V2: "PUT"},

0 commit comments

Comments
 (0)