From cfdf2ba6ae2f48f460ee621e50b13eecf42f288b Mon Sep 17 00:00:00 2001 From: LQS <2506203757@qq.com> Date: Sun, 4 Aug 2024 15:28:29 +0800 Subject: [PATCH] =?UTF-8?q?fix():=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 01c612c..824bb9a 100644 --- a/src/main/java/com/muyu/common/core/domain/Result.java +++ b/src/main/java/com/muyu/common/core/domain/Result.java @@ -37,10 +37,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 = "返回数据")