yomi接口字段类型处理
This commit is contained in:
parent
988c42cfd2
commit
9136b07be6
@ -1,5 +1,6 @@
|
||||
package com.red.circle.other.app.dto.cmd.party3rd;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
@ -15,5 +16,6 @@ public class YomiBalanceCO {
|
||||
/**
|
||||
* 当前余额
|
||||
*/
|
||||
@JsonProperty("current_balance")
|
||||
private Integer currentBalance;
|
||||
}
|
||||
@ -1,5 +1,6 @@
|
||||
package com.red.circle.other.app.dto.cmd.party3rd;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
@ -20,5 +21,6 @@ public class YomiTokenCO {
|
||||
/**
|
||||
* 过期时间(秒级时间戳)
|
||||
*/
|
||||
@JsonProperty("expire_date")
|
||||
private Long expireDate;
|
||||
}
|
||||
@ -1,5 +1,6 @@
|
||||
package com.red.circle.other.app.dto.cmd.party3rd;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
@ -15,20 +16,24 @@ public class YomiUserInfoCO {
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@JsonProperty("user_id")
|
||||
private String userId;
|
||||
|
||||
/**
|
||||
* 用户昵称
|
||||
*/
|
||||
@JsonProperty("user_name")
|
||||
private String userName;
|
||||
|
||||
/**
|
||||
* 用户头像
|
||||
*/
|
||||
@JsonProperty("user_avatar")
|
||||
private String userAvatar;
|
||||
|
||||
/**
|
||||
* 用户余额
|
||||
*/
|
||||
@JsonProperty("balance")
|
||||
private Integer balance;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user