WeChatAccessToken.java 606 B

1234567891011121314151617181920212223242526272829303132
  1. package com.cyksj.model.dto;
  2. import com.fasterxml.jackson.annotation.JsonProperty;
  3. import lombok.Data;
  4. import lombok.experimental.Accessors;
  5. /**
  6. * @author chan
  7. * @date 2021-10-10 下午1:58
  8. */
  9. @Data
  10. @Accessors(chain = true)
  11. public class WeChatAccessToken {
  12. /* 参考 https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140183 */
  13. @JsonProperty("access_token")
  14. private String accessToken;
  15. @JsonProperty("expires_in")
  16. private Integer expiresIn;
  17. /**
  18. * 错误码
  19. */
  20. private Integer errcode;
  21. /**
  22. * 错误信息
  23. */
  24. private String errmsg;
  25. }