疯狂的狮子Li
2023-06-28 b0909dbe3ddd7fb06180704c241b4cebabff6665
ruoyi-admin/src/main/java/org/dromara/web/domain/vo/LoginVo.java
@@ -1,5 +1,6 @@
package org.dromara.web.domain.vo;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
/**
@@ -10,6 +11,44 @@
@Data
public class LoginVo {
    private String token;
    /**
     * 授权令牌
     */
    @JsonProperty("access_token")
    private String accessToken;
    /**
     * 刷新令牌
     */
    @JsonProperty("refresh_token")
    private String refreshToken;
    /**
     * 授权令牌 access_token 的有效期
     */
    @JsonProperty("expire_in")
    private Long expireIn;
    /**
     * 刷新令牌 refresh_token 的有效期
     */
    @JsonProperty("refresh_expire_in")
    private Long refreshExpireIn;
    /**
     * 应用id
     */
    @JsonProperty("client_id")
    private String clientId;
    /**
     * 令牌权限
     */
    private String scope;
    /**
     * 用户 openid
     */
    private String openid;
}