互动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
789 B

5 years ago
  1. package models
  2. import "time"
  3. type WeChatTicket struct {
  4. Id int64 `json:"id" xorm:"pk autoincr"`
  5. Url string `json:"url" xorm:"not null comment('路径')"`
  6. Token string `json:"-" xorm:"not null comment('token')"`
  7. TokenExpired int64 `json:"ticket_expired" xorm:"not null default(0) comment('token过期时间')"`
  8. Ticket string `json:"ticket" xorm:"not null comment('ticket')"`
  9. TicketExpired int64 `json:"ticket_expired" xorm:"not null default(0) comment('ticket 过期时间')"`
  10. IsDelete bool `json:"is_delete" xorm:"not null default(0) comment('删除')"`
  11. CreatedAt time.Time `json:"created_at" xorm:"created comment('创建')"`
  12. UpdatedAt time.Time `json:"updated_at" xorm:"updated comment('更新')"`
  13. }