user.go 451 Bytes
Newer Older
chenweijian's avatar
chenweijian 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
package user_e

import "hilo-user/resource/mysql"

type ThirdPartyType = mysql.Type

const (
	Phone    ThirdPartyType = 1
	Google   ThirdPartyType = 2
	Facebook ThirdPartyType = 3
	Apple    ThirdPartyType = 4
	WeChat   ThirdPartyType = 5
)

type UserStatus mysql.Type

const (
	//正常
	UserStatusNormal UserStatus = 1
	//冻结
	UserStatusFrozen UserStatus = 2
)

type UserVipType = mysql.Type

const (
	// 男
	UserMan = 1
	// 女
	UserWomen = 2
)