star.go 428 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package groupPower_e

type GroupPowerStarType int

const (
	GroupPowerStarTypeFamous GroupPowerStarType = 1 // 送礼
	GroupPowerStarTypeActive GroupPowerStarType = 2 // 活跃
	GroupPowerStarTypeCharm  GroupPowerStarType = 3 // 收礼
)

func IsGroupPowerStarType(t GroupPowerStarType) bool {
	if t != GroupPowerStarTypeFamous && t != GroupPowerStarTypeActive && t != GroupPowerStarTypeCharm {
		return false
	}
	return true
}