From 6c76ad7d3c1e6b2a2cea4986f9bcb0f7215c3563 Mon Sep 17 00:00:00 2001 From: vince <757871790@qq.com> Date: 星期二, 13 八月 2024 09:38:44 +0800 Subject: [PATCH] 优化测温协议 --- 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