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