规则链

This commit is contained in:
XM-GO
2023-04-17 17:15:36 +08:00
parent 8b6f18ef6b
commit 9a7bab6cf3
10 changed files with 101 additions and 89 deletions

View File

@@ -10,6 +10,7 @@ import (
"github.com/XM-GO/PandaKit/restfulx"
"github.com/emicklei/go-restful/v3"
"github.com/kakuilan/kgo"
"pandax/pkg/global"
"strings"
"pandax/apps/visual/entity"
@@ -100,4 +101,5 @@ func (p *VisualScreenApi) ScreenTwin(request *restful.Request, response *restful
pxSocket.OnMessage(newWebsocket, string(message))
}
}()
global.Log.Info("Websocket连接成功")
}