PostDischargePatientManage/postdischarge-common/src/main/java/com/xinelu/common/entity/AccessToken.java

45 lines
1.4 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.xinelu.common.entity;
import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;
import java.io.Serializable;
/**
* @Description 微信小程序和微信公众号accessToken信息实体类
* @Author 纪寒
* @Date 2024-03-21 14:00:10
* @Version 1.0
*/
@Data
public class AccessToken implements Serializable {
private static final long serialVersionUID = -7751995012730354177L;
/**
* accessToken值
*/
@JSONField(name = "access_token")
private String accessToken;
/**
* access_token有效时间有效时间为7200秒
*/
@JSONField(name = "expires_in")
private String expiresIn;
/**
* 错误状态码
* 40001AppSecret 错误或者 AppSecret 不属于这个小程序,请开发者确认 AppSecret 的正确性
* 40002请确保 grant_type 字段值为 client_credential
* 40013不合法的 AppID请开发者检查 AppID 的正确性,避免异常字符,注意大小写
*/
private Integer errcode;
/**
* 错误状态值
* 40001AppSecret 错误或者 AppSecret 不属于这个小程序,请开发者确认 AppSecret 的正确性
* 40002请确保 grant_type 字段值为 client_credential
* 40013不合法的 AppID请开发者检查 AppID 的正确性,避免异常字符,注意大小写
*/
private String errmsg;
}