From a1ab8124008deb6d6e1d46ed3438018a75adffe5 Mon Sep 17 00:00:00 2001 From: dengzedong <dengzedong@email> Date: 星期四, 09 一月 2025 11:51:35 +0800 Subject: [PATCH] 去掉cpp中删除python资源的代码 --- iailab-framework/iailab-common/src/main/java/com/iailab/framework/common/pojo/CommonResult.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/iailab-framework/iailab-common/src/main/java/com/iailab/framework/common/pojo/CommonResult.java b/iailab-framework/iailab-common/src/main/java/com/iailab/framework/common/pojo/CommonResult.java index 063d0a6..147e44d 100644 --- a/iailab-framework/iailab-common/src/main/java/com/iailab/framework/common/pojo/CommonResult.java +++ b/iailab-framework/iailab-common/src/main/java/com/iailab/framework/common/pojo/CommonResult.java @@ -77,6 +77,13 @@ return result; } + public static CommonResult<String> success() { + CommonResult<String> result = new CommonResult<>(); + result.code = GlobalErrorCodeConstants.SUCCESS.getCode(); + result.msg = "success"; + return result; + } + public static boolean isSuccess(Integer code) { return Objects.equals(code, GlobalErrorCodeConstants.SUCCESS.getCode()); } -- Gitblit v1.9.3