修改账号表模型
This commit is contained in:
@@ -3,19 +3,24 @@ package models
|
|||||||
import "github.com/go-rod/rod/lib/proto"
|
import "github.com/go-rod/rod/lib/proto"
|
||||||
|
|
||||||
type TwitterAccount struct {
|
type TwitterAccount struct {
|
||||||
ID int64 `gorm:"id;primary_key;auto_increment"`
|
ID int64 `gorm:"id;primary_key;auto_increment"`
|
||||||
Name string `gorm:"name"`
|
Uid string `gorm:"uid"`
|
||||||
Email string `gorm:"email"`
|
Name string `gorm:"name"`
|
||||||
Password string `gorm:"password"`
|
Email string `gorm:"email"`
|
||||||
Birthday string `gorm:"birthday"`
|
Password string `gorm:"password"`
|
||||||
Token string `gorm:"token"`
|
EmailPassword string `gorm:"email_password"`
|
||||||
Fa2 string `gorm:"fa2"`
|
Birthday string `gorm:"birthday"`
|
||||||
Cookies []*proto.NetworkCookieParam `gorm:"img;type:json;serializer:json"`
|
Token string `gorm:"token"`
|
||||||
Status string `gorm:"status"`
|
Fa2 string `gorm:"fa2"`
|
||||||
LoginStatus string `gorm:"login_status"`
|
Cookies []*proto.NetworkCookieParam `gorm:"img;type:json;serializer:json"`
|
||||||
Proxy string `gorm:"proxy"`
|
Type string `gorm:"type"`
|
||||||
UpdateTime int64 `gorm:"update_time"`
|
Status string `gorm:"status"`
|
||||||
CreateTime int64 `gorm:"create_time"`
|
LoginStatus string `gorm:"login_status"`
|
||||||
|
Proxy string `gorm:"proxy"`
|
||||||
|
BrowserId string `gorm:"browser_id"`
|
||||||
|
BrowserUrl string `gorm:"browser_url"`
|
||||||
|
UpdateTime int64 `gorm:"update_time"`
|
||||||
|
CreateTime int64 `gorm:"create_time"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// 实现 TableName 方法指定表名
|
// 实现 TableName 方法指定表名
|
||||||
|
|||||||
Reference in New Issue
Block a user