feat:消费机-获取服务器时间接口

This commit is contained in:
dzc committed 2026-02-12 15:08:53 +08:00
1 parent 5ed9ac14f9
commit 8cc16c5873
6 files changed
+104 -11

No files matched your search

@@ -62,6 +62,12 @@ public class HardXfjLogEntity extends Model<HardXfjLogEntity> {
@Schema(description = "req")
private String req;
/**
* error
*/
@Schema(description = "error")
private String error;
/**
* 开始时间
*/
@@ -75,10 +81,10 @@ public class HardXfjLogEntity extends Model<HardXfjLogEntity> {
private LocalDateTime endTime;
/**
* 耗时(秒)
* 耗时(毫秒)
*/
@Schema(description = "耗时(秒)")
private Integer cost;
@Schema(description = "耗时(毫秒)")
private Long cost;
/**
* 创建人
@@ -5,15 +5,21 @@ import lombok.Data;
@Data
public class XfjBaseVo {
static final Integer STATUS_SUCCESS = 1;
static final Integer STATUS_FAIL = 0;
static final String DEFAULT_SUCCESS_MSG = "成功";
static final String DEFAULT_FAIL_MSG = "服务端错误";
/**
* 1:成功
* 0:失败
*/
private String Status;
private Integer Status = STATUS_SUCCESS;
/**
* 错误消息(Status为0时屏幕显示此内容,最多不超过8个汉字)
*/
private String Msg;
private String Msg = DEFAULT_SUCCESS_MSG;
}