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
15 lines
789 B
package models
|
|
|
|
import "time"
|
|
|
|
type WeChatTicket struct {
|
|
Id int64 `json:"id" xorm:"pk autoincr"`
|
|
Url string `json:"url" xorm:"not null comment('路径')"`
|
|
Token string `json:"-" xorm:"not null comment('token')"`
|
|
TokenExpired int64 `json:"ticket_expired" xorm:"not null default(0) comment('token过期时间')"`
|
|
Ticket string `json:"ticket" xorm:"not null comment('ticket')"`
|
|
TicketExpired int64 `json:"ticket_expired" xorm:"not null default(0) comment('ticket 过期时间')"`
|
|
IsDelete bool `json:"is_delete" xorm:"not null default(0) comment('删除')"`
|
|
CreatedAt time.Time `json:"created_at" xorm:"created comment('创建')"`
|
|
UpdatedAt time.Time `json:"updated_at" xorm:"updated comment('更新')"`
|
|
}
|