fonchain-fiee/pkg/model/cast/media.go
2025-12-15 09:40:46 +08:00

33 lines
572 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
)
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,
}