You've already forked FrameTour-BE
删除swagger
This commit is contained in:
@@ -3,8 +3,6 @@ package com.ycwl.basic.utils;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||
import com.ycwl.basic.enums.BizCodeEnum;
|
||||
import io.swagger.annotations.ApiModel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
@@ -15,7 +13,7 @@ import java.io.Serializable;
|
||||
* @param <T>
|
||||
* @version 1.0.0
|
||||
*/
|
||||
@ApiModel(value = "通用返回数据对象")
|
||||
// 通用返回数据对象
|
||||
public class ApiResponse<T> implements Serializable {
|
||||
|
||||
@Serial
|
||||
@@ -24,19 +22,19 @@ public class ApiResponse<T> implements Serializable {
|
||||
/**
|
||||
* 返回CODE码,详见{@link ApiConst.Code}中常量定义
|
||||
*/
|
||||
@ApiModelProperty(value = "状态码")
|
||||
// 状态码
|
||||
private int code;
|
||||
|
||||
/**
|
||||
* 返回message
|
||||
*/
|
||||
@ApiModelProperty(value = "数据描述")
|
||||
// 数据描述
|
||||
private String msg;
|
||||
|
||||
/**
|
||||
* 成功返回数据
|
||||
*/
|
||||
@ApiModelProperty(value = "数据")
|
||||
// 数据
|
||||
private T data;
|
||||
|
||||
public ApiResponse() {
|
||||
|
Reference in New Issue
Block a user