Commit 83f8b83e authored by yanzg's avatar yanzg

常规BUG的修改

parent 307737c5
......@@ -2,6 +2,7 @@ package com.yanzuoguang.util.vo;
import com.yanzuoguang.util.contants.ResultConstants;
import com.yanzuoguang.util.helper.StringHelper;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
......@@ -9,6 +10,7 @@ import io.swagger.annotations.ApiModelProperty;
*
* @author 颜佐光
*/
@ApiModel(value = "后台通用返回接口")
public class ResponseResult<T> extends BaseVo {
private static final long serialVersionUID = -508702000019378459L;
......@@ -16,13 +18,13 @@ public class ResponseResult<T> extends BaseVo {
/**
* 请求状态码
*/
@ApiModelProperty(value = "状态", notes = "00表示成功,其他状态表示失败,具体含义参照具体实现接口", required = true, example = "00")
@ApiModelProperty(value = "返回状态", notes = "00表示成功,其他状态表示失败,具体含义参照具体实现接口", required = true, example = "00")
private String code;
/**
* 服务消息
*/
@ApiModelProperty(value = "消息", notes = "提示错误消息等等", required = true, example = "查询成功")
@ApiModelProperty(value = "错误消息", notes = "提示错误消息等等", required = true, example = "查询成功")
private String message;
/**
......@@ -34,7 +36,7 @@ public class ResponseResult<T> extends BaseVo {
/**
* 数据源,用于显示异常数据
*/
@ApiModelProperty(value = "异常数据", notes = "当抛出异常时的数据,通常和code进行组合", required = true)
@ApiModelProperty(value = "异常数据", notes = "当抛出异常时的数据,通常和code进行组合", required = true)
private Object target;
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment