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