cp.go 474 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2
package cp_cv

hujiebin's avatar
hujiebin committed
3 4
import "hilo-user/cv/user_cv"

hujiebin's avatar
hujiebin committed
5 6
// cp信息
type CvCp struct {
hujiebin's avatar
hujiebin committed
7 8 9 10 11 12
	CpInfo          CvCpInfoAll   `json:"cpInfo"`          // cp信息
	CpLevel         CvCpLevel     `json:"cpLevel"`         // cp等级
	MyPrivilegeList []CvPrivilege `json:"myPrivilegeList"` // 等级特权
}

type CvCpInfoAll struct {
hujiebin's avatar
hujiebin committed
13 14
	UserInfo   *user_cv.CvUserBase `json:"userInfo,omitempty"`   // 用户信息
	CpUserInfo *user_cv.CvUserBase `json:"cpUserInfo,omitempty"` // cp用户信息
hujiebin's avatar
hujiebin committed
15
}