5 changed files with 11 additions and 119 deletions
-
7tp-functional/src/main/java/com/inscloudtech/functional/controller/FuncCarApiController.java
-
100tp-functional/src/main/java/com/inscloudtech/functional/domain/vo/FuncCarApiVo.java
-
1tp-functional/src/main/java/com/inscloudtech/functional/mapper/FuncCarApiMapper.java
-
8tp-functional/src/main/java/com/inscloudtech/functional/service/IFuncCarApiService.java
-
14tp-functional/src/main/java/com/inscloudtech/functional/service/impl/FuncCarApiServiceImpl.java
@ -1,100 +0,0 @@ |
|||
package com.inscloudtech.functional.domain.vo; |
|||
|
|||
import java.util.Date; |
|||
import com.fasterxml.jackson.annotation.JsonFormat; |
|||
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; |
|||
import com.alibaba.excel.annotation.ExcelProperty; |
|||
import com.inscloudtech.common.annotation.ExcelDictFormat; |
|||
import com.inscloudtech.common.convert.ExcelDictConvert; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
|
|||
/** |
|||
* 兼容可靠性测试系统-API接口兼容性测试工具视图对象 func_car_api |
|||
* |
|||
* @author inscloudtech |
|||
* @date 2024-06-11 |
|||
*/ |
|||
@Data |
|||
@ExcelIgnoreUnannotated |
|||
public class FuncCarApiVo implements Serializable { |
|||
|
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** |
|||
* 主键 |
|||
*/ |
|||
@ExcelProperty(value = "主键") |
|||
private Long operId; |
|||
|
|||
/** |
|||
* api地址 |
|||
*/ |
|||
@ExcelProperty(value = "api地址") |
|||
private String apiUrl; |
|||
|
|||
/** |
|||
* 操作系统 |
|||
*/ |
|||
@ExcelProperty(value = "操作系统") |
|||
private String os; |
|||
|
|||
/** |
|||
* 浏览器 |
|||
*/ |
|||
@ExcelProperty(value = "浏览器") |
|||
private String browser; |
|||
|
|||
/** |
|||
* 设备 |
|||
*/ |
|||
@ExcelProperty(value = "设备") |
|||
private String equipment; |
|||
|
|||
/** |
|||
* 网络环境 |
|||
*/ |
|||
@ExcelProperty(value = "网络环境") |
|||
private String network; |
|||
|
|||
/** |
|||
* 请求参数 |
|||
*/ |
|||
@ExcelProperty(value = "请求参数") |
|||
private String operParam; |
|||
|
|||
/** |
|||
* 返回参数 |
|||
*/ |
|||
@ExcelProperty(value = "返回参数") |
|||
private String jsonResult; |
|||
|
|||
/** |
|||
* 操作状态(0正常 1异常) |
|||
*/ |
|||
@ExcelProperty(value = "操作状态", converter = ExcelDictConvert.class) |
|||
@ExcelDictFormat(readConverterExp = "0=正常,1=异常") |
|||
private Long status; |
|||
|
|||
/** |
|||
* 错误消息 |
|||
*/ |
|||
@ExcelProperty(value = "错误消息") |
|||
private String errorMsg; |
|||
|
|||
/** |
|||
* 操作时间 |
|||
*/ |
|||
@ExcelProperty(value = "操作时间") |
|||
private Date operTime; |
|||
|
|||
/** |
|||
* 单位(秒) |
|||
*/ |
|||
@ExcelProperty(value = "单位", converter = ExcelDictConvert.class) |
|||
@ExcelDictFormat(readConverterExp = "秒=") |
|||
private Long responseTime; |
|||
|
|||
|
|||
} |
Write
Preview
Loading…
Cancel
Save
Reference in new issue