From ceb93c53f81074eeb80d65afaec9c5dbf827088f Mon Sep 17 00:00:00 2001 From: xinzirun Date: Sun, 4 Aug 2024 16:18:14 +0800 Subject: [PATCH] =?UTF-8?q?fix():=20=E5=A2=9E=E5=8A=A0=E7=A4=BA=E4=BE=8B?= =?UTF-8?q?=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/muyu/common/core/domain/Result.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/muyu/common/core/domain/Result.java b/src/main/java/com/muyu/common/core/domain/Result.java index f490d48..920b327 100644 --- a/src/main/java/com/muyu/common/core/domain/Result.java +++ b/src/main/java/com/muyu/common/core/domain/Result.java @@ -40,10 +40,10 @@ public class Result implements Serializable { private static final long serialVersionUID = 1L; - @Schema(name = "code", description = "整体返回响应状态码200表示成功,其余表示请求有异常,详情请见每个接口") + @Schema(defaultValue = "200", type = "Integer", description = "整体返回响应状态码200表示成功,其余表示请求有异常,详情请见每个接口") private int code; - @Schema(description = "返回状态码的描述") + @Schema(description = "返回状态码的描述", defaultValue = "操作成功", type = "String") private String msg; @Schema(description = "返回数据")