enum.go 1.61 KB
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
package gift_e

import "git.hilo.cn/hilo-common/resource/mysql"

type GiftOperateSceneType mysql.Type

const (
	//匹配声网中场景
	MatchVedioSceneType GiftOperateSceneType = 1
	// 私聊
	PriveChatSceneType GiftOperateSceneType = 2
	//1对1视频
	VideoSceneType GiftOperateSceneType = 3
	//群组
	GroupSceneType GiftOperateSceneType = 4
)

type ResGiftAvatarType = mysql.Type

const (
	SendGiftCpGiftAvatarType    ResGiftAvatarType = 1 //周CP
	MonthlyWealthGiftAvatarType ResGiftAvatarType = 2 //月冠财富榜
	MonthlyCharmGiftAvatarType  ResGiftAvatarType = 3 //月冠魅力榜
	MonthlyPayGiftAvatarType    ResGiftAvatarType = 4 //月冠充值榜
	WeekStarGiftAvatarType      ResGiftAvatarType = 5 //周星榜
	CountryStarGiftAvatarType   ResGiftAvatarType = 6 // 国家之星
)

type GiftPrivateRecordType = mysql.Type

const (
	PrivateRecord    GiftPrivateRecordType = 1
	VideoTradeUnion  GiftPrivateRecordType = 2
	PrivateRecordBag GiftPrivateRecordType = 3
)

type GiftColumnType = uint16

const (
	GiftColumnGift    GiftColumnType = 1 // 礼物
	GiftColumnRomance GiftColumnType = 2 // 浪漫
	GiftColumnCountry GiftColumnType = 3 // 国家
	GiftColumnCustom  GiftColumnType = 4 // 定制
)

type GiftTagType = uint16

const (
	GiftTagMedal      GiftTagType = 1 // 勋章礼物
	GiftTagWeeklyStar GiftTagType = 2 // 周星礼物
)

type GiftEntryType = uint16

const (
	GiftEntryWeeklyStar  GiftEntryType = 1 // 周星活动入口
	GiftEntryWeeklyCp    GiftEntryType = 2 // 周CP活动入口
	GiftEntryMedal       GiftEntryType = 3 // 勋章激活动入口
	GiftEntryCountryStar GiftEntryType = 4 // 国家之星活动入口
)