From 73e8f38ca1c41290d129dddbce3cb7136c7b4c89 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 19 十月 2022 17:24:19 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/entity/all/ResponseMsg.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/com/lf/server/entity/all/ResponseMsg.java b/src/main/java/com/lf/server/entity/all/ResponseMsg.java index 7b2e488..3ebb385 100644 --- a/src/main/java/com/lf/server/entity/all/ResponseMsg.java +++ b/src/main/java/com/lf/server/entity/all/ResponseMsg.java @@ -31,7 +31,7 @@ this.time = time; } - public ResponseMsg(HttpStatus code, int count, T result) { + public ResponseMsg(HttpStatus code, long count, T result) { this.code = code.getValue(); this.msg = this.code == 200 ? "鎴愬姛" : "澶辫触"; this.count = count; @@ -39,7 +39,7 @@ this.time = System.currentTimeMillis(); } - public ResponseMsg(HttpStatus code, String msg, int count, T result) { + public ResponseMsg(HttpStatus code, String msg, long count, T result) { this.code = code.getValue(); this.msg = msg; this.count = count; @@ -47,7 +47,7 @@ this.time = System.currentTimeMillis(); } - public ResponseMsg(int code, String msg, int count, T result, long time) { + public ResponseMsg(int code, String msg, long count, T result, long time) { this.code = code; this.msg = msg; this.count = count; @@ -59,7 +59,7 @@ private String msg; - private int count; + private long count; private T result; @@ -81,11 +81,11 @@ this.msg = msg; } - public int getCount() { + public long getCount() { return count; } - public void setCount(int count) { + public void setCount(long count) { this.count = count; } -- Gitblit v1.9.3