fonchain-fiee/pkg/model/cast/media.go
2026-01-04 15:04:09 +08:00

34 lines
691 B
Go

package cast
type BalanceTypeEnum int32
type SyncAsProfileReq struct {
ID uint64 `json:"id"`
}
// 定义枚举值
const (
BalanceTypeAccountValue BalanceTypeEnum = 1 //账号
BalanceTypeImageValue BalanceTypeEnum = 2 //图文
BalanceTypeVideoValue BalanceTypeEnum = 3 //视频
BalanceTypeDataValue BalanceTypeEnum = 4 //数据分析
BalanceTypeCompetitiveValue BalanceTypeEnum = 5 //竞品数
)
var PlatformNameKv = map[uint32]string{
1: "tiktok",
3: "instagram",
4: "DM",
}
var NamePlatformIDKv = map[string]uint32{
"tiktok": 1,
"instagram": 3,
"DM": 4,
}
var PlatformIDStrKv = map[string]uint8{
"TIKTOK": 1,
"INS": 2,
"DM": 4,
}