feat: exec multiple uixt actions

This commit is contained in:
lilong.129
2024-11-07 21:00:21 +08:00
parent db5768e3a1
commit 2587bbee82
3 changed files with 34 additions and 1 deletions

View File

@@ -40,6 +40,7 @@ func NewServer(port int) error {
// run uixt actions
apiV1PlatformSerial.POST("/uixt/action", handleDeviceContext(), uixtActionHandler)
apiV1PlatformSerial.POST("/uixt/actions", handleDeviceContext(), uixtActionsHandler)
err := router.Run(fmt.Sprintf("127.0.0.1:%d", port))
if err != nil {