From ed8c7a5effd0d423ce1118b680ecdca6fe732609 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期三, 02 七月 2025 16:43:13 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.11.205:9000/r/P2022036_Service --- src/main/java/com/lf/server/entity/all/ResponseMsg.java | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 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 d687d36..3ebb385 100644 --- a/src/main/java/com/lf/server/entity/all/ResponseMsg.java +++ b/src/main/java/com/lf/server/entity/all/ResponseMsg.java @@ -1,9 +1,9 @@ package com.lf.server.entity.all; /** - * 鍝嶅簲娑堟伅 + * 鍝嶅簲娑堟伅绫� * @author www - * @param <T> + * @param <T> 娉涘瀷 */ public class ResponseMsg<T> { public ResponseMsg() { @@ -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