add facebook账号删除
This commit is contained in:
parent
0b8225b25c
commit
9d8c4d5d69
|
@ -35,17 +35,19 @@ type AccountLog struct {
|
|||
}
|
||||
|
||||
type AccountLogColumns struct {
|
||||
ID string
|
||||
Platform string
|
||||
SnId string
|
||||
FaceBookId string
|
||||
ID string
|
||||
Platform string
|
||||
SnId string
|
||||
AccountType string
|
||||
FaceBookId string
|
||||
}
|
||||
|
||||
var accountLogColumns = &AccountLogColumns{
|
||||
ID: "_id",
|
||||
Platform: "Platform",
|
||||
SnId: "SnId",
|
||||
FaceBookId: "FaceBookId",
|
||||
ID: "_id",
|
||||
Platform: "platform",
|
||||
SnId: "snId",
|
||||
AccountType: "accounttype",
|
||||
FaceBookId: "facebookid",
|
||||
}
|
||||
|
||||
func NewAccountLog() *AccountLog {
|
||||
|
|
|
@ -13,10 +13,10 @@ import (
|
|||
//go:generate mongoctl -model-dir=. -model-names=AccountLog -dao-dir=../dao/
|
||||
type AccountLog struct {
|
||||
ID primitive.ObjectID `bson:"_id" gen:"autoFill"`
|
||||
Platform string `json:"platform"`
|
||||
SnId int32 `json:"snId"`
|
||||
AccountType int32 `json:"accountType"`
|
||||
FaceBookId string `json:"faceBookId"`
|
||||
Platform string `bson:"platform"`
|
||||
SnId int32 `bson:"snId"`
|
||||
AccountType int32 `bson:"accounttype"`
|
||||
FaceBookId string `bson:"facebookid"`
|
||||
}
|
||||
|
||||
func (a *AccountLog) DatabaseName() string {
|
||||
|
|
Loading…
Reference in New Issue