mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-27 04:59:36 +08:00
孪生体
This commit is contained in:
@@ -76,7 +76,7 @@ func InitVisualScreenRouter(container *restful.Container) {
|
||||
Reads(entity.VisualScreen{}))
|
||||
|
||||
ws.Route(ws.GET("/twin/data").To(func(request *restful.Request, response *restful.Response) {
|
||||
restfulx.NewReqCtx(request, response).WithLog("孪生体数据").Handle(s.ScreenTwinData)
|
||||
restfulx.NewReqCtx(request, response).WithNeedCasbin(false).WithLog("孪生体数据").Handle(s.ScreenTwinData)
|
||||
}).
|
||||
Doc("孪生体数据").
|
||||
Metadata(restfulspec.KeyOpenAPITags, tags))
|
||||
|
||||
Reference in New Issue
Block a user