From affbd89fdb7a1a0dbfea2d5ff871c1e4989aaff9 Mon Sep 17 00:00:00 2001
From: 648540858 <648540858@qq.com>
Date: 星期一, 08 五月 2023 17:55:07 +0800
Subject: [PATCH] 修复hook订阅移除失败的问题

---
 src/main/java/com/genersoft/iot/vmp/media/zlm/dto/hook/HookResult.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/hook/HookResult.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/hook/HookResult.java
index a2da561..b327f13 100644
--- a/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/hook/HookResult.java
+++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/dto/hook/HookResult.java
@@ -18,6 +18,10 @@
         return new HookResult(0, "success");
     }
 
+    public static HookResult Fail(){
+        return new HookResult(-1, "fail");
+    }
+
     public int getCode() {
         return code;
     }

--
Gitblit v1.8.0