From a7ff948cfe395245bf9107116315968c6b33ba82 Mon Sep 17 00:00:00 2001 From: XM-GO <93296511+XM-GO@users.noreply.github.com> Date: Fri, 25 Aug 2023 09:56:26 +0800 Subject: [PATCH 01/13] =?UTF-8?q?=E8=A7=84=E5=88=99=E9=93=BE=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0RPC=E8=AF=B7=E6=B1=82=EF=BC=8C=E5=8F=8A=E5=93=8D?= =?UTF-8?q?=E5=BA=94=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/device/api/device_cmd.go | 2 +- default.log | 687 ++++++++++++++++++ fatal.log | 4 +- pkg/mqtt/rpc.go | 39 +- .../nodes/action_rpc_request_node.go | 48 ++ .../nodes/action_rpc_respond_node.go | 50 ++ pkg/rule_engine/nodes/init.go | 3 +- 7 files changed, 816 insertions(+), 17 deletions(-) create mode 100644 default.log create mode 100644 pkg/rule_engine/nodes/action_rpc_request_node.go create mode 100644 pkg/rule_engine/nodes/action_rpc_respond_node.go diff --git a/apps/device/api/device_cmd.go b/apps/device/api/device_cmd.go index 1a806c5..83184ed 100644 --- a/apps/device/api/device_cmd.go +++ b/apps/device/api/device_cmd.go @@ -50,7 +50,7 @@ func (p *DeviceCmdLogApi) InsertDeviceCmdLog(rc *restfulx.ReqCtx) { // 下发指令 var rpc = &mqtt.RpcRequest{Client: global.MqttClient, Mode: "single"} rpc.GetRequestId() - err = rpc.RequestCmd(mqtt.RpcPayload{Method: data.CmdName, Params: data.CmdContent}) + _, err = rpc.RequestCmd(mqtt.RpcPayload{Method: data.CmdName, Params: data.CmdContent}) if err != nil { global.Log.Error("指令下发失败") } diff --git a/default.log b/default.log new file mode 100644 index 0000000..3ed62de --- /dev/null +++ b/default.log @@ -0,0 +1,687 @@ +2023-08-23 16:11:33.279 [INFO] [D:/workspace/go/pkg/mod/github.com/!x!m-!g!o/!panda!kit@v0.0.0-20230628055017-c47e7aa81cd4/starter/gorm.go:36] : 连接mysql [root:!MyEMS1@tcp(127.0.0.1:3306)/pandax_iot?charset=utf8&loc=Local&parseTime=true] +2023-08-23 16:11:33.285 [INFO] [D:/workspace/go/project/PandaX/PandaX/main.go:46] : mysql连接成功 +2023-08-23 16:11:33.287 [INFO] [D:/workspace/go/project/PandaX/PandaX/main.go:51] : Redis连接成功 +2023-08-23 16:11:33.287 [INFO] [D:/workspace/go/project/PandaX/PandaX/main.go:58] : Tdengine连接成功 +2023-08-23 16:11:33.296 [INFO] [D:/workspace/go/project/PandaX/PandaX/main.go:76] : 路由初始化完成 +2023-08-23 16:11:33.297 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:38] : HTTP Server listen: :7788 +2023-08-23 16:11:33.297 [INFO] [D:/workspace/go/project/PandaX/PandaX/iothub/hook.go:37] : IOTHUB HOOK Start SUCCESS,Grpc Server listen: :9001 +2023-08-23 16:11:33.303 [INFO] [D:/workspace/go/project/PandaX/PandaX/apps/job/jobs/jobbase.go:83] : 2023-08-23 16:11:33 [INFO] JobCore start success. +2023-08-23 16:11:33.304 [INFO] [D:/workspace/go/project/PandaX/PandaX/iothub/hook.go:156] : 账号pandax,密码pandax,开始认证 +2023-08-23 16:11:33.306 [INFO] [D:/workspace/go/project/PandaX/PandaX/iothub/hook.go:96] : Client emqx@172.17.0.2 Connected +2023-08-23 16:11:38.231 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:11:38.232 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:11:38.396 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/group/list] : 获取ScreenGroup列表 ->30ms +2023-08-23 16:11:38.398 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/system/dict/data/type] [uid=1] : 获取字典数据列表通过字典类型 ->22ms +2023-08-23 16:11:40.752 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:11:40.752 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS + +2023-08-23 16:11:40.753 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:11:40.793 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/group/list/tree] [uid=1] [uname=panda] : 获取ScreenGroup树 ->13ms +2023-08-23 16:11:40.806 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/system/dict/data/type] [uid=1] [uname=panda] : 获取字典数据列表通过字典类型 ->8ms +2023-08-23 16:11:40.823 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/list] [uid=1] [uname=panda] : 获取Screen分页列表 ->37ms +2023-08-23 16:11:43.729 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:11:43.762 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/system/user/auth] [uid=1] : 认证信息 ->30ms +2023-08-23 16:13:00.195 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:13:00.291 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->35ms +2023-08-23 16:18:07.572 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:18:07.613 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->13ms +2023-08-23 16:24:42.818 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:24:43.008 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->66ms +2023-08-23 16:25:34.897 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:25:34.922 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->5ms +2023-08-23 16:27:57.705 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:27:57.912 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->198ms +2023-08-23 16:32:14.877 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:32:14.962 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->42ms +2023-08-23 16:34:13.013 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:34:13.039 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->4ms +2023-08-23 16:35:05.369 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:35:05.394 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->5ms +2023-08-23 16:35:23.750 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:35:23.791 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->28ms +2023-08-23 16:36:15.414 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:36:15.456 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms +2023-08-23 16:36:21.247 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:36:21.389 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->133ms +2023-08-23 16:36:29.180 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:36:29.223 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->33ms +2023-08-23 16:36:39.823 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:36:39.852 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->18ms +2023-08-23 16:36:43.415 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->15ms +2023-08-23 16:36:49.754 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:36:49.780 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->16ms +2023-08-23 16:42:26.694 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:42:26.740 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->10ms +2023-08-23 16:42:44.597 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:42:44.658 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->12ms +2023-08-23 16:42:55.195 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:42:55.235 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->30ms +2023-08-23 16:42:57.857 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:42:57.885 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->15ms +2023-08-23 16:43:22.397 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:43:22.443 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->34ms +2023-08-23 16:43:31.976 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:43:32.005 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->18ms +2023-08-23 16:43:38.085 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:43:38.142 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->32ms +2023-08-23 16:45:11.830 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:45:12.028 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->169ms +2023-08-23 16:45:20.780 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:45:20.824 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms +2023-08-23 16:45:22.870 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:45:22.896 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms +2023-08-23 16:48:19.341 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:48:19.365 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->6ms +2023-08-23 16:48:33.107 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:48:33.149 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->30ms +2023-08-23 16:48:39.736 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:48:39.761 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->15ms +2023-08-23 16:48:45.123 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:48:45.162 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->27ms +2023-08-23 16:49:33.410 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:49:33.495 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->60ms +2023-08-23 16:50:11.914 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:50:11.982 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->51ms +2023-08-23 16:50:14.288 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:50:14.314 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->17ms +2023-08-23 16:52:15.316 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:52:15.351 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->13ms +2023-08-23 16:52:27.253 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:52:27.294 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->29ms +2023-08-23 16:52:29.480 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:52:29.508 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->18ms +2023-08-23 16:52:39.563 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:52:39.604 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->31ms +2023-08-23 16:54:14.583 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:54:14.625 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->32ms +2023-08-23 16:55:40.422 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:55:40.445 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->5ms +2023-08-23 16:56:00.744 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:56:00.808 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->55ms +2023-08-23 16:56:03.088 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:56:03.113 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->17ms +2023-08-23 16:56:07.938 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:56:07.979 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->30ms +2023-08-23 16:56:49.560 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 16:56:49.589 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->9ms +2023-08-23 16:57:27.016 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:57:27.064 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms +2023-08-23 16:57:29.089 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:57:29.117 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->18ms +2023-08-23 16:57:33.924 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 16:57:33.964 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms +2023-08-23 17:00:10.286 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:00:10.319 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->11ms +2023-08-23 17:00:23.554 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:00:23.596 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms +2023-08-23 17:00:27.824 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:00:27.849 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->16ms +2023-08-23 17:00:32.331 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:00:32.375 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->32ms +2023-08-23 17:01:26.733 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:01:26.779 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->26ms +2023-08-23 17:01:37.616 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:01:37.655 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->29ms +2023-08-23 17:01:40.031 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:01:40.057 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms +2023-08-23 17:01:44.369 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:01:44.410 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->29ms +2023-08-23 17:04:23.298 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:04:23.337 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->29ms +2023-08-23 17:04:29.979 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:04:29.999 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->4ms +2023-08-23 17:04:37.356 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:04:37.398 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->30ms +2023-08-23 17:04:39.303 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:04:39.330 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->15ms +2023-08-23 17:04:43.906 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:04:43.951 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->32ms +2023-08-23 17:05:36.260 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:05:36.302 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms +2023-08-23 17:05:44.808 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:05:44.830 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-23 17:05:56.409 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:05:56.454 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->32ms +2023-08-23 17:05:58.535 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:05:58.559 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->15ms +2023-08-23 17:06:03.036 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:06:03.084 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->35ms +2023-08-23 17:06:12.578 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:06:12.598 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->8ms +2023-08-23 17:06:23.432 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:06:23.474 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->29ms +2023-08-23 17:06:25.832 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:06:25.861 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->18ms +2023-08-23 17:06:30.803 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:06:30.843 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->27ms +2023-08-23 17:07:30.554 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:07:30.574 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->5ms +2023-08-23 17:07:38.062 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:07:38.102 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->31ms +2023-08-23 17:07:40.567 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:07:40.592 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms +2023-08-23 17:07:51.389 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:07:51.430 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->29ms +2023-08-23 17:11:55.336 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:11:55.365 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->10ms +2023-08-23 17:12:03.326 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:12:03.367 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms +2023-08-23 17:12:05.696 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:12:05.724 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->16ms +2023-08-23 17:12:13.092 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:12:13.168 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->32ms +2023-08-23 17:13:01.481 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:13:01.504 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->8ms +2023-08-23 17:13:10.042 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:13:10.080 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->27ms +2023-08-23 17:13:12.538 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:13:12.562 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms +2023-08-23 17:13:17.098 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:13:17.143 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->32ms +2023-08-23 17:16:20.858 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:16:20.882 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-23 17:16:32.698 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:16:32.741 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->30ms +2023-08-23 17:16:35.362 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:16:35.387 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->15ms +2023-08-23 17:17:10.298 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:17:10.319 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->7ms +2023-08-23 17:17:18.537 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:17:18.576 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->29ms +2023-08-23 17:17:20.880 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:17:20.905 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->16ms +2023-08-23 17:17:25.323 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:17:25.369 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->32ms +2023-08-23 17:17:28.551 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:17:28.577 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->15ms +2023-08-23 17:17:33.575 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->15ms +2023-08-23 17:17:38.865 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:17:38.891 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->17ms +2023-08-23 17:17:44.178 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:17:44.203 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms +2023-08-23 17:18:03.330 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:18:03.362 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->22ms +2023-08-23 17:18:07.304 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:18:07.332 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->18ms +2023-08-23 17:23:02.498 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:23:02.498 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:23:02.528 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/group/list] : 获取ScreenGroup列表 ->7ms +2023-08-23 17:23:02.547 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/system/dict/data/type] [uid=1] [uname=panda] : 获取字典数据列表通过字典类型 ->9ms +2023-08-23 17:23:03.563 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:23:03.563 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS + +2023-08-23 17:23:03.564 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:23:03.581 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/group/list/tree] [uid=1] : 获取ScreenGroup树 ->4ms +2023-08-23 17:23:03.614 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/system/dict/data/type] : 获取字典数据列表通过字典类型 ->12ms +2023-08-23 17:23:03.649 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/list] [uid=1] [uname=panda] : 获取Screen分页列表 ->40ms +2023-08-23 17:23:07.146 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:23:07.189 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/system/user/auth] [uid=1] : 认证信息 ->34ms +2023-08-23 17:23:10.265 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:23:10.349 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->10ms +2023-08-23 17:23:27.982 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:23:28.013 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->8ms +2023-08-23 17:24:25.042 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:24:25.073 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->7ms +2023-08-23 17:24:50.140 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:24:50.183 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-23 17:25:23.405 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:25:23.453 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->33ms +2023-08-23 17:25:27.168 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:25:27.197 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->16ms +2023-08-23 17:25:36.935 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:25:36.976 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->30ms +2023-08-23 17:28:49.366 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:28:49.452 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->9ms +2023-08-23 17:28:57.485 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:28:57.528 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->32ms +2023-08-23 17:28:59.471 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:28:59.497 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->15ms +2023-08-23 17:29:03.725 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:29:03.769 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->30ms +2023-08-23 17:30:05.112 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:30:05.148 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-23 17:30:12.924 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:30:12.969 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->34ms +2023-08-23 17:30:14.705 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:30:14.733 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->17ms +2023-08-23 17:30:18.378 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:30:18.423 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->30ms +2023-08-23 17:31:14.261 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:31:14.301 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->10ms +2023-08-23 17:31:38.456 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:31:38.509 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->41ms +2023-08-23 17:31:41.001 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:31:41.029 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->18ms +2023-08-23 17:31:48.093 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:31:48.138 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->29ms +2023-08-23 17:33:33.739 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:33:33.872 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->109ms +2023-08-23 17:33:49.986 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:33:50.054 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->57ms +2023-08-23 17:33:52.016 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:33:52.042 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->15ms +2023-08-23 17:33:56.214 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-23 17:33:56.256 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->32ms +2023-08-23 17:36:06.259 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-23 17:36:06.291 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->14ms +2023-08-24 08:05:46.255 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:05:46.348 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [POST=/system/user/login] : 登录 ->87ms +2023-08-24 08:05:46.353 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:05:46.375 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/system/user/auth] : 认证信息 ->19ms +2023-08-24 08:05:50.924 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 08:05:50.924 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 08:05:50.944 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/system/dict/data/type] : 获取字典数据列表通过字典类型 ->4ms +2023-08-24 08:05:50.957 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/rule/chain/list] [uid=1] : 获取规则引擎分页列表 ->8ms +2023-08-24 08:05:54.599 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:05:54.642 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/system/user/auth] : 认证信息 ->38ms +2023-08-24 08:06:20.544 [ERROR] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:31] [GET=/rule/chain/nodeLabels] : 获取所有节点标签 +<-e errCode: 4001, errMsg: 没有权限操作,可能是TOKEN过期了,请先登录 +2023-08-24 08:06:37.163 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:06:37.192 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/rule/chain/rule_a37571bb6c45378b57803793] : 获取规则引擎信息 ->6ms +2023-08-24 08:06:37.473 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 08:06:37.478 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/rule/chain/nodeLabels] : 获取所有节点标签 ->0ms +2023-08-24 08:17:26.276 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 08:17:26.276 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS + +2023-08-24 08:17:26.276 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 08:17:26.295 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/group/list/tree] [uid=1] : 获取ScreenGroup树 ->3ms +2023-08-24 08:17:26.314 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/system/dict/data/type] [uid=1] : 获取字典数据列表通过字典类型 ->6ms +2023-08-24 08:17:26.334 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/list] : 获取Screen分页列表 ->22ms +2023-08-24 08:17:29.227 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:17:29.262 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/system/user/auth] [uid=1] [uname=panda] : 认证信息 ->31ms +2023-08-24 08:17:31.007 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:17:31.040 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-24 08:21:57.383 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:21:57.428 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->8ms +2023-08-24 08:23:41.014 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:23:41.049 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->6ms +2023-08-24 08:26:26.101 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:26:26.142 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->5ms +2023-08-24 08:26:27.135 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->9ms +2023-08-24 08:27:04.020 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:27:04.071 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->15ms +2023-08-24 08:27:52.333 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:27:52.366 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->6ms +2023-08-24 08:28:30.323 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:28:30.363 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-24 08:29:01.986 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:29:02.017 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->9ms +2023-08-24 08:29:51.326 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:29:51.362 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-24 08:30:40.035 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:30:40.058 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->5ms +2023-08-24 08:31:11.240 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:31:11.273 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->8ms +2023-08-24 08:31:48.827 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:31:49.073 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->45ms +2023-08-24 08:34:43.759 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:34:43.794 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-24 08:36:30.402 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:36:30.446 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->12ms +2023-08-24 08:36:58.464 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:36:58.498 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->6ms +2023-08-24 08:37:42.124 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:37:42.168 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->7ms +2023-08-24 08:56:58.318 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 08:56:58.363 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->32ms +2023-08-24 08:57:01.226 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 08:57:01.253 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->16ms +2023-08-24 08:57:08.455 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 08:57:08.496 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->31ms +2023-08-24 08:59:24.139 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 08:59:24.172 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->8ms +2023-08-24 09:00:21.243 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 09:00:21.274 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-24 09:02:15.945 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 09:02:15.973 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->7ms +2023-08-24 09:04:42.852 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 09:04:42.874 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->6ms +2023-08-24 09:04:57.231 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 09:04:57.272 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->30ms +2023-08-24 09:04:59.995 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 09:05:00.030 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->23ms +2023-08-24 09:11:22.850 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 09:11:22.895 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms +2023-08-24 09:11:27.841 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 09:11:27.866 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms +2023-08-24 09:18:51.796 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 09:18:51.825 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->6ms +2023-08-24 09:20:12.314 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 09:20:12.344 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->7ms +2023-08-24 09:22:28.759 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 09:22:28.761 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 09:22:28.783 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/system/dict/data/type] [uid=1] : 获取字典数据列表通过字典类型 ->4ms +2023-08-24 09:22:28.796 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/rule/chain/list] : 获取规则引擎分页列表 ->20ms +2023-08-24 09:22:31.909 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 09:22:31.941 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/system/user/auth] : 认证信息 ->27ms +2023-08-24 09:22:32.620 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 09:22:32.650 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/rule/chain/rule_a37571bb6c45378b57803793] : 获取规则引擎信息 ->8ms +2023-08-24 09:22:33.043 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 09:22:33.046 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/rule/chain/nodeLabels] [uid=1] : 获取所有节点标签 ->0ms +2023-08-24 10:01:20.973 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:01:21.014 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-24 10:01:44.452 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:01:44.492 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->8ms +2023-08-24 10:02:45.791 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:02:45.824 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->5ms +2023-08-24 10:04:44.251 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:04:44.291 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->12ms +2023-08-24 10:05:05.256 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:05:05.328 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->13ms +2023-08-24 10:06:52.531 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:06:52.578 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->10ms +2023-08-24 10:07:14.701 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:07:14.734 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->6ms +2023-08-24 10:07:45.131 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:07:45.171 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->8ms +2023-08-24 10:08:30.008 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:08:30.046 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-24 10:14:45.086 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:14:45.129 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->8ms +2023-08-24 10:18:12.624 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:18:12.654 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-24 10:19:50.917 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:19:50.972 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->16ms +2023-08-24 10:20:44.438 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:20:44.474 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->6ms +2023-08-24 10:22:18.746 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:22:18.785 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->7ms +2023-08-24 10:22:30.890 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:22:30.919 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->14ms +2023-08-24 10:24:25.134 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:24:25.206 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->21ms +2023-08-24 10:26:47.768 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:26:47.824 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->12ms +2023-08-24 10:29:32.562 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:29:32.596 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->8ms +2023-08-24 10:30:35.040 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:30:35.273 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->7ms +2023-08-24 10:31:42.056 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:31:42.091 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->9ms +2023-08-24 10:33:20.382 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:33:20.417 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-24 10:37:18.246 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:37:18.285 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->10ms +2023-08-24 10:40:40.390 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:40:40.422 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->7ms +2023-08-24 10:41:28.437 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:41:28.475 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->10ms +2023-08-24 10:43:39.523 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:43:39.568 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->9ms +2023-08-24 10:44:50.857 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:44:50.891 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-24 10:47:45.469 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:47:45.511 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->7ms +2023-08-24 10:55:31.626 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:55:31.661 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->6ms +2023-08-24 10:56:55.176 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:56:55.219 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->9ms +2023-08-24 10:58:36.941 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 10:58:36.972 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->6ms +2023-08-24 11:04:04.584 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 11:04:04.625 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->27ms +2023-08-24 11:07:12.906 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 11:07:12.933 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms +2023-08-24 13:46:06.172 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 13:46:06.219 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->33ms +2023-08-24 13:46:08.170 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 13:46:08.199 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->17ms +2023-08-24 14:01:48.445 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 14:01:48.483 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-24 14:03:06.628 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 14:03:06.689 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->10ms +2023-08-24 14:20:29.617 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 14:20:29.697 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->69ms +2023-08-24 14:20:32.120 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 14:20:32.146 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms +2023-08-24 14:29:40.664 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 14:29:40.720 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->12ms +2023-08-24 14:46:34.646 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 14:46:34.691 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->9ms +2023-08-24 14:54:45.303 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 14:54:45.346 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->8ms +2023-08-24 14:55:02.260 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS + +2023-08-24 14:55:02.444 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/dataset/table/list/all] : 获取DataSetTable列表 ->177ms +2023-08-24 14:55:39.388 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS + +2023-08-24 14:55:39.403 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/dataset/table/list/all] : 获取DataSetTable列表 ->13ms +2023-08-24 14:56:22.724 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS + +2023-08-24 14:56:22.743 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/dataset/table/list/all] : 获取DataSetTable列表 ->15ms +2023-08-24 14:57:20.592 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS + +2023-08-24 14:57:20.611 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/dataset/table/list/all] : 获取DataSetTable列表 ->16ms +2023-08-24 14:59:55.193 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS + +2023-08-24 14:59:55.245 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/dataset/table/list/all] : 获取DataSetTable列表 ->47ms +2023-08-24 15:02:10.093 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 15:02:10.127 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->7ms +2023-08-24 15:04:45.508 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 15:04:45.530 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->13ms +2023-08-24 15:09:05.085 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 15:09:05.121 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms +2023-08-24 15:11:57.590 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 15:11:57.626 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/rule/chain/rule_a37571bb6c45378b57803793] [uid=1] : 获取规则引擎信息 ->13ms +2023-08-24 15:11:57.923 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 15:11:57.932 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/rule/chain/nodeLabels] : 获取所有节点标签 ->0ms +2023-08-24 15:27:41.474 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 15:27:41.474 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 15:27:41.492 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/system/dict/data/type] [uid=1] : 获取字典数据列表通过字典类型 ->6ms +2023-08-24 15:27:41.504 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/log/logLogin/list] : 获取登录日志列表 ->8ms diff --git a/fatal.log b/fatal.log index 1020b34..1f675ed 100644 --- a/fatal.log +++ b/fatal.log @@ -3,6 +3,4 @@ 2023-08-22 15:51:54-------------------------------- -2023-08-23 16:02:58-------------------------------- - -2023-08-23 16:05:15-------------------------------- +2023-08-23 16:11:33-------------------------------- diff --git a/pkg/mqtt/rpc.go b/pkg/mqtt/rpc.go index 138102e..d4fd590 100644 --- a/pkg/mqtt/rpc.go +++ b/pkg/mqtt/rpc.go @@ -2,6 +2,7 @@ package mqtt import ( "encoding/json" + "errors" "fmt" mqtt "github.com/eclipse/paho.mqtt.golang" "math/rand" @@ -22,34 +23,47 @@ type RpcRequest struct { type RpcPayload struct { Method string `json:"method"` - Params string `json:"params"` + Params any `json:"params"` } -func (rpc RpcRequest) RequestCmd(rpcPayload RpcPayload) error { +func (rpc RpcRequest) RequestCmd(rpcPayload RpcPayload) (respPayload string, err error) { topic := fmt.Sprintf(RpcReqTopic, rpc.RequestId) payload, err := json.Marshal(rpcPayload) if err != nil { - return err + return "", err } err = rpc.Client.Pub(topic, 0, string(payload)) if err != nil { - return err + return "", err } if rpc.Mode == "single" { - return nil + return "", nil } + // 双向才会执行 + repsChan := make(chan string) respTopic := fmt.Sprintf(RpcRespTopic, rpc.RequestId) + // 订阅回调 + mqMessagePubHandler := func(client mqtt.Client, msg mqtt.Message) { + if repsChan != nil { + repsChan <- string(msg.Payload()) + } + } rpc.Client.Sub(respTopic, 0, mqMessagePubHandler) if rpc.Timeout == 0 { rpc.Timeout = 30 } - go func() { + defer func() { + close(repsChan) + rpc.Client.UnSub(respTopic) + }() + for { select { case <-time.After(time.Duration(rpc.Timeout) * time.Second): - rpc.Client.UnSub(respTopic) + return "", errors.New("设备指令响应超时") + case resp := <-repsChan: + return resp, nil } - }() - return nil + } } func (rpc RpcRequest) RequestAttributes(rpcPayload RpcPayload) error { @@ -65,19 +79,20 @@ func (rpc RpcRequest) RequestAttributes(rpcPayload RpcPayload) error { } // 响应数据处理 -var mqMessagePubHandler mqtt.MessageHandler = func(client mqtt.Client, msg mqtt.Message) { +/*var mqMessagePubHandler mqtt.MessageHandler = func(client mqtt.Client, msg mqtt.Message) { //log.Println(fmt.Sprintf("Received message: %s from topic: %s\n", msg.Payload(), msg.Topic())) -} +}*/ // RespondTpc 处理设备端请求服务端方法 func (rpc RpcRequest) RespondTpc(reqPayload RpcPayload) error { topic := fmt.Sprintf(RpcRespTopic, rpc.RequestId) + // 此处处理设备的请求参数逻辑 if reqPayload.Params == "getCurrentTime" { unix := time.Now().Unix() msg := fmt.Sprintf("%d", unix) return rpc.Client.Pub(topic, 0, msg) } - + // 获取属性 ... return nil } diff --git a/pkg/rule_engine/nodes/action_rpc_request_node.go b/pkg/rule_engine/nodes/action_rpc_request_node.go new file mode 100644 index 0000000..090a702 --- /dev/null +++ b/pkg/rule_engine/nodes/action_rpc_request_node.go @@ -0,0 +1,48 @@ +package nodes + +import ( + "pandax/pkg/global" + "pandax/pkg/mqtt" + "pandax/pkg/rule_engine/message" +) + +type rpcRequestNode struct { + bareNode + Timeout int `json:"timeout"` + Payload mqtt.RpcPayload `json:"payload"` +} + +type rpcRequestNodeFactory struct{} + +func (f rpcRequestNodeFactory) Name() string { return "RpcRequestNode" } +func (f rpcRequestNodeFactory) Category() string { return NODE_CATEGORY_ACTION } +func (f rpcRequestNodeFactory) Labels() []string { return []string{"Success", "Failure"} } +func (f rpcRequestNodeFactory) Create(id string, meta Metadata) (Node, error) { + node := &rpcRequestNode{ + bareNode: newBareNode(f.Name(), id, meta, f.Labels()), + } + return decodePath(meta, node) +} + +func (n *rpcRequestNode) Handle(msg message.Message) error { + successLableNode := n.GetLinkedNode("Success") + failureLableNode := n.GetLinkedNode("Failure") + + var rpc = &mqtt.RpcRequest{Client: global.MqttClient, Mode: "double", Timeout: n.Timeout} + rpc.GetRequestId() + respPayload, err := rpc.RequestCmd(n.Payload) + if err != nil { + if failureLableNode != nil { + return failureLableNode.Handle(msg) + } else { + return err + } + } + msgM := msg.GetMsg() + msgM["payload"] = respPayload + msg.SetMsg(msgM) + if successLableNode != nil { + return successLableNode.Handle(msg) + } + return nil +} diff --git a/pkg/rule_engine/nodes/action_rpc_respond_node.go b/pkg/rule_engine/nodes/action_rpc_respond_node.go new file mode 100644 index 0000000..acbc5d5 --- /dev/null +++ b/pkg/rule_engine/nodes/action_rpc_respond_node.go @@ -0,0 +1,50 @@ +package nodes + +import ( + "pandax/pkg/global" + "pandax/pkg/mqtt" + "pandax/pkg/rule_engine/message" +) + +type rpcRespondNode struct { + bareNode + RequestId int `json:"requestId"` +} + +type rpcRespondFactory struct{} + +func (f rpcRespondFactory) Name() string { return "RpcRespondNode" } +func (f rpcRespondFactory) Category() string { return NODE_CATEGORY_ACTION } +func (f rpcRespondFactory) Labels() []string { return []string{"Success", "Failure"} } +func (f rpcRespondFactory) Create(id string, meta Metadata) (Node, error) { + node := &rpcRespondNode{ + bareNode: newBareNode(f.Name(), id, meta, f.Labels()), + } + return decodePath(meta, node) +} + +func (n *rpcRespondNode) Handle(msg message.Message) error { + successLableNode := n.GetLinkedNode("Success") + failureLableNode := n.GetLinkedNode("Failure") + RequestId := n.RequestId + if RequestId == 0 { + RequestId = int(msg.GetMetadata().GetKeyValue("requestId").(float64)) + } + var datas = mqtt.RpcPayload{ + Method: msg.GetMsg()["method"].(string), + Params: msg.GetMsg()["params"], + } + rpc := &mqtt.RpcRequest{Client: global.MqttClient, RequestId: RequestId} + err := rpc.RespondTpc(datas) + if err != nil { + if failureLableNode != nil { + return failureLableNode.Handle(msg) + } else { + return err + } + } + if successLableNode != nil { + return successLableNode.Handle(msg) + } + return nil +} diff --git a/pkg/rule_engine/nodes/init.go b/pkg/rule_engine/nodes/init.go index 722b905..529c779 100644 --- a/pkg/rule_engine/nodes/init.go +++ b/pkg/rule_engine/nodes/init.go @@ -28,5 +28,6 @@ func init() { RegisterFactory(externalSendEmailNodeFactory{}) RegisterFactory(externalSendSmsNodeFactory{}) RegisterFactory(externalRuleChainNodeFactory{}) - + RegisterFactory(rpcRespondFactory{}) + RegisterFactory(rpcRequestNodeFactory{}) } From fac575ac7bca651ac0adbb093765d8d4f1939152 Mon Sep 17 00:00:00 2001 From: XM-GO <93296511+XM-GO@users.noreply.github.com> Date: Fri, 25 Aug 2023 10:18:49 +0800 Subject: [PATCH 02/13] =?UTF-8?q?=E5=A4=84=E7=90=86=E8=AE=BE=E5=A4=87rpc?= =?UTF-8?q?=E8=AF=B7=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- iothub/hook_message_work.go | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) diff --git a/iothub/hook_message_work.go b/iothub/hook_message_work.go index dc5c8b8..d80e80c 100644 --- a/iothub/hook_message_work.go +++ b/iothub/hook_message_work.go @@ -7,12 +7,10 @@ import ( "pandax/apps/device/services" ruleEntity "pandax/apps/rule/entity" "pandax/pkg/global" - "pandax/pkg/mqtt" "pandax/pkg/rule_engine" "pandax/pkg/rule_engine/message" "pandax/pkg/tool" "pandax/pkg/websocket" - "strconv" ) // 消息处理模块 @@ -40,7 +38,9 @@ func (s *HookService) handleOne(msg *DeviceEventInfo) { switch msg.Type { case message.RowMes, message.AttributesMes, message.TelemetryMes: // 发送websocket到云组态 - go SendZtWebsocket(msg.DeviceId, msg.Datas) + if msg.Type == message.TelemetryMes { + go SendZtWebsocket(msg.DeviceId, msg.Datas) + } // 业务逻辑执行 // 获取规则链代码 chain := getRuleChain(etoken) @@ -59,24 +59,20 @@ func (s *HookService) handleOne(msg *DeviceEventInfo) { } // Rpc请求 case message.RpcRequestMes: - var datas = mqtt.RpcPayload{} - err := json.Unmarshal([]byte(msg.Datas), &datas) - if err != nil { - global.Log.Error("RPC请求数据解析错误,请检查数据格式") + chain := getRuleChain(etoken) + dataCode := chain.LfData.DataCode + code, err := json.Marshal(dataCode) + //新建规则链实体 + instance, errs := rule_engine.NewRuleChainInstance(code) + if len(errs) > 0 { + global.Log.Error("规则链初始化失败", errs[0]) return } - RequestId, err := strconv.Atoi(msg.RequestId) + ruleMessage := buildRuleMessage(etoken, msg, msg.Type) + err = instance.StartRuleChain(context.Background(), ruleMessage) if err != nil { - global.Log.Error("RPC请求请求iD非整型") - return + global.Log.Error("规则链执行失败", errs) } - var rpc = &mqtt.RpcRequest{Client: global.MqttClient, RequestId: RequestId} - err = rpc.RespondTpc(datas) - if err != nil { - global.Log.Error("处理响应失败") - return - } - //services.DeviceCmdLogModelDao.UpdateResp(id, content, state) case message.DisConnectMes, message.ConnectMes: // 更改设备在线状态 if msg.Type == message.ConnectMes { From e436f3b7ad318fca4bfc3283f37f0e68472ecd19 Mon Sep 17 00:00:00 2001 From: XM-GO <93296511+XM-GO@users.noreply.github.com> Date: Fri, 25 Aug 2023 17:41:59 +0800 Subject: [PATCH 03/13] =?UTF-8?q?=E8=A7=84=E5=88=99=E9=93=BE=E7=BB=93?= =?UTF-8?q?=E6=9E=84=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 5 - default.log | 9 ++ pkg/rule_engine/instance.go | 2 +- pkg/rule_engine/instance_test.go | 18 ++-- pkg/rule_engine/message/message.go | 8 +- pkg/rule_engine/message/message1.go | 99 +++++++++++++++++++ .../nodes/action_clear_alarm_node.go | 8 +- .../nodes/action_create_alarm_node.go | 16 +-- pkg/rule_engine/nodes/action_delay_node.go | 16 +-- .../nodes/action_generator_node.go | 12 +-- pkg/rule_engine/nodes/action_log_node.go | 12 +-- .../nodes/action_rpc_request_node.go | 6 +- .../nodes/action_rpc_respond_node.go | 8 +- .../nodes/action_save_attributes_node.go | 10 +- .../nodes/action_save_timeseries_node.go | 13 +-- pkg/rule_engine/nodes/external_ding_node.go | 4 +- pkg/rule_engine/nodes/external_kafka_node.go | 8 +- pkg/rule_engine/nodes/external_mqtt_node.go | 6 +- pkg/rule_engine/nodes/external_nats_node.go | 4 +- .../nodes/external_restapi_node.go | 10 +- .../nodes/external_rule_chain_node.go | 4 +- .../nodes/external_send_email_node.go | 8 +- .../nodes/external_send_sms_node.go | 4 +- pkg/rule_engine/nodes/external_wechat_node.go | 4 +- pkg/rule_engine/nodes/factory.go | 6 +- .../nodes/filter_device_type_switch_node.go | 12 +-- .../nodes/filter_message_type_node.go | 6 +- .../nodes/filter_message_type_switch_node.go | 8 +- pkg/rule_engine/nodes/filter_script_node.go | 6 +- pkg/rule_engine/nodes/filter_switch_node.go | 6 +- pkg/rule_engine/nodes/input_node.go | 4 +- pkg/rule_engine/nodes/metadata.go | 1 + pkg/rule_engine/nodes/node.go | 4 +- pkg/rule_engine/nodes/script_engine.go | 22 ++--- .../nodes/transform_delete_key_node.go | 17 ++-- .../nodes/transform_rename_key_node.go | 19 ++-- .../nodes/transform_script_node.go | 6 +- 37 files changed, 254 insertions(+), 157 deletions(-) create mode 100644 pkg/rule_engine/message/message1.go diff --git a/README.md b/README.md index e0c4780..01cf344 100644 --- a/README.md +++ b/README.md @@ -107,11 +107,6 @@ 更多功能请访问系统。 - -## ❤特别鸣谢 - - * 感谢[VUE-NEXT-ADMIN](https://gitee.com/lyt-top/vue-next-admin) - --- 版权说明 --- diff --git a/default.log b/default.log index 3ed62de..3f58ee3 100644 --- a/default.log +++ b/default.log @@ -685,3 +685,12 @@ 2023-08-24 15:27:41.492 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/system/dict/data/type] [uid=1] : 获取字典数据列表通过字典类型 ->6ms 2023-08-24 15:27:41.504 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/log/logLogin/list] : 获取登录日志列表 ->8ms +2023-08-24 17:35:27.159 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 17:35:27.197 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->6ms +2023-08-24 17:35:28.459 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS + +2023-08-24 17:35:28.491 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/rule/chain/rule_a37571bb6c45378b57803793] [uid=1] : 获取规则引擎信息 ->4ms +2023-08-24 17:35:28.749 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS + +2023-08-24 17:35:28.756 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/rule/chain/nodeLabels] [uid=1] [uname=panda] : 获取所有节点标签 ->0ms diff --git a/pkg/rule_engine/instance.go b/pkg/rule_engine/instance.go index 34197df..869788a 100644 --- a/pkg/rule_engine/instance.go +++ b/pkg/rule_engine/instance.go @@ -41,7 +41,7 @@ func newInstanceWithManifest(m *manifest.Manifest) (*ruleChainInstance, []error) } // StartRuleChain TODO 是否需要添加context -func (c *ruleChainInstance) StartRuleChain(context context.Context, message message.Message) error { +func (c *ruleChainInstance) StartRuleChain(context context.Context, message *message.Message) error { if node, found := c.nodes[c.firstRuleNodeId]; found { node.Handle(message) } diff --git a/pkg/rule_engine/instance_test.go b/pkg/rule_engine/instance_test.go index 13556b4..d4fc16b 100644 --- a/pkg/rule_engine/instance_test.go +++ b/pkg/rule_engine/instance_test.go @@ -18,13 +18,13 @@ func TestNewRuleChainInstance(t *testing.T) { t.Error(errs[0]) } - metadata := message.NewDefaultMetadata(map[string]interface{}{ + metadata := message.Metadata{ "deviceName": "ws432", "deviceId": "d_1928b99619910dae5a001fa7", "deviceType": "direct", "productId": "p_3ba460634520cf4590dc90e5", - }) - msg := message.NewMessageWithDetail("1", message.TelemetryMes, map[string]interface{}{"temperature": 60.4, "humidity": 32.5}, metadata) + } + msg := message.NewMessage("1", message.TelemetryMes, message.Msg{"temperature": 60.4, "humidity": 32.5}, metadata) t.Log("开始执行力流程") err = instance.StartRuleChain(context.Background(), msg) if err != nil { @@ -33,8 +33,7 @@ func TestNewRuleChainInstance(t *testing.T) { } func TestScriptEngine(t *testing.T) { - metadata := message.NewDefaultMetadata(map[string]interface{}{"device": "aa"}) - msg := message.NewMessageWithDetail("1", message.UpEventMes, map[string]interface{}{"aa": 5}, metadata) + msg := message.NewMessage("1", message.UpEventMes, map[string]interface{}{"aa": 5}, map[string]interface{}{"device": "aa"}) const baseScript = ` function nextRelation(metadata, msg) { return ['one','nine']; @@ -47,7 +46,7 @@ func TestScriptEngine(t *testing.T) { } return nextRelation(metadata, msg); ` - scriptEngine := nodes.NewScriptEngine(msg, "Switch", baseScript) + scriptEngine := nodes.NewScriptEngine(*msg, "Switch", baseScript) SwitchResults, err := scriptEngine.ScriptOnSwitch() if err != nil { @@ -57,19 +56,18 @@ func TestScriptEngine(t *testing.T) { } func TestScriptOnMessage(t *testing.T) { - metadata := message.NewDefaultMetadata(map[string]interface{}{"device": "aa"}) - msg := message.NewMessageWithDetail("1", message.UpEventMes, map[string]interface{}{"aa": 5}, metadata) + msg := message.NewMessage("1", message.UpEventMes, map[string]interface{}{"aa": 5}, map[string]interface{}{"device": "aa"}) const baseScript = ` msg.bb = "33" metadata.event = 55 return {msg: msg, metadata: metadata, msgType: msgType}; ` - scriptEngine := nodes.NewScriptEngine(msg, "Transform", baseScript) + scriptEngine := nodes.NewScriptEngine(*msg, "Transform", baseScript) ScriptOnMessageResults, err := scriptEngine.ScriptOnMessage() if err != nil { t.Error(err) } - t.Log(ScriptOnMessageResults.GetMetadata()) + t.Log(ScriptOnMessageResults.Metadata) } diff --git a/pkg/rule_engine/message/message.go b/pkg/rule_engine/message/message.go index 4379799..6daeb52 100644 --- a/pkg/rule_engine/message/message.go +++ b/pkg/rule_engine/message/message.go @@ -1,11 +1,6 @@ package message -import ( - "encoding/json" - "github.com/google/uuid" - "time" -) - +/* // 消息类型 const ( ConnectMes = "Connect" @@ -154,3 +149,4 @@ func (t *defaultMetadata) GetValues() map[string]interface{} { func (t *defaultMetadata) SetValues(values map[string]interface{}) { t.values = values } +*/ diff --git a/pkg/rule_engine/message/message1.go b/pkg/rule_engine/message/message1.go new file mode 100644 index 0000000..c3539c7 --- /dev/null +++ b/pkg/rule_engine/message/message1.go @@ -0,0 +1,99 @@ +package message + +import ( + "encoding/json" + "github.com/google/uuid" + "time" +) + +// 消息类型 +const ( + ConnectMes = "Connect" + DisConnectMes = "Disconnect" + RpcRequestMes = "RpcRequest" + UpEventMes = "Event" + AlarmMes = "Alarm" + RowMes = "Row" + TelemetryMes = "Telemetry" + AttributesMes = "Attributes" +) + +// 数据类型Originator +const ( + DEVICE = "DEVICE" + GATEWAY = "GATEWAY" + MONITOR = "MONITOR" //监控 +) + +type Msg map[string]interface{} +type Metadata map[string]interface{} + +type Message struct { + Id string //uuid 消息Id + Ts time.Time //时间戳 + MsgType string //消息类型, attributes(参数),telemetry(遥测),Connect连接事件 + UserId string //客户Id UUID 设备发布人 + Msg Msg //数据 数据结构JSON 设备原始数据 msg + Metadata Metadata //消息的元数据 包括设备Id,设备类型,产品ID等 +} + +// NewMessage ... +func NewMessage(userId, messageType string, msg Msg, metadata Metadata) *Message { + return &Message{ + Id: uuid.New().String(), + Ts: time.Now(), + UserId: userId, + MsgType: messageType, + Msg: msg, + Metadata: metadata, + } +} + +func (t *Message) GetAllMap() map[string]interface{} { + data := make(map[string]interface{}) + for msgKey, msgValue := range t.Msg { + for metaKey, metaValue := range t.Metadata { + if msgKey == metaKey { + data[msgKey] = metaValue + } else { + if _, ok := data[msgKey]; !ok { + data[msgKey] = msgValue + } + if _, ok := data[metaKey]; !ok { + data[metaKey] = metaValue + } + } + } + } + return data +} + +func (t *Message) MarshalBinary() ([]byte, error) { + return json.Marshal(t) +} + +func (meta *Metadata) Keys() []string { + keys := make([]string, 0) + for key := range *meta { + keys = append(keys, key) + } + return keys +} + +func (meta *Metadata) GetValue(key string) any { + if _, found := (*meta)[key]; !found { + return nil + } + return (*meta)[key] +} + +func (meta *Metadata) SetValue(key string, val interface{}) { + (*meta)[key] = val +} + +func (msg *Msg) GetValue(key string) any { + if _, found := (*msg)[key]; !found { + return nil + } + return (*msg)[key] +} diff --git a/pkg/rule_engine/nodes/action_clear_alarm_node.go b/pkg/rule_engine/nodes/action_clear_alarm_node.go index b9bf1fb..1d22f93 100644 --- a/pkg/rule_engine/nodes/action_clear_alarm_node.go +++ b/pkg/rule_engine/nodes/action_clear_alarm_node.go @@ -29,16 +29,16 @@ func (f clearAlarmNodeFactory) Create(id string, meta Metadata) (Node, error) { return decodePath(meta, node) } -func (n *clearAlarmNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *clearAlarmNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) cleared := n.GetLinkedNode("Cleared") failure := n.GetLinkedNode("Failure") - alarm := services.DeviceAlarmModelDao.FindOneByType(msg.GetMetadata().GetKeyValue("deviceId").(string), n.AlarmType, "0") + alarm := services.DeviceAlarmModelDao.FindOneByType(msg.Metadata.GetValue("deviceId").(string), n.AlarmType, "0") if alarm.DeviceId != "" { log.Println("清除告警") alarm.State = global.CLEARED - marshal, _ := json.Marshal(msg.GetMsg()) + marshal, _ := json.Marshal(msg.Msg) alarm.Details = string(marshal) err := services.DeviceAlarmModelDao.Update(*alarm) if err != nil { diff --git a/pkg/rule_engine/nodes/action_create_alarm_node.go b/pkg/rule_engine/nodes/action_create_alarm_node.go index 68b681f..9d8ef4f 100644 --- a/pkg/rule_engine/nodes/action_create_alarm_node.go +++ b/pkg/rule_engine/nodes/action_create_alarm_node.go @@ -29,16 +29,16 @@ func (f createAlarmNodeFactory) Create(id string, meta Metadata) (Node, error) { return decodePath(meta, node) } -func (n *createAlarmNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *createAlarmNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) created := n.GetLinkedNode("Created") updated := n.GetLinkedNode("Updated") failure := n.GetLinkedNode("Failure") - alarm := services.DeviceAlarmModelDao.FindOneByType(msg.GetMetadata().GetKeyValue("deviceId").(string), n.AlarmType, "0") + alarm := services.DeviceAlarmModelDao.FindOneByType(msg.Metadata.GetValue("deviceId").(string), n.AlarmType, "0") if alarm.DeviceId != "" { - marshal, _ := json.Marshal(msg.GetMsg()) + marshal, _ := json.Marshal(msg.Msg) alarm.Details = string(marshal) err := services.DeviceAlarmModelDao.Update(*alarm) if err != nil { @@ -53,14 +53,14 @@ func (n *createAlarmNode) Handle(msg message.Message) error { } else { alarm = &entity.DeviceAlarm{} alarm.Id = kgo.KStr.Uniqid("a") - alarm.DeviceId = msg.GetMetadata().GetKeyValue("deviceId").(string) - alarm.ProductId = msg.GetMetadata().GetKeyValue("productId").(string) - alarm.Name = msg.GetMetadata().GetKeyValue("deviceName").(string) + alarm.DeviceId = msg.Metadata.GetValue("deviceId").(string) + alarm.ProductId = msg.Metadata.GetValue("productId").(string) + alarm.Name = msg.Metadata.GetValue("deviceName").(string) alarm.Level = n.AlarmSeverity alarm.State = global.ALARMING alarm.Type = n.AlarmType alarm.Time = time.Now() - marshal, _ := json.Marshal(msg.GetMsg()) + marshal, _ := json.Marshal(msg.Msg) alarm.Details = string(marshal) err := services.DeviceAlarmModelDao.Insert(*alarm) if err != nil { diff --git a/pkg/rule_engine/nodes/action_delay_node.go b/pkg/rule_engine/nodes/action_delay_node.go index 2105669..f0e35b0 100644 --- a/pkg/rule_engine/nodes/action_delay_node.go +++ b/pkg/rule_engine/nodes/action_delay_node.go @@ -13,11 +13,11 @@ const DelayNodeName = "DelayNode" type delayNode struct { bareNode - PeriodTs int `json:"periodTs" yaml:"periodTs" jpath:"periodTs"` //周期时间 - MaxPendingMessages int `json:"maxPendingMessages" yaml:"maxPendingMessages" jpath:"maxPendingMessages"` //最大等待消息数 - messageQueue []message.Message `jpath:"-"` - delayTimer *time.Timer `jpath:"-"` - lock sync.Mutex `jpath:"-"` + PeriodTs int `json:"periodTs" yaml:"periodTs" jpath:"periodTs"` //周期时间 + MaxPendingMessages int `json:"maxPendingMessages" yaml:"maxPendingMessages" jpath:"maxPendingMessages"` //最大等待消息数 + messageQueue []*message.Message `jpath:"-"` + delayTimer *time.Timer `jpath:"-"` + lock sync.Mutex `jpath:"-"` } type delayNodeFactory struct{} @@ -31,12 +31,12 @@ func (f delayNodeFactory) Create(id string, meta Metadata) (Node, error) { lock: sync.Mutex{}, } _, err := decodePath(meta, node) - node.messageQueue = make([]message.Message, node.MaxPendingMessages) + node.messageQueue = make([]*message.Message, node.MaxPendingMessages) return node, err } -func (n *delayNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *delayNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) successLabelNode := n.GetLinkedNode("Success") failureLabelNode := n.GetLinkedNode("Failure") diff --git a/pkg/rule_engine/nodes/action_generator_node.go b/pkg/rule_engine/nodes/action_generator_node.go index 4cffe8c..84ea52c 100644 --- a/pkg/rule_engine/nodes/action_generator_node.go +++ b/pkg/rule_engine/nodes/action_generator_node.go @@ -25,8 +25,8 @@ func (f messageGeneratorNodeFactory) Create(id string, meta Metadata) (Node, err return decodePath(meta, node) } -func (n *messageGeneratorNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *messageGeneratorNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) successLabelNode := n.GetLinkedNode("Success") failureLabelNode := n.GetLinkedNode("Failure") @@ -42,7 +42,7 @@ func (n *messageGeneratorNode) Handle(msg message.Message) error { ticker.Stop() return } - scriptEngine := NewScriptEngine(msg, "Generate", n.Script) + scriptEngine := NewScriptEngine(*msg, "Generate", n.Script) generate, err := scriptEngine.ScriptGenerate() if err != nil { if failureLabelNode != nil { @@ -50,9 +50,9 @@ func (n *messageGeneratorNode) Handle(msg message.Message) error { } return } - msg.SetMsg(generate["msg"].(map[string]interface{})) - msg.SetType(generate["msgType"].(string)) - msg.SetMetadata(message.NewDefaultMetadata(generate["metadata"].(map[string]interface{}))) + msg.Msg = generate["msg"].(message.Msg) + msg.Metadata = generate["metadata"].(message.Metadata) + msg.MsgType = generate["msgType"].(string) if successLabelNode != nil { go successLabelNode.Handle(msg) } diff --git a/pkg/rule_engine/nodes/action_log_node.go b/pkg/rule_engine/nodes/action_log_node.go index 2939cf5..5cf3471 100644 --- a/pkg/rule_engine/nodes/action_log_node.go +++ b/pkg/rule_engine/nodes/action_log_node.go @@ -24,11 +24,11 @@ func (f logNodeFactory) Create(id string, meta Metadata) (Node, error) { return decodePath(meta, node) } -func (n *logNode) Handle(msg message.Message) error { +func (n *logNode) Handle(msg *message.Message) error { successLableNode := n.GetLinkedNode("Success") failureLableNode := n.GetLinkedNode("Failure") - scriptEngine := NewScriptEngine(msg, "ToString", n.Script) + scriptEngine := NewScriptEngine(*msg, "ToString", n.Script) logMessage, err := scriptEngine.ScriptToString() if err != nil { if failureLableNode != nil { @@ -38,10 +38,10 @@ func (n *logNode) Handle(msg message.Message) error { } } services.RuleChainMsgLogModelDao.Insert(entity.RuleChainMsgLog{ - MessageId: msg.GetId(), - MsgType: msg.GetType(), - DeviceName: msg.GetMetadata().GetValues()["deviceName"].(string), - Ts: msg.GetTs(), + MessageId: msg.Id, + MsgType: msg.MsgType, + DeviceName: msg.Metadata["deviceName"].(string), + Ts: msg.Ts, Content: logMessage, }) global.Log.Info(logMessage) diff --git a/pkg/rule_engine/nodes/action_rpc_request_node.go b/pkg/rule_engine/nodes/action_rpc_request_node.go index 090a702..e709505 100644 --- a/pkg/rule_engine/nodes/action_rpc_request_node.go +++ b/pkg/rule_engine/nodes/action_rpc_request_node.go @@ -24,7 +24,7 @@ func (f rpcRequestNodeFactory) Create(id string, meta Metadata) (Node, error) { return decodePath(meta, node) } -func (n *rpcRequestNode) Handle(msg message.Message) error { +func (n *rpcRequestNode) Handle(msg *message.Message) error { successLableNode := n.GetLinkedNode("Success") failureLableNode := n.GetLinkedNode("Failure") @@ -38,9 +38,9 @@ func (n *rpcRequestNode) Handle(msg message.Message) error { return err } } - msgM := msg.GetMsg() + msgM := msg.Msg msgM["payload"] = respPayload - msg.SetMsg(msgM) + msg.Msg = msgM if successLableNode != nil { return successLableNode.Handle(msg) } diff --git a/pkg/rule_engine/nodes/action_rpc_respond_node.go b/pkg/rule_engine/nodes/action_rpc_respond_node.go index acbc5d5..871988e 100644 --- a/pkg/rule_engine/nodes/action_rpc_respond_node.go +++ b/pkg/rule_engine/nodes/action_rpc_respond_node.go @@ -23,16 +23,16 @@ func (f rpcRespondFactory) Create(id string, meta Metadata) (Node, error) { return decodePath(meta, node) } -func (n *rpcRespondNode) Handle(msg message.Message) error { +func (n *rpcRespondNode) Handle(msg *message.Message) error { successLableNode := n.GetLinkedNode("Success") failureLableNode := n.GetLinkedNode("Failure") RequestId := n.RequestId if RequestId == 0 { - RequestId = int(msg.GetMetadata().GetKeyValue("requestId").(float64)) + RequestId = int(msg.Metadata.GetValue("requestId").(float64)) } var datas = mqtt.RpcPayload{ - Method: msg.GetMsg()["method"].(string), - Params: msg.GetMsg()["params"], + Method: msg.Msg.GetValue("method").(string), + Params: msg.Msg.GetValue("params"), } rpc := &mqtt.RpcRequest{Client: global.MqttClient, RequestId: RequestId} err := rpc.RespondTpc(datas) diff --git a/pkg/rule_engine/nodes/action_save_attributes_node.go b/pkg/rule_engine/nodes/action_save_attributes_node.go index d7cbc80..302121e 100644 --- a/pkg/rule_engine/nodes/action_save_attributes_node.go +++ b/pkg/rule_engine/nodes/action_save_attributes_node.go @@ -22,11 +22,11 @@ func (f saveAttributesNodeFactory) Create(id string, meta Metadata) (Node, error return decodePath(meta, node) } -func (n *saveAttributesNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *saveAttributesNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) successLabelNode := n.GetLinkedNode("Success") failureLabelNode := n.GetLinkedNode("Failure") - if msg.GetType() != message.AttributesMes { + if msg.MsgType != message.AttributesMes { if failureLabelNode != nil { return failureLabelNode.Handle(msg) } else { @@ -34,8 +34,8 @@ func (n *saveAttributesNode) Handle(msg message.Message) error { } } //deviceId := msg.GetMetadata().GetValues()["deviceId"].(string) - deviceName := msg.GetMetadata().GetValues()["deviceName"].(string) - err := global.TdDb.InsertDevice(deviceName+"_attributes", msg.GetMsg()) + deviceName := msg.Metadata["deviceName"].(string) + err := global.TdDb.InsertDevice(deviceName+"_attributes", msg.Msg) if err != nil { if failureLabelNode != nil { return failureLabelNode.Handle(msg) diff --git a/pkg/rule_engine/nodes/action_save_timeseries_node.go b/pkg/rule_engine/nodes/action_save_timeseries_node.go index 1cbd4b7..10a387c 100644 --- a/pkg/rule_engine/nodes/action_save_timeseries_node.go +++ b/pkg/rule_engine/nodes/action_save_timeseries_node.go @@ -23,11 +23,11 @@ func (f saveTimeSeriesNodeFactory) Create(id string, meta Metadata) (Node, error return decodePath(meta, node) } -func (n *saveTimeSeriesNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *saveTimeSeriesNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) successLabelNode := n.GetLinkedNode("Success") failureLabelNode := n.GetLinkedNode("Failure") - if msg.GetType() != message.TelemetryMes { + if msg.MsgType != message.TelemetryMes { if failureLabelNode != nil { return failureLabelNode.Handle(msg) } else { @@ -35,9 +35,10 @@ func (n *saveTimeSeriesNode) Handle(msg message.Message) error { } } //deviceId := msg.GetMetadata().GetValues()["deviceId"].(string) - deviceName := msg.GetMetadata().GetValues()["deviceName"].(string) - log.Println("telemetry", msg.GetMsg()) - err := global.TdDb.InsertDevice(deviceName+"_telemetry", msg.GetMsg()) + deviceName := msg.Metadata["deviceName"].(string) + log.Println(msg.Msg) + log.Println(msg.Metadata) + err := global.TdDb.InsertDevice(deviceName+"_telemetry", msg.Msg) log.Println(err) if err != nil { if failureLabelNode != nil { diff --git a/pkg/rule_engine/nodes/external_ding_node.go b/pkg/rule_engine/nodes/external_ding_node.go index 5f2fe38..9b4ef25 100644 --- a/pkg/rule_engine/nodes/external_ding_node.go +++ b/pkg/rule_engine/nodes/external_ding_node.go @@ -35,8 +35,8 @@ func (f externalDingNodeFactory) Create(id string, meta Metadata) (Node, error) return decodePath(meta, node) } -func (n *externalDingNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *externalDingNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) successLabelNode := n.GetLinkedNode("Success") failureLabelNode := n.GetLinkedNode("Failure") diff --git a/pkg/rule_engine/nodes/external_kafka_node.go b/pkg/rule_engine/nodes/external_kafka_node.go index 6bff75a..a235425 100644 --- a/pkg/rule_engine/nodes/external_kafka_node.go +++ b/pkg/rule_engine/nodes/external_kafka_node.go @@ -45,20 +45,20 @@ func (f externalKafkaNodeFactory) Create(id string, meta Metadata) (Node, error) return node, nil } -func (n *externalKafkaNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *externalKafkaNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) defer n.KafkaCli.Close() successLabelNode := n.GetLinkedNode("Success") failureLabelNode := n.GetLinkedNode("Failure") value := sarama.ByteEncoder("") if n.KeyPattern == "metadataKey" { - marshal, err := json.Marshal(msg.GetMetadata().GetValues()) + marshal, err := json.Marshal(msg.Metadata) if err != nil { return err } value = marshal } else { - marshal, err := json.Marshal(msg.GetMsg()) + marshal, err := json.Marshal(msg.Msg) if err != nil { return err } diff --git a/pkg/rule_engine/nodes/external_mqtt_node.go b/pkg/rule_engine/nodes/external_mqtt_node.go index f47835c..48527a9 100644 --- a/pkg/rule_engine/nodes/external_mqtt_node.go +++ b/pkg/rule_engine/nodes/external_mqtt_node.go @@ -59,13 +59,13 @@ func (f externalMqttNodeFactory) Create(id string, meta Metadata) (Node, error) return node, nil } -func (n *externalMqttNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *externalMqttNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) defer n.MqttCli.Disconnect(1000) successLabelNode := n.GetLinkedNode("Success") failureLabelNode := n.GetLinkedNode("Failure") topic := n.TopicPattern //need fix add msg.metadata in it - sendmqttmsg, err := json.Marshal(msg.GetMsg()) + sendmqttmsg, err := json.Marshal(msg.Msg) if err != nil { return err } diff --git a/pkg/rule_engine/nodes/external_nats_node.go b/pkg/rule_engine/nodes/external_nats_node.go index e52c270..5298f10 100644 --- a/pkg/rule_engine/nodes/external_nats_node.go +++ b/pkg/rule_engine/nodes/external_nats_node.go @@ -35,8 +35,8 @@ func (f externalNatsNodeFactory) Create(id string, meta Metadata) (Node, error) return node, nil } -func (n *externalNatsNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *externalNatsNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) defer n.client.Close() successLabelNode := n.GetLinkedNode("Success") failureLabelNode := n.GetLinkedNode("Failure") diff --git a/pkg/rule_engine/nodes/external_restapi_node.go b/pkg/rule_engine/nodes/external_restapi_node.go index cffcd88..525c05c 100644 --- a/pkg/rule_engine/nodes/external_restapi_node.go +++ b/pkg/rule_engine/nodes/external_restapi_node.go @@ -27,8 +27,8 @@ func (f externalRestapiNodeFactory) Create(id string, meta Metadata) (Node, erro return decodePath(meta, node) } -func (n *externalRestapiNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *externalRestapiNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) successLableNode := n.GetLinkedNode("Success") failureLableNode := n.GetLinkedNode("Failure") if n.RequestMethod == "GET" { @@ -42,11 +42,11 @@ func (n *externalRestapiNode) Handle(msg message.Message) error { return failureLableNode.Handle(msg) } else { if successLableNode != nil { - metadata := msg.GetMetadata() + metadata := msg.Metadata for key, value := range response { - metadata.SetKeyValue(key, value) + metadata.SetValue(key, value) } - msg.SetMetadata(metadata) + msg.Metadata = metadata return successLableNode.Handle(msg) } } diff --git a/pkg/rule_engine/nodes/external_rule_chain_node.go b/pkg/rule_engine/nodes/external_rule_chain_node.go index c762a78..d099c71 100644 --- a/pkg/rule_engine/nodes/external_rule_chain_node.go +++ b/pkg/rule_engine/nodes/external_rule_chain_node.go @@ -27,8 +27,8 @@ func (f externalRuleChainNodeFactory) Create(id string, meta Metadata) (Node, er return decodePath(meta, node) } -func (n *externalRuleChainNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *externalRuleChainNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) data := services.RuleChainModelDao.FindOne(n.RuleId) if data == nil { return errors.New(fmt.Sprintf("节点 %s ,获取规则链失败", n.Name())) diff --git a/pkg/rule_engine/nodes/external_send_email_node.go b/pkg/rule_engine/nodes/external_send_email_node.go index a5b4ede..167b954 100644 --- a/pkg/rule_engine/nodes/external_send_email_node.go +++ b/pkg/rule_engine/nodes/external_send_email_node.go @@ -38,8 +38,8 @@ func (f externalSendEmailNodeFactory) Create(id string, meta Metadata) (Node, er return decodePath(meta, node) } -func (n *externalSendEmailNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *externalSendEmailNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) successLabelNode := n.GetLinkedNode("Success") failureLabelNode := n.GetLinkedNode("Failure") @@ -48,7 +48,7 @@ func (n *externalSendEmailNode) Handle(msg message.Message) error { if tos[len(tos)-1] == "" { // 判断切片的最后一个元素是否为空,为空则移除 tos = tos[:len(tos)-1] } - err := n.send(tos, msg) + err := n.send(tos, *msg) if err != nil { if failureLabelNode != nil { return failureLabelNode.Handle(msg) @@ -73,7 +73,7 @@ func (m *externalSendEmailNode) send(to []string, msg message.Message) error { } e.To = to e.Subject = m.Subject - template, err := ParseTemplate(m.Body, msg.GetMetadata().GetValues()) + template, err := ParseTemplate(m.Body, msg.Metadata) if err != nil { return err } diff --git a/pkg/rule_engine/nodes/external_send_sms_node.go b/pkg/rule_engine/nodes/external_send_sms_node.go index ff854dc..e0a6e5a 100644 --- a/pkg/rule_engine/nodes/external_send_sms_node.go +++ b/pkg/rule_engine/nodes/external_send_sms_node.go @@ -27,8 +27,8 @@ func (f externalSendSmsNodeFactory) Create(id string, meta Metadata) (Node, erro return decodePath(meta, node) } -func (n *externalSendSmsNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *externalSendSmsNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) successLabelNode := n.GetLinkedNode("Success") //failureLabelNode := n.GetLinkedNode("Failure") diff --git a/pkg/rule_engine/nodes/external_wechat_node.go b/pkg/rule_engine/nodes/external_wechat_node.go index 0600ae6..07cf75f 100644 --- a/pkg/rule_engine/nodes/external_wechat_node.go +++ b/pkg/rule_engine/nodes/external_wechat_node.go @@ -28,8 +28,8 @@ func (f externalWechatNodeFactory) Create(id string, meta Metadata) (Node, error return decodePath(meta, node) } -func (n *externalWechatNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *externalWechatNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) successLabelNode := n.GetLinkedNode("Success") failureLabelNode := n.GetLinkedNode("Failure") diff --git a/pkg/rule_engine/nodes/factory.go b/pkg/rule_engine/nodes/factory.go index 8360126..042b241 100644 --- a/pkg/rule_engine/nodes/factory.go +++ b/pkg/rule_engine/nodes/factory.go @@ -22,10 +22,10 @@ type Factory interface { } var ( - // allNodeFactories hold all node's factory + // 所有节点对应关系 allNodeFactories map[string]Factory = make(map[string]Factory) - // allNodeCategories hold node's metadata by category + // 所有节点的类型MAP allNodeCategories map[string][]map[string]interface{} = make(map[string][]map[string]interface{}) allCategories []map[string]interface{} = make([]map[string]interface{}, 0) ) @@ -48,7 +48,7 @@ func NewNode(nodeType string, id string, meta Metadata) (Node, error) { return nil, fmt.Errorf("invalid node type '%s'", nodeType) } -// GetCategoryNodes return specified category's all nodes +// GetCategoryNodes 获取所有分类节点 func GetCategoryNodes() map[string][]map[string]interface{} { return allNodeCategories } func GetCategory() []map[string]interface{} { return allCategories } diff --git a/pkg/rule_engine/nodes/filter_device_type_switch_node.go b/pkg/rule_engine/nodes/filter_device_type_switch_node.go index ea38b28..b0b821e 100644 --- a/pkg/rule_engine/nodes/filter_device_type_switch_node.go +++ b/pkg/rule_engine/nodes/filter_device_type_switch_node.go @@ -5,8 +5,8 @@ import ( "pandax/pkg/rule_engine/message" ) -//检查关联关系 -//该消息来自与哪个实体或到那个实体 +// 检查关联关系 +// 该消息来自与哪个实体或到那个实体 type deviceTypeSwitchNode struct { bareNode } @@ -25,18 +25,18 @@ func (f deviceTypeSwitchNodeFactory) Create(id string, meta Metadata) (Node, err return decodePath(meta, node) } -func (n *deviceTypeSwitchNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *deviceTypeSwitchNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) deviceLabelNode := n.GetLinkedNode(message.DEVICE) gatewayLabelNode := n.GetLinkedNode(message.GATEWAY) - if msg.GetMetadata().GetKeyValue("deviceType") == message.DEVICE { + if msg.Metadata.GetValue("deviceType").(string) == message.DEVICE { if deviceLabelNode != nil { return deviceLabelNode.Handle(msg) } } - if msg.GetMetadata().GetKeyValue("deviceType") == message.GATEWAY { + if msg.Metadata.GetValue("deviceType").(string) == message.GATEWAY { if gatewayLabelNode != nil { return gatewayLabelNode.Handle(msg) } diff --git a/pkg/rule_engine/nodes/filter_message_type_node.go b/pkg/rule_engine/nodes/filter_message_type_node.go index 31bfa5c..30b2ac2 100644 --- a/pkg/rule_engine/nodes/filter_message_type_node.go +++ b/pkg/rule_engine/nodes/filter_message_type_node.go @@ -24,12 +24,12 @@ func (f messageTypeFilterNodeFactory) Create(id string, meta Metadata) (Node, er return decodePath(meta, node) } -func (n *messageTypeFilterNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *messageTypeFilterNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) trueLabelNode := n.GetLinkedNode("True") falseLabelNode := n.GetLinkedNode("False") - messageType := msg.GetType() + messageType := msg.MsgType for _, filterType := range n.MessageTypes { if filterType == messageType && trueLabelNode != nil { diff --git a/pkg/rule_engine/nodes/filter_message_type_switch_node.go b/pkg/rule_engine/nodes/filter_message_type_switch_node.go index 18a2ce6..0797117 100644 --- a/pkg/rule_engine/nodes/filter_message_type_switch_node.go +++ b/pkg/rule_engine/nodes/filter_message_type_switch_node.go @@ -32,11 +32,11 @@ func (f messageTypeSwitchNodeFactory) Create(id string, meta Metadata) (Node, er return decodePath(meta, node) } -func (n *messageTypeSwitchNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) - +func (n *messageTypeSwitchNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) + msg.Metadata = map[string]interface{}{"AA": "BB", "deviceName": "fff"} nodes := n.GetLinkedNodes() - messageType := msg.GetType() + messageType := msg.MsgType for label, node := range nodes { if messageType == label { return node.Handle(msg) diff --git a/pkg/rule_engine/nodes/filter_script_node.go b/pkg/rule_engine/nodes/filter_script_node.go index aa77322..369b48a 100644 --- a/pkg/rule_engine/nodes/filter_script_node.go +++ b/pkg/rule_engine/nodes/filter_script_node.go @@ -24,12 +24,12 @@ func (f scriptFilterNodeFactory) Create(id string, meta Metadata) (Node, error) return decodePath(meta, node) } -func (n *scriptFilterNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *scriptFilterNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) trueLabelNode := n.GetLinkedNode("True") falseLabelNode := n.GetLinkedNode("False") - scriptEngine := NewScriptEngine(msg, "Filter", n.Script) + scriptEngine := NewScriptEngine(*msg, "Filter", n.Script) isTrue, error := scriptEngine.ScriptOnFilter() if isTrue == true && error == nil && trueLabelNode != nil { return trueLabelNode.Handle(msg) diff --git a/pkg/rule_engine/nodes/filter_switch_node.go b/pkg/rule_engine/nodes/filter_switch_node.go index a4f0181..b128ed1 100644 --- a/pkg/rule_engine/nodes/filter_switch_node.go +++ b/pkg/rule_engine/nodes/filter_switch_node.go @@ -34,10 +34,10 @@ func (f switchFilterNodeFactory) Create(id string, meta Metadata) (Node, error) return decodePath(meta, node) } -func (n *switchFilterNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *switchFilterNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) - scriptEngine := NewScriptEngine(msg, "Switch", n.Script) + scriptEngine := NewScriptEngine(*msg, "Switch", n.Script) SwitchResults, err := scriptEngine.ScriptOnSwitch() if err != nil { return err diff --git a/pkg/rule_engine/nodes/input_node.go b/pkg/rule_engine/nodes/input_node.go index 89f794e..34e1211 100644 --- a/pkg/rule_engine/nodes/input_node.go +++ b/pkg/rule_engine/nodes/input_node.go @@ -23,8 +23,8 @@ func (f inputNodeFactory) Create(id string, meta Metadata) (Node, error) { return node, nil } -func (n *inputNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *inputNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) nodes := n.GetLinkedNodes() for _, node := range nodes { diff --git a/pkg/rule_engine/nodes/metadata.go b/pkg/rule_engine/nodes/metadata.go index 84c38c6..a723021 100644 --- a/pkg/rule_engine/nodes/metadata.go +++ b/pkg/rule_engine/nodes/metadata.go @@ -10,6 +10,7 @@ const ( NODE_CONFIG_ORIGINATOR_TYPE_KEY = "originatorTypeKey" ) +// Metadata 前端 参数 Properties type Metadata interface { Keys() []string With(key string, val interface{}) Metadata diff --git a/pkg/rule_engine/nodes/node.go b/pkg/rule_engine/nodes/node.go index ed12f8f..a290850 100644 --- a/pkg/rule_engine/nodes/node.go +++ b/pkg/rule_engine/nodes/node.go @@ -13,7 +13,7 @@ type Node interface { Id() string Metadata() Metadata MustLabels() []string - Handle(message.Message) error + Handle(*message.Message) error AddLinkedNode(label string, node Node) GetLinkedNode(label string) Node @@ -55,7 +55,7 @@ func (n *bareNode) GetLinkedNodes() map[string]Node { return n.nodes } func (n *bareNode) Metadata() Metadata { return n.meta } -func (n *bareNode) Handle(message.Message) error { return errors.New("not implemented") } +func (n *bareNode) Handle(*message.Message) error { return errors.New("not implemented") } func decodePath(meta Metadata, n Node) (Node, error) { if err := meta.DecodePath(n); err != nil { diff --git a/pkg/rule_engine/nodes/script_engine.go b/pkg/rule_engine/nodes/script_engine.go index 52a4537..63ae1ae 100644 --- a/pkg/rule_engine/nodes/script_engine.go +++ b/pkg/rule_engine/nodes/script_engine.go @@ -8,7 +8,7 @@ import ( ) type ScriptEngine interface { - ScriptOnMessage() (message.Message, error) + ScriptOnMessage() (*message.Message, error) ScriptOnSwitch() ([]string, error) ScriptOnFilter() (bool, error) ScriptToString() (string, error) @@ -29,7 +29,7 @@ func NewScriptEngine(msg message.Message, fun string, script string) ScriptEngin } } -func (bse *baseScriptEngine) ScriptOnMessage() (message.Message, error) { +func (bse *baseScriptEngine) ScriptOnMessage() (*message.Message, error) { msg := bse.Msg vm := goja.New() _, err := vm.RunString(bse.Script) @@ -43,11 +43,11 @@ func (bse *baseScriptEngine) ScriptOnMessage() (message.Message, error) { logrus.Info("Js函数映射到 Go 函数失败!") return nil, err } - datas := fn(msg.GetMsg(), msg.GetMetadata().GetValues(), msg.GetType()) - msg.SetMsg(datas["msg"].(map[string]interface{})) - msg.SetMetadata(message.NewDefaultMetadata(datas["metadata"].(map[string]interface{}))) - msg.SetType(datas["msgType"].(string)) - return msg, nil + datas := fn(msg.Msg, msg.Metadata, msg.MsgType) + msg.Msg = datas["msg"].(map[string]interface{}) + msg.Metadata = datas["metadata"].(map[string]interface{}) + msg.MsgType = datas["msgType"].(string) + return &msg, nil } func (bse *baseScriptEngine) ScriptOnSwitch() ([]string, error) { @@ -64,7 +64,7 @@ func (bse *baseScriptEngine) ScriptOnSwitch() ([]string, error) { logrus.Info("Js函数映射到 Go 函数失败!") return nil, err } - datas := fn(msg.GetMsg(), msg.GetMetadata().GetValues(), msg.GetType()) + datas := fn(msg.Msg, msg.Metadata, msg.MsgType) return datas, nil } @@ -82,7 +82,7 @@ func (bse *baseScriptEngine) ScriptOnFilter() (bool, error) { logrus.Info("Js函数映射到 Go 函数失败!") return false, err } - datas := fn(msg.GetMsg(), msg.GetMetadata().GetValues(), msg.GetType()) + datas := fn(msg.Msg, msg.Metadata, msg.MsgType) return datas, nil } @@ -100,7 +100,7 @@ func (bse *baseScriptEngine) ScriptToString() (string, error) { logrus.Info("Js函数映射到 Go 函数失败!") return "", err } - data := fn(msg.GetMsg(), msg.GetMetadata().GetValues(), msg.GetType()) + data := fn(msg.Msg, msg.Metadata, msg.MsgType) return data, nil } @@ -118,6 +118,6 @@ func (bse *baseScriptEngine) ScriptGenerate() (map[string]interface{}, error) { logrus.Info("Js函数映射到 Go 函数失败!") return nil, err } - datas := fn(msg.GetMsg(), msg.GetMetadata().GetValues(), msg.GetType()) + datas := fn(msg.Msg, msg.Metadata, msg.MsgType) return datas, nil } diff --git a/pkg/rule_engine/nodes/transform_delete_key_node.go b/pkg/rule_engine/nodes/transform_delete_key_node.go index f20e418..7e45be5 100644 --- a/pkg/rule_engine/nodes/transform_delete_key_node.go +++ b/pkg/rule_engine/nodes/transform_delete_key_node.go @@ -23,27 +23,26 @@ func (f transformDeleteKeyNodeFactory) Create(id string, meta Metadata) (Node, e return decodePath(meta, node) } -func (n *transformDeleteKeyNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *transformDeleteKeyNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) successLabelNode := n.GetLinkedNode("Success") failureLabelNode := n.GetLinkedNode("Failure") keys := strings.Split(n.Keys, ",") if n.FormType == "msg" { - data := msg.GetMsg() + data := msg.Msg for _, key := range keys { if _, found := data[key]; found { delete(data, key) - msg.SetMsg(data) + msg.Msg = data } } } else if n.FormType == "metadata" { - data := msg.GetMetadata() + data := msg.Metadata for _, key := range keys { - if data.GetKeyValue(key) != nil { - values := data.GetValues() - delete(values, key) - msg.SetMetadata(message.NewDefaultMetadata(values)) + if data.GetValue(key) != nil { + delete(data, key) + msg.Metadata = data } } } else { diff --git a/pkg/rule_engine/nodes/transform_rename_key_node.go b/pkg/rule_engine/nodes/transform_rename_key_node.go index ebbc62e..6730d7e 100644 --- a/pkg/rule_engine/nodes/transform_rename_key_node.go +++ b/pkg/rule_engine/nodes/transform_rename_key_node.go @@ -26,28 +26,27 @@ func (f transformRenameKeyNodeFactory) Create(id string, meta Metadata) (Node, e return decodePath(meta, node) } -func (n *transformRenameKeyNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *transformRenameKeyNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) successLabelNode := n.GetLinkedNode("Success") failureLabelNode := n.GetLinkedNode("Failure") if n.FormType == "msg" { - data := msg.GetMsg() + data := msg.Msg for _, key := range n.Keys { if _, found := data[key.OldName]; found { data[key.NewName] = data[key.OldName] delete(data, key.OldName) - msg.SetMsg(data) + msg.Msg = data } } } else if n.FormType == "metadata" { - data := msg.GetMetadata() + data := msg.Metadata for _, key := range n.Keys { - if data.GetKeyValue(key.OldName) != nil { - values := data.GetValues() - values[key.NewName] = values[key.OldName] - delete(values, key.OldName) - msg.SetMetadata(message.NewDefaultMetadata(values)) + if data.GetValue(key.OldName) != nil { + data[key.NewName] = data[key.OldName] + delete(data, key.OldName) + msg.Metadata = data } } } else { diff --git a/pkg/rule_engine/nodes/transform_script_node.go b/pkg/rule_engine/nodes/transform_script_node.go index ed86083..ea12a73 100644 --- a/pkg/rule_engine/nodes/transform_script_node.go +++ b/pkg/rule_engine/nodes/transform_script_node.go @@ -22,13 +22,13 @@ func (f transformScriptNodeFactory) Create(id string, meta Metadata) (Node, erro return decodePath(meta, node) } -func (n *transformScriptNode) Handle(msg message.Message) error { - logrus.Infof("%s handle message '%s'", n.Name(), msg.GetType()) +func (n *transformScriptNode) Handle(msg *message.Message) error { + logrus.Infof("%s handle message '%s'", n.Name(), msg.MsgType) successLabelNode := n.GetLinkedNode("Success") failureLabelNode := n.GetLinkedNode("Failure") - scriptEngine := NewScriptEngine(msg, "Transform", n.Script) + scriptEngine := NewScriptEngine(*msg, "Transform", n.Script) newMessage, err := scriptEngine.ScriptOnMessage() if err != nil { if failureLabelNode != nil { From 618518ec95633d901e065c782e0bee2ac03bc089 Mon Sep 17 00:00:00 2001 From: XM-GO <93296511+XM-GO@users.noreply.github.com> Date: Mon, 28 Aug 2023 09:48:30 +0800 Subject: [PATCH 04/13] Dockerfile --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 254c30d..1aab98b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,9 +5,13 @@ WORKDIR /go/src/panda COPY ./pandax ./ COPY ./config.yml ./ COPY ./resource ./resource +COPY ./uploads ./uploads RUN chmod 755 ./pandax EXPOSE 7788 +EXPOSE 9001 +EXPOSE 8801 +EXPOSE 5060/udp ENTRYPOINT ./pandax \ No newline at end of file From 0b4d70f9f29a78d47fcd4b0baa19ca8ca73d1060 Mon Sep 17 00:00:00 2001 From: XM-GO <93296511+XM-GO@users.noreply.github.com> Date: Wed, 30 Aug 2023 17:11:11 +0800 Subject: [PATCH 05/13] 1 --- default.log | 696 ---------------------------------------------------- 1 file changed, 696 deletions(-) diff --git a/default.log b/default.log index 3f58ee3..e69de29 100644 --- a/default.log +++ b/default.log @@ -1,696 +0,0 @@ -2023-08-23 16:11:33.279 [INFO] [D:/workspace/go/pkg/mod/github.com/!x!m-!g!o/!panda!kit@v0.0.0-20230628055017-c47e7aa81cd4/starter/gorm.go:36] : 连接mysql [root:!MyEMS1@tcp(127.0.0.1:3306)/pandax_iot?charset=utf8&loc=Local&parseTime=true] -2023-08-23 16:11:33.285 [INFO] [D:/workspace/go/project/PandaX/PandaX/main.go:46] : mysql连接成功 -2023-08-23 16:11:33.287 [INFO] [D:/workspace/go/project/PandaX/PandaX/main.go:51] : Redis连接成功 -2023-08-23 16:11:33.287 [INFO] [D:/workspace/go/project/PandaX/PandaX/main.go:58] : Tdengine连接成功 -2023-08-23 16:11:33.296 [INFO] [D:/workspace/go/project/PandaX/PandaX/main.go:76] : 路由初始化完成 -2023-08-23 16:11:33.297 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:38] : HTTP Server listen: :7788 -2023-08-23 16:11:33.297 [INFO] [D:/workspace/go/project/PandaX/PandaX/iothub/hook.go:37] : IOTHUB HOOK Start SUCCESS,Grpc Server listen: :9001 -2023-08-23 16:11:33.303 [INFO] [D:/workspace/go/project/PandaX/PandaX/apps/job/jobs/jobbase.go:83] : 2023-08-23 16:11:33 [INFO] JobCore start success. -2023-08-23 16:11:33.304 [INFO] [D:/workspace/go/project/PandaX/PandaX/iothub/hook.go:156] : 账号pandax,密码pandax,开始认证 -2023-08-23 16:11:33.306 [INFO] [D:/workspace/go/project/PandaX/PandaX/iothub/hook.go:96] : Client emqx@172.17.0.2 Connected -2023-08-23 16:11:38.231 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:11:38.232 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:11:38.396 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/group/list] : 获取ScreenGroup列表 ->30ms -2023-08-23 16:11:38.398 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/system/dict/data/type] [uid=1] : 获取字典数据列表通过字典类型 ->22ms -2023-08-23 16:11:40.752 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:11:40.752 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS - -2023-08-23 16:11:40.753 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:11:40.793 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/group/list/tree] [uid=1] [uname=panda] : 获取ScreenGroup树 ->13ms -2023-08-23 16:11:40.806 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/system/dict/data/type] [uid=1] [uname=panda] : 获取字典数据列表通过字典类型 ->8ms -2023-08-23 16:11:40.823 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/list] [uid=1] [uname=panda] : 获取Screen分页列表 ->37ms -2023-08-23 16:11:43.729 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:11:43.762 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/system/user/auth] [uid=1] : 认证信息 ->30ms -2023-08-23 16:13:00.195 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:13:00.291 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->35ms -2023-08-23 16:18:07.572 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:18:07.613 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->13ms -2023-08-23 16:24:42.818 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:24:43.008 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->66ms -2023-08-23 16:25:34.897 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:25:34.922 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->5ms -2023-08-23 16:27:57.705 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:27:57.912 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->198ms -2023-08-23 16:32:14.877 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:32:14.962 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->42ms -2023-08-23 16:34:13.013 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:34:13.039 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->4ms -2023-08-23 16:35:05.369 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:35:05.394 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->5ms -2023-08-23 16:35:23.750 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:35:23.791 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->28ms -2023-08-23 16:36:15.414 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:36:15.456 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms -2023-08-23 16:36:21.247 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:36:21.389 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->133ms -2023-08-23 16:36:29.180 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:36:29.223 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->33ms -2023-08-23 16:36:39.823 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:36:39.852 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->18ms -2023-08-23 16:36:43.415 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->15ms -2023-08-23 16:36:49.754 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:36:49.780 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->16ms -2023-08-23 16:42:26.694 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:42:26.740 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->10ms -2023-08-23 16:42:44.597 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:42:44.658 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->12ms -2023-08-23 16:42:55.195 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:42:55.235 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->30ms -2023-08-23 16:42:57.857 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:42:57.885 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->15ms -2023-08-23 16:43:22.397 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:43:22.443 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->34ms -2023-08-23 16:43:31.976 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:43:32.005 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->18ms -2023-08-23 16:43:38.085 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:43:38.142 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->32ms -2023-08-23 16:45:11.830 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:45:12.028 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->169ms -2023-08-23 16:45:20.780 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:45:20.824 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms -2023-08-23 16:45:22.870 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:45:22.896 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms -2023-08-23 16:48:19.341 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:48:19.365 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->6ms -2023-08-23 16:48:33.107 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:48:33.149 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->30ms -2023-08-23 16:48:39.736 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:48:39.761 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->15ms -2023-08-23 16:48:45.123 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:48:45.162 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->27ms -2023-08-23 16:49:33.410 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:49:33.495 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->60ms -2023-08-23 16:50:11.914 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:50:11.982 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->51ms -2023-08-23 16:50:14.288 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:50:14.314 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->17ms -2023-08-23 16:52:15.316 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:52:15.351 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->13ms -2023-08-23 16:52:27.253 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:52:27.294 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->29ms -2023-08-23 16:52:29.480 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:52:29.508 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->18ms -2023-08-23 16:52:39.563 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:52:39.604 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->31ms -2023-08-23 16:54:14.583 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:54:14.625 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->32ms -2023-08-23 16:55:40.422 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:55:40.445 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->5ms -2023-08-23 16:56:00.744 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:56:00.808 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->55ms -2023-08-23 16:56:03.088 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:56:03.113 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->17ms -2023-08-23 16:56:07.938 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:56:07.979 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->30ms -2023-08-23 16:56:49.560 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 16:56:49.589 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->9ms -2023-08-23 16:57:27.016 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:57:27.064 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms -2023-08-23 16:57:29.089 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:57:29.117 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->18ms -2023-08-23 16:57:33.924 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 16:57:33.964 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms -2023-08-23 17:00:10.286 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:00:10.319 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->11ms -2023-08-23 17:00:23.554 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:00:23.596 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms -2023-08-23 17:00:27.824 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:00:27.849 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->16ms -2023-08-23 17:00:32.331 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:00:32.375 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->32ms -2023-08-23 17:01:26.733 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:01:26.779 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->26ms -2023-08-23 17:01:37.616 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:01:37.655 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->29ms -2023-08-23 17:01:40.031 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:01:40.057 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms -2023-08-23 17:01:44.369 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:01:44.410 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->29ms -2023-08-23 17:04:23.298 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:04:23.337 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->29ms -2023-08-23 17:04:29.979 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:04:29.999 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->4ms -2023-08-23 17:04:37.356 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:04:37.398 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->30ms -2023-08-23 17:04:39.303 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:04:39.330 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->15ms -2023-08-23 17:04:43.906 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:04:43.951 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->32ms -2023-08-23 17:05:36.260 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:05:36.302 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms -2023-08-23 17:05:44.808 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:05:44.830 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-23 17:05:56.409 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:05:56.454 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->32ms -2023-08-23 17:05:58.535 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:05:58.559 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->15ms -2023-08-23 17:06:03.036 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:06:03.084 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->35ms -2023-08-23 17:06:12.578 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:06:12.598 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->8ms -2023-08-23 17:06:23.432 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:06:23.474 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->29ms -2023-08-23 17:06:25.832 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:06:25.861 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->18ms -2023-08-23 17:06:30.803 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:06:30.843 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->27ms -2023-08-23 17:07:30.554 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:07:30.574 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->5ms -2023-08-23 17:07:38.062 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:07:38.102 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->31ms -2023-08-23 17:07:40.567 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:07:40.592 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms -2023-08-23 17:07:51.389 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:07:51.430 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->29ms -2023-08-23 17:11:55.336 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:11:55.365 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->10ms -2023-08-23 17:12:03.326 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:12:03.367 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms -2023-08-23 17:12:05.696 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:12:05.724 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->16ms -2023-08-23 17:12:13.092 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:12:13.168 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->32ms -2023-08-23 17:13:01.481 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:13:01.504 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->8ms -2023-08-23 17:13:10.042 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:13:10.080 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->27ms -2023-08-23 17:13:12.538 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:13:12.562 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms -2023-08-23 17:13:17.098 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:13:17.143 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->32ms -2023-08-23 17:16:20.858 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:16:20.882 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-23 17:16:32.698 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:16:32.741 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->30ms -2023-08-23 17:16:35.362 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:16:35.387 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->15ms -2023-08-23 17:17:10.298 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:17:10.319 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->7ms -2023-08-23 17:17:18.537 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:17:18.576 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->29ms -2023-08-23 17:17:20.880 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:17:20.905 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->16ms -2023-08-23 17:17:25.323 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:17:25.369 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->32ms -2023-08-23 17:17:28.551 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:17:28.577 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->15ms -2023-08-23 17:17:33.575 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->15ms -2023-08-23 17:17:38.865 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:17:38.891 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->17ms -2023-08-23 17:17:44.178 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:17:44.203 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms -2023-08-23 17:18:03.330 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:18:03.362 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->22ms -2023-08-23 17:18:07.304 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:18:07.332 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->18ms -2023-08-23 17:23:02.498 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:23:02.498 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:23:02.528 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/group/list] : 获取ScreenGroup列表 ->7ms -2023-08-23 17:23:02.547 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/system/dict/data/type] [uid=1] [uname=panda] : 获取字典数据列表通过字典类型 ->9ms -2023-08-23 17:23:03.563 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:23:03.563 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS - -2023-08-23 17:23:03.564 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:23:03.581 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/group/list/tree] [uid=1] : 获取ScreenGroup树 ->4ms -2023-08-23 17:23:03.614 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/system/dict/data/type] : 获取字典数据列表通过字典类型 ->12ms -2023-08-23 17:23:03.649 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/list] [uid=1] [uname=panda] : 获取Screen分页列表 ->40ms -2023-08-23 17:23:07.146 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:23:07.189 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/system/user/auth] [uid=1] : 认证信息 ->34ms -2023-08-23 17:23:10.265 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:23:10.349 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->10ms -2023-08-23 17:23:27.982 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:23:28.013 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->8ms -2023-08-23 17:24:25.042 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:24:25.073 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->7ms -2023-08-23 17:24:50.140 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:24:50.183 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-23 17:25:23.405 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:25:23.453 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->33ms -2023-08-23 17:25:27.168 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:25:27.197 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->16ms -2023-08-23 17:25:36.935 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:25:36.976 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->30ms -2023-08-23 17:28:49.366 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:28:49.452 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->9ms -2023-08-23 17:28:57.485 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:28:57.528 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->32ms -2023-08-23 17:28:59.471 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:28:59.497 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->15ms -2023-08-23 17:29:03.725 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:29:03.769 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->30ms -2023-08-23 17:30:05.112 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:30:05.148 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-23 17:30:12.924 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:30:12.969 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->34ms -2023-08-23 17:30:14.705 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:30:14.733 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->17ms -2023-08-23 17:30:18.378 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:30:18.423 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->30ms -2023-08-23 17:31:14.261 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:31:14.301 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->10ms -2023-08-23 17:31:38.456 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:31:38.509 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->41ms -2023-08-23 17:31:41.001 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:31:41.029 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->18ms -2023-08-23 17:31:48.093 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:31:48.138 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->29ms -2023-08-23 17:33:33.739 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:33:33.872 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->109ms -2023-08-23 17:33:49.986 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:33:50.054 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->57ms -2023-08-23 17:33:52.016 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:33:52.042 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->15ms -2023-08-23 17:33:56.214 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-23 17:33:56.256 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->32ms -2023-08-23 17:36:06.259 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-23 17:36:06.291 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->14ms -2023-08-24 08:05:46.255 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:05:46.348 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [POST=/system/user/login] : 登录 ->87ms -2023-08-24 08:05:46.353 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:05:46.375 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/system/user/auth] : 认证信息 ->19ms -2023-08-24 08:05:50.924 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 08:05:50.924 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 08:05:50.944 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/system/dict/data/type] : 获取字典数据列表通过字典类型 ->4ms -2023-08-24 08:05:50.957 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/rule/chain/list] [uid=1] : 获取规则引擎分页列表 ->8ms -2023-08-24 08:05:54.599 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:05:54.642 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/system/user/auth] : 认证信息 ->38ms -2023-08-24 08:06:20.544 [ERROR] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:31] [GET=/rule/chain/nodeLabels] : 获取所有节点标签 -<-e errCode: 4001, errMsg: 没有权限操作,可能是TOKEN过期了,请先登录 -2023-08-24 08:06:37.163 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:06:37.192 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/rule/chain/rule_a37571bb6c45378b57803793] : 获取规则引擎信息 ->6ms -2023-08-24 08:06:37.473 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 08:06:37.478 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/rule/chain/nodeLabels] : 获取所有节点标签 ->0ms -2023-08-24 08:17:26.276 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 08:17:26.276 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS - -2023-08-24 08:17:26.276 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 08:17:26.295 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/group/list/tree] [uid=1] : 获取ScreenGroup树 ->3ms -2023-08-24 08:17:26.314 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/system/dict/data/type] [uid=1] : 获取字典数据列表通过字典类型 ->6ms -2023-08-24 08:17:26.334 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/list] : 获取Screen分页列表 ->22ms -2023-08-24 08:17:29.227 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:17:29.262 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/system/user/auth] [uid=1] [uname=panda] : 认证信息 ->31ms -2023-08-24 08:17:31.007 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:17:31.040 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-24 08:21:57.383 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:21:57.428 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->8ms -2023-08-24 08:23:41.014 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:23:41.049 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->6ms -2023-08-24 08:26:26.101 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:26:26.142 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->5ms -2023-08-24 08:26:27.135 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->9ms -2023-08-24 08:27:04.020 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:27:04.071 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->15ms -2023-08-24 08:27:52.333 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:27:52.366 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->6ms -2023-08-24 08:28:30.323 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:28:30.363 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-24 08:29:01.986 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:29:02.017 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->9ms -2023-08-24 08:29:51.326 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:29:51.362 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-24 08:30:40.035 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:30:40.058 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->5ms -2023-08-24 08:31:11.240 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:31:11.273 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->8ms -2023-08-24 08:31:48.827 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:31:49.073 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->45ms -2023-08-24 08:34:43.759 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:34:43.794 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-24 08:36:30.402 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:36:30.446 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->12ms -2023-08-24 08:36:58.464 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:36:58.498 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->6ms -2023-08-24 08:37:42.124 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:37:42.168 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->7ms -2023-08-24 08:56:58.318 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 08:56:58.363 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->32ms -2023-08-24 08:57:01.226 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 08:57:01.253 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->16ms -2023-08-24 08:57:08.455 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 08:57:08.496 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/device/twin] [uid=1] : 获取Device孪生体 ->31ms -2023-08-24 08:59:24.139 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 08:59:24.172 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->8ms -2023-08-24 09:00:21.243 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 09:00:21.274 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-24 09:02:15.945 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 09:02:15.973 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->7ms -2023-08-24 09:04:42.852 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 09:04:42.874 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->6ms -2023-08-24 09:04:57.231 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 09:04:57.272 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->30ms -2023-08-24 09:04:59.995 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 09:05:00.030 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->23ms -2023-08-24 09:11:22.850 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 09:11:22.895 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->31ms -2023-08-24 09:11:27.841 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 09:11:27.866 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms -2023-08-24 09:18:51.796 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 09:18:51.825 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->6ms -2023-08-24 09:20:12.314 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 09:20:12.344 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->7ms -2023-08-24 09:22:28.759 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 09:22:28.761 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 09:22:28.783 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/system/dict/data/type] [uid=1] : 获取字典数据列表通过字典类型 ->4ms -2023-08-24 09:22:28.796 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/rule/chain/list] : 获取规则引擎分页列表 ->20ms -2023-08-24 09:22:31.909 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 09:22:31.941 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/system/user/auth] : 认证信息 ->27ms -2023-08-24 09:22:32.620 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 09:22:32.650 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/rule/chain/rule_a37571bb6c45378b57803793] : 获取规则引擎信息 ->8ms -2023-08-24 09:22:33.043 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 09:22:33.046 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/rule/chain/nodeLabels] [uid=1] : 获取所有节点标签 ->0ms -2023-08-24 10:01:20.973 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:01:21.014 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-24 10:01:44.452 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:01:44.492 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->8ms -2023-08-24 10:02:45.791 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:02:45.824 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->5ms -2023-08-24 10:04:44.251 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:04:44.291 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->12ms -2023-08-24 10:05:05.256 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:05:05.328 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->13ms -2023-08-24 10:06:52.531 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:06:52.578 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->10ms -2023-08-24 10:07:14.701 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:07:14.734 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->6ms -2023-08-24 10:07:45.131 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:07:45.171 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->8ms -2023-08-24 10:08:30.008 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:08:30.046 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-24 10:14:45.086 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:14:45.129 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->8ms -2023-08-24 10:18:12.624 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:18:12.654 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-24 10:19:50.917 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:19:50.972 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->16ms -2023-08-24 10:20:44.438 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:20:44.474 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->6ms -2023-08-24 10:22:18.746 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:22:18.785 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->7ms -2023-08-24 10:22:30.890 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:22:30.919 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->14ms -2023-08-24 10:24:25.134 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:24:25.206 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->21ms -2023-08-24 10:26:47.768 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:26:47.824 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->12ms -2023-08-24 10:29:32.562 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:29:32.596 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->8ms -2023-08-24 10:30:35.040 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:30:35.273 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->7ms -2023-08-24 10:31:42.056 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:31:42.091 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->9ms -2023-08-24 10:33:20.382 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:33:20.417 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-24 10:37:18.246 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:37:18.285 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->10ms -2023-08-24 10:40:40.390 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:40:40.422 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->7ms -2023-08-24 10:41:28.437 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:41:28.475 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->10ms -2023-08-24 10:43:39.523 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:43:39.568 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->9ms -2023-08-24 10:44:50.857 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:44:50.891 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-24 10:47:45.469 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:47:45.511 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] : 获取Screen信息 ->7ms -2023-08-24 10:55:31.626 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:55:31.661 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->6ms -2023-08-24 10:56:55.176 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:56:55.219 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->9ms -2023-08-24 10:58:36.941 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 10:58:36.972 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->6ms -2023-08-24 11:04:04.584 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 11:04:04.625 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->27ms -2023-08-24 11:07:12.906 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 11:07:12.933 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms -2023-08-24 13:46:06.172 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 13:46:06.219 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->33ms -2023-08-24 13:46:08.170 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 13:46:08.199 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/device/twin] : 获取Device孪生体 ->17ms -2023-08-24 14:01:48.445 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 14:01:48.483 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-24 14:03:06.628 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 14:03:06.689 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->10ms -2023-08-24 14:20:29.617 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 14:20:29.697 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->69ms -2023-08-24 14:20:32.120 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 14:20:32.146 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/device/twin] [uid=1] [uname=panda] : 获取Device孪生体 ->16ms -2023-08-24 14:29:40.664 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 14:29:40.720 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->12ms -2023-08-24 14:46:34.646 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 14:46:34.691 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->9ms -2023-08-24 14:54:45.303 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 14:54:45.346 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->8ms -2023-08-24 14:55:02.260 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS - -2023-08-24 14:55:02.444 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/dataset/table/list/all] : 获取DataSetTable列表 ->177ms -2023-08-24 14:55:39.388 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS - -2023-08-24 14:55:39.403 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/dataset/table/list/all] : 获取DataSetTable列表 ->13ms -2023-08-24 14:56:22.724 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS - -2023-08-24 14:56:22.743 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/dataset/table/list/all] : 获取DataSetTable列表 ->15ms -2023-08-24 14:57:20.592 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS - -2023-08-24 14:57:20.611 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/dataset/table/list/all] : 获取DataSetTable列表 ->16ms -2023-08-24 14:59:55.193 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 1 routes) that matches HTTP method OPTIONS - -2023-08-24 14:59:55.245 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/dataset/table/list/all] : 获取DataSetTable列表 ->47ms -2023-08-24 15:02:10.093 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 15:02:10.127 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->7ms -2023-08-24 15:04:45.508 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 15:04:45.530 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->13ms -2023-08-24 15:09:05.085 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 15:09:05.121 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] : 获取Screen信息 ->7ms -2023-08-24 15:11:57.590 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 15:11:57.626 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/rule/chain/rule_a37571bb6c45378b57803793] [uid=1] : 获取规则引擎信息 ->13ms -2023-08-24 15:11:57.923 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 15:11:57.932 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/rule/chain/nodeLabels] : 获取所有节点标签 ->0ms -2023-08-24 15:27:41.474 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 15:27:41.474 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 15:27:41.492 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/system/dict/data/type] [uid=1] : 获取字典数据列表通过字典类型 ->6ms -2023-08-24 15:27:41.504 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uid=1] [uname=panda] [GET=/log/logLogin/list] : 获取登录日志列表 ->8ms -2023-08-24 17:35:27.159 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 17:35:27.197 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/visual/screen/zt_08ca17dbc53c916369ffb3d0] [uid=1] [uname=panda] : 获取Screen信息 ->6ms -2023-08-24 17:35:28.459 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 2 routes) that matches HTTP method OPTIONS - -2023-08-24 17:35:28.491 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [uname=panda] [GET=/rule/chain/rule_a37571bb6c45378b57803793] [uid=1] : 获取规则引擎信息 ->4ms -2023-08-24 17:35:28.749 [DEBUG] [D:/workspace/go/project/PandaX/PandaX/pkg/transport/http_server.go:59] : no Route found (in 3 routes) that matches HTTP method OPTIONS - -2023-08-24 17:35:28.756 [INFO] [D:/workspace/go/project/PandaX/PandaX/pkg/middleware/log.go:34] [GET=/rule/chain/nodeLabels] [uid=1] [uname=panda] : 获取所有节点标签 ->0ms From e027fa848c372cb094b5dce05f4cbb06c350584b Mon Sep 17 00:00:00 2001 From: XM-GO <93296511+XM-GO@users.noreply.github.com> Date: Thu, 31 Aug 2023 09:44:20 +0800 Subject: [PATCH 06/13] 1 --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 01cf344..dd22f30 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # PandaX

