All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mxixm.fastboot.weixin.web.WxWebUser Maven / Gradle / Ivy

The newest version!
package com.mxixm.fastboot.weixin.web;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class WxWebUser implements Serializable {

    /**
     * 网页授权接口调用凭证,注意:此access_token与基础支持的access_token不同
     */
    @JsonProperty("access_token")
    private String accessToken;

    /**
     * access_token接口调用凭证超时时间,单位(秒)
     */
    @JsonProperty("expires_in")
    private Integer expiresIn;

    /**
     * 用户刷新access_token
     */
    @JsonProperty("refresh_token")
    private String refreshToken;

    /**
     * 用户唯一标识,请注意,在未关注公众号时,用户访问公众号的网页,也会产生一个用户和公众号唯一的OpenID
     */
    @JsonProperty("openid")
    private String openId;

    /**
     * 用户授权的作用域,使用逗号(,)分隔
     */
    @JsonProperty("scope")
    private String scope;

    @JsonIgnore
    private Date createTime = new Date();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy