package service import ( "bp.jydev.jianyu360.cn/BaseService/userCenter/entity" userCenter "bp.jydev.jianyu360.cn/BaseService/userCenter/rpc/usercenter" ) type SubscribeService struct{} //获取用户订阅信息 优先大会员、然后商机管理、然后超级订阅、然后免费订阅 func (this *SubscribeService) GetSubscribeInfo(data *userCenter.UserReq) (map[string]interface{}, string) { info := entity.UserInfoReq{ Mysql: entity.Mysql, Mgo: entity.Mgo, UserId: data.UserId, Types: data.Types, } return info.GetUserInfo() }