Class WeChatAppEntity

java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.wechat.app.WeChatAppEntity
All Implemented Interfaces:
Serializable

@Entity public class WeChatAppEntity extends BaseEntity
See Also:
  • Field Details

    • name

      private String name
    • description

      private String description
    • type

      private String type
    • appId

      private String appId
      app_id
    • appSecret

      private String appSecret
    • url

      private String url
    • token

      private String token
    • encodingAesKey

      private String encodingAesKey
    • encryptMode

      private String encryptMode
    • dataType

      private String dataType
      数据格式
    • flowTip

      private String flowTip
      用户关注公众号后发送欢迎语
    • accessToken

      private String accessToken
    • accessTokenExpiresAt

      private LocalDateTime accessTokenExpiresAt
    • workgroupUid

      private String workgroupUid
  • Constructor Details

    • WeChatAppEntity

      public WeChatAppEntity()
  • Method Details

    • setAccessTokenExpiresAt

      public void setAccessTokenExpiresAt()
      设置访问令牌过期时间 根据微信API规定,access_token的有效期通常为7200秒(2小时)