sys_component.go 709B

123456789101112131415
  1. package models
  2. import (
  3. "time"
  4. )
  5. type SysComponent struct {
  6. ComponentId string `xorm:"not null pk comment('第三方ID') VARCHAR(32)"`
  7. ComponentAppid string `xorm:"comment('第三方平台的appid') VARCHAR(128)"`
  8. ComponentAppsecret string `xorm:"comment('第三方平台的APPSECRET') VARCHAR(255)"`
  9. ComponentVerifyTicket string `xorm:"comment('验证票据') VARCHAR(255)"`
  10. CreateVerifyTicketDate time.Time `xorm:"comment('验证票据到期时间') DATETIME"`
  11. ComponentAccessToken string `xorm:"comment('第三方平台 access_token') VARCHAR(255)"`
  12. AccessTokenExpireDate time.Time `xorm:"comment('第三方平台 access_token到期时间') DATETIME"`
  13. }