add facebook账号删除

This commit is contained in:
sk 2025-02-06 14:16:46 +08:00
parent 0b8225b25c
commit 9d8c4d5d69
2 changed files with 14 additions and 12 deletions

View File

@ -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 {

View File

@ -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 {