mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-05-06 20:11:27 +08:00
更新
This commit is contained in:
@@ -81,5 +81,11 @@ func InitVisualScreenRouter(container *restful.Container) {
|
||||
Doc("孪生体数据").
|
||||
Metadata(restfulspec.KeyOpenAPITags, tags))
|
||||
|
||||
ws.Route(ws.GET("/twin/data1").To(func(request *restful.Request, response *restful.Response) {
|
||||
restfulx.NewReqCtx(request, response).WithNeedCasbin(false).WithLog("孪生体数据").Handle(s.ScreenTwinData1)
|
||||
}).
|
||||
Doc("孪生体数据").
|
||||
Metadata(restfulspec.KeyOpenAPITags, tags))
|
||||
|
||||
container.Add(ws)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user