From 48ca11aaf324d017c08fadabf27c753fdd76c9b7 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期四, 10 十月 2024 20:19:36 +0800
Subject: [PATCH] xxx

---
 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
old mode 100644
new mode 100755
index a2da561..dee9d66
--- 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 HookResultForOnPublish Fail(){
+        return new HookResultForOnPublish(-1, "fail");
+    }
+
     public int getCode() {
         return code;
     }

--
Gitblit v1.8.0