mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-10 18:30:02 +08:00
update 第三方平台 CommonResult 参数变大写
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
package com.jsowell.thirdparty.lianlian.common;
|
package com.jsowell.thirdparty.lianlian.common;
|
||||||
|
|
||||||
|
|
||||||
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||||
import com.jsowell.thirdparty.lianlian.common.enums.ResultCode;
|
import com.jsowell.thirdparty.lianlian.common.enums.ResultCode;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -13,22 +14,25 @@ public class CommonResult<T> {
|
|||||||
/**
|
/**
|
||||||
* 状态码
|
* 状态码
|
||||||
*/
|
*/
|
||||||
|
@JsonProperty(value = "Ret")
|
||||||
private long ret;
|
private long ret;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 响应信息
|
* 响应信息
|
||||||
*/
|
*/
|
||||||
|
@JsonProperty(value = "Msg")
|
||||||
private String msg;
|
private String msg;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 返回数据
|
* 返回数据
|
||||||
*/
|
*/
|
||||||
|
@JsonProperty(value = "Data")
|
||||||
private T data;
|
private T data;
|
||||||
|
|
||||||
|
@JsonProperty(value = "Sig")
|
||||||
private String sig;
|
private String sig;
|
||||||
|
|
||||||
protected CommonResult() {
|
protected CommonResult() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected CommonResult(long ret, String msg, T data, String sig) {
|
protected CommonResult(long ret, String msg, T data, String sig) {
|
||||||
|
|||||||
Reference in New Issue
Block a user