From 236cf59aae727d304487676413c4337f73b16e67 Mon Sep 17 00:00:00 2001 From: vince <757871790@qq.com> Date: 星期二, 16 一月 2024 12:14:19 +0800 Subject: [PATCH] Merge remote-tracking branch 'orgin/igds-api-gateway' into igds-api-gateway --- src/main/java/com/fzzy/gateway/data/BaseResp.java | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/fzzy/gateway/data/BaseResp.java b/src/main/java/com/fzzy/gateway/data/BaseResp.java index b9b15e2..02ef7f2 100644 --- a/src/main/java/com/fzzy/gateway/data/BaseResp.java +++ b/src/main/java/com/fzzy/gateway/data/BaseResp.java @@ -6,13 +6,18 @@ public class BaseResp { public static int CODE_200 = 200; - public static int CODE_50 = 500; + public static int CODE_500 = 500; private int code = CODE_200; private String msg = "鎴愬姛"; private String data; + + /** + * 灏佽闇�瑕佺殑鏁版嵁 + */ + private Object obj; public BaseResp() { @@ -22,7 +27,7 @@ this.data = data; } - public BaseResp(int code,String msg) { + public BaseResp(int code, String msg) { this.msg = msg; this.code = code; } -- Gitblit v1.9.3