提交 9eda5aaf 编写于 作者: 智布道's avatar 智布道 👁 提交者: Gitee

!11 注解更新、包版本升级

Merge pull request !11 from 燃點/master
...@@ -60,11 +60,11 @@ ...@@ -60,11 +60,11 @@
<maven-surefire-version>2.20</maven-surefire-version> <maven-surefire-version>2.20</maven-surefire-version>
<maven-gpg-version>1.6</maven-gpg-version> <maven-gpg-version>1.6</maven-gpg-version>
<maven.test.skip>false</maven.test.skip> <maven.test.skip>false</maven.test.skip>
<hutool-version>4.6.1</hutool-version> <hutool-version>5.0.5</hutool-version>
<lombok-version>1.18.4</lombok-version> <lombok-version>1.18.10</lombok-version>
<junit-version>4.11</junit-version> <junit-version>4.11</junit-version>
<fastjson-version>1.2.60</fastjson-version> <fastjson-version>1.2.62</fastjson-version>
<alipay-sdk-version>3.7.4.ALL</alipay-sdk-version> <alipay-sdk-version>4.8.10.ALL</alipay-sdk-version>
<jacoco-version>0.8.2</jacoco-version> <jacoco-version>0.8.2</jacoco-version>
</properties> </properties>
......
package me.zhyd.oauth.model; package me.zhyd.oauth.model;
import lombok.Builder; import lombok.*;
import lombok.Getter;
import me.zhyd.oauth.enums.AuthResponseStatus; import me.zhyd.oauth.enums.AuthResponseStatus;
import java.io.Serializable; import java.io.Serializable;
...@@ -12,7 +11,10 @@ import java.io.Serializable; ...@@ -12,7 +11,10 @@ import java.io.Serializable;
* @since 1.8 * @since 1.8
*/ */
@Getter @Getter
@Setter
@Builder @Builder
@NoArgsConstructor
@AllArgsConstructor
public class AuthResponse<T> implements Serializable { public class AuthResponse<T> implements Serializable {
/** /**
* 授权响应状态码 * 授权响应状态码
......
package me.zhyd.oauth.model; package me.zhyd.oauth.model;
import lombok.Builder; import lombok.*;
import lombok.Getter;
import lombok.Setter;
import java.io.Serializable; import java.io.Serializable;
/** /**
...@@ -14,6 +13,8 @@ import java.io.Serializable; ...@@ -14,6 +13,8 @@ import java.io.Serializable;
@Getter @Getter
@Setter @Setter
@Builder @Builder
@NoArgsConstructor
@AllArgsConstructor
public class AuthToken implements Serializable { public class AuthToken implements Serializable {
private String accessToken; private String accessToken;
private int expireIn; private int expireIn;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册