[优化] 更新kit包

This commit is contained in:
PandaGoAdmin
2022-08-19 22:24:20 +08:00
parent 645d30adf3
commit 9522270543
18 changed files with 395 additions and 13 deletions

View File

@@ -9,6 +9,7 @@ import (
"github.com/gorilla/websocket"
"github.com/kakuilan/kgo"
"net/http"
"pandax/pkg/middleware"
"runtime"
)
@@ -72,7 +73,7 @@ func (s *System) ConnectWs(g *gin.Context) {
}
// 权限校验
rc := ginx.NewReqCtx(g)
if err = ginx.PermissionHandler(rc); err != nil {
if err = middleware.PermissionHandler(rc); err != nil {
panic(any(biz.NewBizErr("没有权限")))
}