Browse Source

wip:增加免费用户省份订阅包

wangkaiyue 1 year ago
parent
commit
2e00df39f6
3 changed files with 1573 additions and 0 deletions
  1. 1370 0
      rpc/pb/powerCheck.pb.go
  2. 150 0
      rpc/pb/powerCheck_grpc.pb.go
  3. 53 0
      rpc/powercheck/powercheck.go

+ 1370 - 0
rpc/pb/powerCheck.pb.go

@@ -0,0 +1,1370 @@
+// Code generated by protoc-gen-go. DO NOT EDIT.
+// versions:
+// 	protoc-gen-go v1.30.0
+// 	protoc        v3.21.12
+// source: powerCheck.proto
+
+package pb
+
+import (
+	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
+	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
+	reflect "reflect"
+	sync "sync"
+)
+
+const (
+	// Verify that this generated code is sufficiently up-to-date.
+	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
+	// Verify that runtime/protoimpl is sufficiently up-to-date.
+	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
+)
+
+// 公共返回 status
+type PowerCheckResp struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	ErrorMsg  string `protobuf:"bytes,1,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
+	ErrorCode int64  `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
+	Status    int64  `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
+}
+
+func (x *PowerCheckResp) Reset() {
+	*x = PowerCheckResp{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_powerCheck_proto_msgTypes[0]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *PowerCheckResp) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*PowerCheckResp) ProtoMessage() {}
+
+func (x *PowerCheckResp) ProtoReflect() protoreflect.Message {
+	mi := &file_powerCheck_proto_msgTypes[0]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use PowerCheckResp.ProtoReflect.Descriptor instead.
+func (*PowerCheckResp) Descriptor() ([]byte, []int) {
+	return file_powerCheck_proto_rawDescGZIP(), []int{0}
+}
+
+func (x *PowerCheckResp) GetErrorMsg() string {
+	if x != nil {
+		return x.ErrorMsg
+	}
+	return ""
+}
+
+func (x *PowerCheckResp) GetErrorCode() int64 {
+	if x != nil {
+		return x.ErrorCode
+	}
+	return 0
+}
+
+func (x *PowerCheckResp) GetStatus() int64 {
+	if x != nil {
+		return x.Status
+	}
+	return 0
+}
+
+type CheckReq struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	Appid        string `protobuf:"bytes,1,opt,name=appid,proto3" json:"appid,omitempty"`
+	Userid       string `protobuf:"bytes,2,opt,name=userid,proto3" json:"userid,omitempty"`              //mongodb用户id
+	BaseUserId   int64  `protobuf:"varint,3,opt,name=baseUserId,proto3" json:"baseUserId,omitempty"`     //base_user用户id
+	AccountId    int64  `protobuf:"varint,4,opt,name=accountId,proto3" json:"accountId,omitempty"`       //账户id
+	EntId        int64  `protobuf:"varint,5,opt,name=entId,proto3" json:"entId,omitempty"`               //
+	PositionType int64  `protobuf:"varint,6,opt,name=positionType,proto3" json:"positionType,omitempty"` //职位类型 0个人 1企业
+	PositionId   int64  `protobuf:"varint,7,opt,name=positionId,proto3" json:"positionId,omitempty"`     //职位id
+}
+
+func (x *CheckReq) Reset() {
+	*x = CheckReq{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_powerCheck_proto_msgTypes[1]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *CheckReq) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CheckReq) ProtoMessage() {}
+
+func (x *CheckReq) ProtoReflect() protoreflect.Message {
+	mi := &file_powerCheck_proto_msgTypes[1]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use CheckReq.ProtoReflect.Descriptor instead.
+func (*CheckReq) Descriptor() ([]byte, []int) {
+	return file_powerCheck_proto_rawDescGZIP(), []int{1}
+}
+
+func (x *CheckReq) GetAppid() string {
+	if x != nil {
+		return x.Appid
+	}
+	return ""
+}
+
+func (x *CheckReq) GetUserid() string {
+	if x != nil {
+		return x.Userid
+	}
+	return ""
+}
+
+func (x *CheckReq) GetBaseUserId() int64 {
+	if x != nil {
+		return x.BaseUserId
+	}
+	return 0
+}
+
+func (x *CheckReq) GetAccountId() int64 {
+	if x != nil {
+		return x.AccountId
+	}
+	return 0
+}
+
+func (x *CheckReq) GetEntId() int64 {
+	if x != nil {
+		return x.EntId
+	}
+	return 0
+}
+
+func (x *CheckReq) GetPositionType() int64 {
+	if x != nil {
+		return x.PositionType
+	}
+	return 0
+}
+
+func (x *CheckReq) GetPositionId() int64 {
+	if x != nil {
+		return x.PositionId
+	}
+	return 0
+}
+
+type CheckResp struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	ErrorMsg  string    `protobuf:"bytes,1,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`
+	ErrorCode int64     `protobuf:"varint,2,opt,name=error_code,json=errorCode,proto3" json:"error_code,omitempty"`
+	Vip       *Vip      `protobuf:"bytes,3,opt,name=vip,proto3" json:"vip,omitempty"`
+	Member    *Member   `protobuf:"bytes,4,opt,name=member,proto3" json:"member,omitempty"`
+	Entniche  *Entniche `protobuf:"bytes,5,opt,name=entniche,proto3" json:"entniche,omitempty"`
+	Ent       *Ent      `protobuf:"bytes,6,opt,name=ent,proto3" json:"ent,omitempty"`
+	Free      *Free     `protobuf:"bytes,7,opt,name=free,proto3" json:"free,omitempty"`
+}
+
+func (x *CheckResp) Reset() {
+	*x = CheckResp{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_powerCheck_proto_msgTypes[2]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *CheckResp) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*CheckResp) ProtoMessage() {}
+
+func (x *CheckResp) ProtoReflect() protoreflect.Message {
+	mi := &file_powerCheck_proto_msgTypes[2]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use CheckResp.ProtoReflect.Descriptor instead.
+func (*CheckResp) Descriptor() ([]byte, []int) {
+	return file_powerCheck_proto_rawDescGZIP(), []int{2}
+}
+
+func (x *CheckResp) GetErrorMsg() string {
+	if x != nil {
+		return x.ErrorMsg
+	}
+	return ""
+}
+
+func (x *CheckResp) GetErrorCode() int64 {
+	if x != nil {
+		return x.ErrorCode
+	}
+	return 0
+}
+
+func (x *CheckResp) GetVip() *Vip {
+	if x != nil {
+		return x.Vip
+	}
+	return nil
+}
+
+func (x *CheckResp) GetMember() *Member {
+	if x != nil {
+		return x.Member
+	}
+	return nil
+}
+
+func (x *CheckResp) GetEntniche() *Entniche {
+	if x != nil {
+		return x.Entniche
+	}
+	return nil
+}
+
+func (x *CheckResp) GetEnt() *Ent {
+	if x != nil {
+		return x.Ent
+	}
+	return nil
+}
+
+func (x *CheckResp) GetFree() *Free {
+	if x != nil {
+		return x.Free
+	}
+	return nil
+}
+
+// 超级订阅相关
+type Vip struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	Status          int64   `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`                   //超级订阅状态
+	StartTime       int64   `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"`             //超级订阅开始时间戳
+	EndTime         int64   `protobuf:"varint,3,opt,name=endTime,proto3" json:"endTime,omitempty"`                 //超级订阅结束时间戳
+	Upgrade         int64   `protobuf:"varint,4,opt,name=upgrade,proto3" json:"upgrade,omitempty"`                 //是否是升级版超级订阅;0否 1是
+	Areacount       int64   `protobuf:"varint,5,opt,name=areacount,proto3" json:"areacount,omitempty"`             //购买省份数量; -1全部
+	Buyerclasscount int64   `protobuf:"varint,6,opt,name=buyerclasscount,proto3" json:"buyerclasscount,omitempty"` //购买采购单位数量; -1全部
+	MaxKeyLength    int64   `protobuf:"varint,7,opt,name=maxKeyLength,proto3" json:"maxKeyLength,omitempty"`       //最大关键词数量限制
+	PowerType       int64   `protobuf:"varint,8,opt,name=powerType,proto3" json:"powerType,omitempty"`             //超级订阅权益类型;0无 1个人 2企业
+	VipPower        int64   `protobuf:"varint,9,opt,name=vipPower,proto3" json:"vipPower,omitempty"`               //是否分配了超级订阅;0:否 1:是
+	FileNum         int64   `protobuf:"varint,10,opt,name=fileNum,proto3" json:"fileNum,omitempty"`                //超级订阅用户附件下载包的剩余次数
+	HasKey          bool    `protobuf:"varint,11,opt,name=hasKey,proto3" json:"hasKey,omitempty"`                  //是否有关键词
+	NewCitys        []int64 `protobuf:"varint,12,rep,packed,name=newCitys,proto3" json:"newCitys,omitempty"`       //城市数量
+	Original        int64   `protobuf:"varint,13,opt,name=original,proto3" json:"original,omitempty"`              //超级订阅用户查看原文次数/每月
+}
+
+func (x *Vip) Reset() {
+	*x = Vip{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_powerCheck_proto_msgTypes[3]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *Vip) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Vip) ProtoMessage() {}
+
+func (x *Vip) ProtoReflect() protoreflect.Message {
+	mi := &file_powerCheck_proto_msgTypes[3]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use Vip.ProtoReflect.Descriptor instead.
+func (*Vip) Descriptor() ([]byte, []int) {
+	return file_powerCheck_proto_rawDescGZIP(), []int{3}
+}
+
+func (x *Vip) GetStatus() int64 {
+	if x != nil {
+		return x.Status
+	}
+	return 0
+}
+
+func (x *Vip) GetStartTime() int64 {
+	if x != nil {
+		return x.StartTime
+	}
+	return 0
+}
+
+func (x *Vip) GetEndTime() int64 {
+	if x != nil {
+		return x.EndTime
+	}
+	return 0
+}
+
+func (x *Vip) GetUpgrade() int64 {
+	if x != nil {
+		return x.Upgrade
+	}
+	return 0
+}
+
+func (x *Vip) GetAreacount() int64 {
+	if x != nil {
+		return x.Areacount
+	}
+	return 0
+}
+
+func (x *Vip) GetBuyerclasscount() int64 {
+	if x != nil {
+		return x.Buyerclasscount
+	}
+	return 0
+}
+
+func (x *Vip) GetMaxKeyLength() int64 {
+	if x != nil {
+		return x.MaxKeyLength
+	}
+	return 0
+}
+
+func (x *Vip) GetPowerType() int64 {
+	if x != nil {
+		return x.PowerType
+	}
+	return 0
+}
+
+func (x *Vip) GetVipPower() int64 {
+	if x != nil {
+		return x.VipPower
+	}
+	return 0
+}
+
+func (x *Vip) GetFileNum() int64 {
+	if x != nil {
+		return x.FileNum
+	}
+	return 0
+}
+
+func (x *Vip) GetHasKey() bool {
+	if x != nil {
+		return x.HasKey
+	}
+	return false
+}
+
+func (x *Vip) GetNewCitys() []int64 {
+	if x != nil {
+		return x.NewCitys
+	}
+	return nil
+}
+
+func (x *Vip) GetOriginal() int64 {
+	if x != nil {
+		return x.Original
+	}
+	return 0
+}
+
+// 大会员相关
+type Member struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	Status          int64   `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`                          //大会员状态
+	StartTime       int64   `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"`                    //开始时间戳
+	EndTime         int64   `protobuf:"varint,3,opt,name=endTime,proto3" json:"endTime,omitempty"`                        //结束时间戳
+	MemberName      string  `protobuf:"bytes,4,opt,name=memberName,proto3" json:"memberName,omitempty"`                   //大会员版本名称
+	MemberPowerList []int64 `protobuf:"varint,5,rep,packed,name=memberPowerList,proto3" json:"memberPowerList,omitempty"` //大会员权益数组
+	IsMemberTrial   int64   `protobuf:"varint,6,opt,name=isMemberTrial,proto3" json:"isMemberTrial,omitempty"`            //是否是大会员试用;0否 1是
+	PowerType       int64   `protobuf:"varint,7,opt,name=powerType,proto3" json:"powerType,omitempty"`                    //大会员权益类型;0无 1个人 2企业
+	MemberPower     int64   `protobuf:"varint,8,opt,name=memberPower,proto3" json:"memberPower,omitempty"`                //是否分配了大会员;0:否 1:是
+	IsSubCount      int64   `protobuf:"varint,9,opt,name=isSubCount,proto3" json:"isSubCount,omitempty"`                  //是否是子账号 0否 1是
+	MaxKeyLength    int64   `protobuf:"varint,10,opt,name=maxKeyLength,proto3" json:"maxKeyLength,omitempty"`             //最大关键词数量限制
+	EntNum          int64   `protobuf:"varint,11,opt,name=entNum,proto3" json:"entNum,omitempty"`                         //企业情报监控 企业中标动态数量
+	ProNum          int64   `protobuf:"varint,12,opt,name=proNum,proto3" json:"proNum,omitempty"`                         //项目进度监控数量
+	DailyNum        int64   `protobuf:"varint,13,opt,name=dailyNum,proto3" json:"dailyNum,omitempty"`                     //结构化数据(单日限量包数量)
+	Customers       int64   `protobuf:"varint,14,opt,name=customers,proto3" json:"customers,omitempty"`                   //潜在客户数量
+	Pid             string  `protobuf:"bytes,15,opt,name=pid,proto3" json:"pid,omitempty"`                                //主帐号id
+	Used            bool    `protobuf:"varint,16,opt,name=used,proto3" json:"used,omitempty"`                             //是否使用过大会员初始化
+	HasKey          bool    `protobuf:"varint,17,opt,name=hasKey,proto3" json:"hasKey,omitempty"`                         //是否有关键词
+	Original        int64   `protobuf:"varint,18,opt,name=original,proto3" json:"original,omitempty"`                     //大会员用户查看原文次数/每月
+}
+
+func (x *Member) Reset() {
+	*x = Member{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_powerCheck_proto_msgTypes[4]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *Member) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Member) ProtoMessage() {}
+
+func (x *Member) ProtoReflect() protoreflect.Message {
+	mi := &file_powerCheck_proto_msgTypes[4]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use Member.ProtoReflect.Descriptor instead.
+func (*Member) Descriptor() ([]byte, []int) {
+	return file_powerCheck_proto_rawDescGZIP(), []int{4}
+}
+
+func (x *Member) GetStatus() int64 {
+	if x != nil {
+		return x.Status
+	}
+	return 0
+}
+
+func (x *Member) GetStartTime() int64 {
+	if x != nil {
+		return x.StartTime
+	}
+	return 0
+}
+
+func (x *Member) GetEndTime() int64 {
+	if x != nil {
+		return x.EndTime
+	}
+	return 0
+}
+
+func (x *Member) GetMemberName() string {
+	if x != nil {
+		return x.MemberName
+	}
+	return ""
+}
+
+func (x *Member) GetMemberPowerList() []int64 {
+	if x != nil {
+		return x.MemberPowerList
+	}
+	return nil
+}
+
+func (x *Member) GetIsMemberTrial() int64 {
+	if x != nil {
+		return x.IsMemberTrial
+	}
+	return 0
+}
+
+func (x *Member) GetPowerType() int64 {
+	if x != nil {
+		return x.PowerType
+	}
+	return 0
+}
+
+func (x *Member) GetMemberPower() int64 {
+	if x != nil {
+		return x.MemberPower
+	}
+	return 0
+}
+
+func (x *Member) GetIsSubCount() int64 {
+	if x != nil {
+		return x.IsSubCount
+	}
+	return 0
+}
+
+func (x *Member) GetMaxKeyLength() int64 {
+	if x != nil {
+		return x.MaxKeyLength
+	}
+	return 0
+}
+
+func (x *Member) GetEntNum() int64 {
+	if x != nil {
+		return x.EntNum
+	}
+	return 0
+}
+
+func (x *Member) GetProNum() int64 {
+	if x != nil {
+		return x.ProNum
+	}
+	return 0
+}
+
+func (x *Member) GetDailyNum() int64 {
+	if x != nil {
+		return x.DailyNum
+	}
+	return 0
+}
+
+func (x *Member) GetCustomers() int64 {
+	if x != nil {
+		return x.Customers
+	}
+	return 0
+}
+
+func (x *Member) GetPid() string {
+	if x != nil {
+		return x.Pid
+	}
+	return ""
+}
+
+func (x *Member) GetUsed() bool {
+	if x != nil {
+		return x.Used
+	}
+	return false
+}
+
+func (x *Member) GetHasKey() bool {
+	if x != nil {
+		return x.HasKey
+	}
+	return false
+}
+
+func (x *Member) GetOriginal() int64 {
+	if x != nil {
+		return x.Original
+	}
+	return 0
+}
+
+// 商机管理相关
+type Entniche struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	Status      int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`           //商机管理相关
+	StartTime   int64 `protobuf:"varint,2,opt,name=startTime,proto3" json:"startTime,omitempty"`     //开始时间戳
+	EndTime     int64 `protobuf:"varint,3,opt,name=endTime,proto3" json:"endTime,omitempty"`         //结束时间戳
+	PowerSource int64 `protobuf:"varint,4,opt,name=powerSource,proto3" json:"powerSource,omitempty"` //商机管理权限开通来源;1:赠送的商机管理服务
+	IsEntPower  int64 `protobuf:"varint,5,opt,name=isEntPower,proto3" json:"isEntPower,omitempty"`   //是否分配权限;0:未分配,1:已分配
+	IsNew       int64 `protobuf:"varint,6,opt,name=isNew,proto3" json:"isNew,omitempty"`             //是否是新版商机管理 0不是 1是
+	HasKey      bool  `protobuf:"varint,7,opt,name=hasKey,proto3" json:"hasKey,omitempty"`           //是否有关键词
+	Model       int64 `protobuf:"varint,8,opt,name=model,proto3" json:"model,omitempty"`             // 1-统一订阅,2-个人订阅
+	Original    int64 `protobuf:"varint,9,opt,name=original,proto3" json:"original,omitempty"`       //商机管理用户查看原文次数/每月
+}
+
+func (x *Entniche) Reset() {
+	*x = Entniche{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_powerCheck_proto_msgTypes[5]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *Entniche) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Entniche) ProtoMessage() {}
+
+func (x *Entniche) ProtoReflect() protoreflect.Message {
+	mi := &file_powerCheck_proto_msgTypes[5]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use Entniche.ProtoReflect.Descriptor instead.
+func (*Entniche) Descriptor() ([]byte, []int) {
+	return file_powerCheck_proto_rawDescGZIP(), []int{5}
+}
+
+func (x *Entniche) GetStatus() int64 {
+	if x != nil {
+		return x.Status
+	}
+	return 0
+}
+
+func (x *Entniche) GetStartTime() int64 {
+	if x != nil {
+		return x.StartTime
+	}
+	return 0
+}
+
+func (x *Entniche) GetEndTime() int64 {
+	if x != nil {
+		return x.EndTime
+	}
+	return 0
+}
+
+func (x *Entniche) GetPowerSource() int64 {
+	if x != nil {
+		return x.PowerSource
+	}
+	return 0
+}
+
+func (x *Entniche) GetIsEntPower() int64 {
+	if x != nil {
+		return x.IsEntPower
+	}
+	return 0
+}
+
+func (x *Entniche) GetIsNew() int64 {
+	if x != nil {
+		return x.IsNew
+	}
+	return 0
+}
+
+func (x *Entniche) GetHasKey() bool {
+	if x != nil {
+		return x.HasKey
+	}
+	return false
+}
+
+func (x *Entniche) GetModel() int64 {
+	if x != nil {
+		return x.Model
+	}
+	return 0
+}
+
+func (x *Entniche) GetOriginal() int64 {
+	if x != nil {
+		return x.Original
+	}
+	return 0
+}
+
+// 企业相关
+type Ent struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	Name                string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                //企业名称
+	EntRoleId           int64  `protobuf:"varint,2,opt,name=entRoleId,proto3" json:"entRoleId,omitempty"`                     //商机管理角色:1:企业管理员;2:部门管理员
+	EntAuthStatus       int64  `protobuf:"varint,3,opt,name=entAuthStatus,proto3" json:"entAuthStatus,omitempty"`             //企业是否认证 -1 未通过,0 未认证,1 已认证
+	EntAuthReason       string `protobuf:"bytes,4,opt,name=entAuthReason,proto3" json:"entAuthReason,omitempty"`              //认证不通过原因
+	EntSubscribe        int64  `protobuf:"varint,5,opt,name=entSubscribe,proto3" json:"entSubscribe,omitempty"`               //是否有企业订阅权限;0:否 1:是
+	EntSubscribeManager int64  `protobuf:"varint,6,opt,name=entSubscribeManager,proto3" json:"entSubscribeManager,omitempty"` //是否有企业订阅管理权限;0:否 1:是
+	PowerSource         int64  `protobuf:"varint,7,opt,name=powerSource,proto3" json:"powerSource,omitempty"`                 //商机管理权限开通来源;1:赠送的商机管理服务
+	DeptSubscribe       int64  `protobuf:"varint,8,opt,name=deptSubscribe,proto3" json:"deptSubscribe,omitempty"`             //各部门是否可以自行订阅;0:否 1:是
+	PrivateGD           bool   `protobuf:"varint,9,opt,name=privateGD,proto3" json:"privateGD,omitempty"`                     //广东移动DICT 用户,用于查看画像
+	BuyVip              int64  `protobuf:"varint,10,opt,name=buyVip,proto3" json:"buyVip,omitempty"`                          //是否购买超级订阅
+	BuyMember           int64  `protobuf:"varint,11,opt,name=buyMember,proto3" json:"buyMember,omitempty"`                    //是否购买大会员
+}
+
+func (x *Ent) Reset() {
+	*x = Ent{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_powerCheck_proto_msgTypes[6]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *Ent) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Ent) ProtoMessage() {}
+
+func (x *Ent) ProtoReflect() protoreflect.Message {
+	mi := &file_powerCheck_proto_msgTypes[6]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use Ent.ProtoReflect.Descriptor instead.
+func (*Ent) Descriptor() ([]byte, []int) {
+	return file_powerCheck_proto_rawDescGZIP(), []int{6}
+}
+
+func (x *Ent) GetName() string {
+	if x != nil {
+		return x.Name
+	}
+	return ""
+}
+
+func (x *Ent) GetEntRoleId() int64 {
+	if x != nil {
+		return x.EntRoleId
+	}
+	return 0
+}
+
+func (x *Ent) GetEntAuthStatus() int64 {
+	if x != nil {
+		return x.EntAuthStatus
+	}
+	return 0
+}
+
+func (x *Ent) GetEntAuthReason() string {
+	if x != nil {
+		return x.EntAuthReason
+	}
+	return ""
+}
+
+func (x *Ent) GetEntSubscribe() int64 {
+	if x != nil {
+		return x.EntSubscribe
+	}
+	return 0
+}
+
+func (x *Ent) GetEntSubscribeManager() int64 {
+	if x != nil {
+		return x.EntSubscribeManager
+	}
+	return 0
+}
+
+func (x *Ent) GetPowerSource() int64 {
+	if x != nil {
+		return x.PowerSource
+	}
+	return 0
+}
+
+func (x *Ent) GetDeptSubscribe() int64 {
+	if x != nil {
+		return x.DeptSubscribe
+	}
+	return 0
+}
+
+func (x *Ent) GetPrivateGD() bool {
+	if x != nil {
+		return x.PrivateGD
+	}
+	return false
+}
+
+func (x *Ent) GetBuyVip() int64 {
+	if x != nil {
+		return x.BuyVip
+	}
+	return 0
+}
+
+func (x *Ent) GetBuyMember() int64 {
+	if x != nil {
+		return x.BuyMember
+	}
+	return 0
+}
+
+// 免费权益相关
+type Free struct {
+	state         protoimpl.MessageState
+	sizeCache     protoimpl.SizeCache
+	unknownFields protoimpl.UnknownFields
+
+	IsFree                bool   `protobuf:"varint,1,opt,name=isFree,proto3" json:"isFree,omitempty"`               //是否是免费用户
+	FreeHasKey            bool   `protobuf:"varint,2,opt,name=freeHasKey,proto3" json:"freeHasKey,omitempty"`       //免费用户是否有关键词
+	FreeEntPort           int64  `protobuf:"varint,3,opt,name=freeEntPort,proto3" json:"freeEntPort,omitempty"`     //免费用户可查看企业画像次数
+	FreeBuyerPort         int64  `protobuf:"varint,4,opt,name=freeBuyerPort,proto3" json:"freeBuyerPort,omitempty"` //免费用户可查看采购单位画像次数
+	FreeFile              int64  `protobuf:"varint,5,opt,name=freeFile,proto3" json:"freeFile,omitempty"`           //免费用户可以进行附件下载次数
+	Registedate           int64  `protobuf:"varint,6,opt,name=registedate,proto3" json:"registedate,omitempty"`     //注册时间
+	IsUpgrade             bool   `protobuf:"varint,7,opt,name=isUpgrade,proto3" json:"isUpgrade,omitempty"`         //是否是新免费用户
+	Mail                  string `protobuf:"bytes,8,opt,name=mail,proto3" json:"mail,omitempty"`
+	Phone                 string `protobuf:"bytes,9,opt,name=phone,proto3" json:"phone,omitempty"`                                   //手机号
+	TsGuide               int64  `protobuf:"varint,10,opt,name=tsGuide,proto3" json:"tsGuide,omitempty"`                             //pc订阅关键词,不再走向导页
+	MemberApppushunread   int64  `protobuf:"varint,11,opt,name=memberApppushunread,proto3" json:"memberApppushunread,omitempty"`     //已读未读
+	EntnicheApppushunread int64  `protobuf:"varint,12,opt,name=entnicheApppushunread,proto3" json:"entnicheApppushunread,omitempty"` //已读未读
+	Apppushunread         int64  `protobuf:"varint,13,opt,name=apppushunread,proto3" json:"apppushunread,omitempty"`                 //已读未读
+	OjyLength             int64  `protobuf:"varint,14,opt,name=ojyLength,proto3" json:"ojyLength,omitempty"`                         //ojy的长度
+	Original              int64  `protobuf:"varint,15,opt,name=original,proto3" json:"original,omitempty"`                           //免费用户查看原文次数/每月
+	PpStatus              int64  `protobuf:"varint,16,opt,name=ppStatus,proto3" json:"ppStatus,omitempty"`                           //免费用户查看原文次数/每月
+	PpStartTime           int64  `protobuf:"varint,17,opt,name=ppStartTime,proto3" json:"ppStartTime,omitempty"`                     //免费用户查看原文次数/每月
+	PpEndTime             int64  `protobuf:"varint,18,opt,name=ppEndTime,proto3" json:"ppEndTime,omitempty"`                         //免费用户查看原文次数/每月
+}
+
+func (x *Free) Reset() {
+	*x = Free{}
+	if protoimpl.UnsafeEnabled {
+		mi := &file_powerCheck_proto_msgTypes[7]
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		ms.StoreMessageInfo(mi)
+	}
+}
+
+func (x *Free) String() string {
+	return protoimpl.X.MessageStringOf(x)
+}
+
+func (*Free) ProtoMessage() {}
+
+func (x *Free) ProtoReflect() protoreflect.Message {
+	mi := &file_powerCheck_proto_msgTypes[7]
+	if protoimpl.UnsafeEnabled && x != nil {
+		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
+		if ms.LoadMessageInfo() == nil {
+			ms.StoreMessageInfo(mi)
+		}
+		return ms
+	}
+	return mi.MessageOf(x)
+}
+
+// Deprecated: Use Free.ProtoReflect.Descriptor instead.
+func (*Free) Descriptor() ([]byte, []int) {
+	return file_powerCheck_proto_rawDescGZIP(), []int{7}
+}
+
+func (x *Free) GetIsFree() bool {
+	if x != nil {
+		return x.IsFree
+	}
+	return false
+}
+
+func (x *Free) GetFreeHasKey() bool {
+	if x != nil {
+		return x.FreeHasKey
+	}
+	return false
+}
+
+func (x *Free) GetFreeEntPort() int64 {
+	if x != nil {
+		return x.FreeEntPort
+	}
+	return 0
+}
+
+func (x *Free) GetFreeBuyerPort() int64 {
+	if x != nil {
+		return x.FreeBuyerPort
+	}
+	return 0
+}
+
+func (x *Free) GetFreeFile() int64 {
+	if x != nil {
+		return x.FreeFile
+	}
+	return 0
+}
+
+func (x *Free) GetRegistedate() int64 {
+	if x != nil {
+		return x.Registedate
+	}
+	return 0
+}
+
+func (x *Free) GetIsUpgrade() bool {
+	if x != nil {
+		return x.IsUpgrade
+	}
+	return false
+}
+
+func (x *Free) GetMail() string {
+	if x != nil {
+		return x.Mail
+	}
+	return ""
+}
+
+func (x *Free) GetPhone() string {
+	if x != nil {
+		return x.Phone
+	}
+	return ""
+}
+
+func (x *Free) GetTsGuide() int64 {
+	if x != nil {
+		return x.TsGuide
+	}
+	return 0
+}
+
+func (x *Free) GetMemberApppushunread() int64 {
+	if x != nil {
+		return x.MemberApppushunread
+	}
+	return 0
+}
+
+func (x *Free) GetEntnicheApppushunread() int64 {
+	if x != nil {
+		return x.EntnicheApppushunread
+	}
+	return 0
+}
+
+func (x *Free) GetApppushunread() int64 {
+	if x != nil {
+		return x.Apppushunread
+	}
+	return 0
+}
+
+func (x *Free) GetOjyLength() int64 {
+	if x != nil {
+		return x.OjyLength
+	}
+	return 0
+}
+
+func (x *Free) GetOriginal() int64 {
+	if x != nil {
+		return x.Original
+	}
+	return 0
+}
+
+func (x *Free) GetPpStatus() int64 {
+	if x != nil {
+		return x.PpStatus
+	}
+	return 0
+}
+
+func (x *Free) GetPpStartTime() int64 {
+	if x != nil {
+		return x.PpStartTime
+	}
+	return 0
+}
+
+func (x *Free) GetPpEndTime() int64 {
+	if x != nil {
+		return x.PpEndTime
+	}
+	return 0
+}
+
+var File_powerCheck_proto protoreflect.FileDescriptor
+
+var file_powerCheck_proto_rawDesc = []byte{
+	0x0a, 0x10, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f,
+	0x74, 0x6f, 0x22, 0x64, 0x0a, 0x0e, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b,
+	0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x6d, 0x73,
+	0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x4d, 0x73,
+	0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18,
+	0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65,
+	0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03,
+	0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xd0, 0x01, 0x0a, 0x08, 0x43, 0x68, 0x65,
+	0x63, 0x6b, 0x52, 0x65, 0x71, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x18, 0x01,
+	0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x70, 0x70, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x75,
+	0x73, 0x65, 0x72, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65,
+	0x72, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49,
+	0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x55, 0x73, 0x65,
+	0x72, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
+	0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49,
+	0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
+	0x52, 0x05, 0x65, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x6f, 0x73, 0x69, 0x74,
+	0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x70,
+	0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x70,
+	0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52,
+	0x0a, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x22, 0xda, 0x01, 0x0a, 0x09,
+	0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x72, 0x72,
+	0x6f, 0x72, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65, 0x72,
+	0x72, 0x6f, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f,
+	0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x72, 0x72, 0x6f,
+	0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x03, 0x76, 0x69, 0x70, 0x18, 0x03, 0x20, 0x01,
+	0x28, 0x0b, 0x32, 0x04, 0x2e, 0x56, 0x69, 0x70, 0x52, 0x03, 0x76, 0x69, 0x70, 0x12, 0x1f, 0x0a,
+	0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x07, 0x2e,
+	0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x25,
+	0x0a, 0x08, 0x65, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
+	0x32, 0x09, 0x2e, 0x45, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x52, 0x08, 0x65, 0x6e, 0x74,
+	0x6e, 0x69, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x03, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01,
+	0x28, 0x0b, 0x32, 0x04, 0x2e, 0x45, 0x6e, 0x74, 0x52, 0x03, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x0a,
+	0x04, 0x66, 0x72, 0x65, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x05, 0x2e, 0x46, 0x72,
+	0x65, 0x65, 0x52, 0x04, 0x66, 0x72, 0x65, 0x65, 0x22, 0xff, 0x02, 0x0a, 0x03, 0x56, 0x69, 0x70,
+	0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
+	0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72,
+	0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61,
+	0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d,
+	0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,
+	0x12, 0x18, 0x0a, 0x07, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
+	0x03, 0x52, 0x07, 0x75, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72,
+	0x65, 0x61, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x61,
+	0x72, 0x65, 0x61, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x62, 0x75, 0x79, 0x65,
+	0x72, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28,
+	0x03, 0x52, 0x0f, 0x62, 0x75, 0x79, 0x65, 0x72, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x63, 0x6f, 0x75,
+	0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x4b, 0x65, 0x79, 0x4c, 0x65, 0x6e, 0x67,
+	0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x61, 0x78, 0x4b, 0x65, 0x79,
+	0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x54,
+	0x79, 0x70, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x6f, 0x77, 0x65, 0x72,
+	0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x69, 0x70, 0x50, 0x6f, 0x77, 0x65, 0x72,
+	0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x76, 0x69, 0x70, 0x50, 0x6f, 0x77, 0x65, 0x72,
+	0x12, 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01, 0x28,
+	0x03, 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x61,
+	0x73, 0x4b, 0x65, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x61, 0x73, 0x4b,
+	0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x43, 0x69, 0x74, 0x79, 0x73, 0x18, 0x0c,
+	0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x6e, 0x65, 0x77, 0x43, 0x69, 0x74, 0x79, 0x73, 0x12, 0x1a,
+	0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03,
+	0x52, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x22, 0x90, 0x04, 0x0a, 0x06, 0x4d,
+	0x65, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18,
+	0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a,
+	0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03,
+	0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65,
+	0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e,
+	0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x4e,
+	0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x65, 0x6d, 0x62, 0x65,
+	0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50,
+	0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x05, 0x20, 0x03, 0x28, 0x03, 0x52, 0x0f,
+	0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12,
+	0x24, 0x0a, 0x0d, 0x69, 0x73, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x54, 0x72, 0x69, 0x61, 0x6c,
+	0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x69, 0x73, 0x4d, 0x65, 0x6d, 0x62, 0x65, 0x72,
+	0x54, 0x72, 0x69, 0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x54, 0x79,
+	0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x54,
+	0x79, 0x70, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x50, 0x6f, 0x77,
+	0x65, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72,
+	0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x69, 0x73, 0x53, 0x75, 0x62, 0x43, 0x6f,
+	0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x69, 0x73, 0x53, 0x75, 0x62,
+	0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x4b, 0x65, 0x79, 0x4c,
+	0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x61, 0x78,
+	0x4b, 0x65, 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x6e, 0x74,
+	0x4e, 0x75, 0x6d, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x65, 0x6e, 0x74, 0x4e, 0x75,
+	0x6d, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x6f, 0x4e, 0x75, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28,
+	0x03, 0x52, 0x06, 0x70, 0x72, 0x6f, 0x4e, 0x75, 0x6d, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x61, 0x69,
+	0x6c, 0x79, 0x4e, 0x75, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x64, 0x61, 0x69,
+	0x6c, 0x79, 0x4e, 0x75, 0x6d, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65,
+	0x72, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
+	0x65, 0x72, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09,
+	0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x64, 0x18, 0x10, 0x20,
+	0x01, 0x28, 0x08, 0x52, 0x04, 0x75, 0x73, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x61, 0x73,
+	0x4b, 0x65, 0x79, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x68, 0x61, 0x73, 0x4b, 0x65,
+	0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x18, 0x12, 0x20,
+	0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x22, 0xfc, 0x01,
+	0x0a, 0x08, 0x45, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74,
+	0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74,
+	0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x18,
+	0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65,
+	0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
+	0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6f,
+	0x77, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52,
+	0x0b, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a,
+	0x69, 0x73, 0x45, 0x6e, 0x74, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03,
+	0x52, 0x0a, 0x69, 0x73, 0x45, 0x6e, 0x74, 0x50, 0x6f, 0x77, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05,
+	0x69, 0x73, 0x4e, 0x65, 0x77, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x69, 0x73, 0x4e,
+	0x65, 0x77, 0x12, 0x16, 0x0a, 0x06, 0x68, 0x61, 0x73, 0x4b, 0x65, 0x79, 0x18, 0x07, 0x20, 0x01,
+	0x28, 0x08, 0x52, 0x06, 0x68, 0x61, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f,
+	0x64, 0x65, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
+	0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x18, 0x09, 0x20, 0x01,
+	0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x22, 0xf5, 0x02, 0x0a,
+	0x03, 0x45, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
+	0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x65, 0x6e, 0x74, 0x52,
+	0x6f, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x65, 0x6e, 0x74,
+	0x52, 0x6f, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74,
+	0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x65,
+	0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x24, 0x0a, 0x0d,
+	0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x04, 0x20,
+	0x01, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x6e, 0x74, 0x41, 0x75, 0x74, 0x68, 0x52, 0x65, 0x61, 0x73,
+	0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
+	0x62, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62,
+	0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x30, 0x0a, 0x13, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62,
+	0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x18, 0x06, 0x20,
+	0x01, 0x28, 0x03, 0x52, 0x13, 0x65, 0x6e, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62,
+	0x65, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x6f, 0x77, 0x65,
+	0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70,
+	0x6f, 0x77, 0x65, 0x72, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x65,
+	0x70, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28,
+	0x03, 0x52, 0x0d, 0x64, 0x65, 0x70, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
+	0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x47, 0x44, 0x18, 0x09, 0x20,
+	0x01, 0x28, 0x08, 0x52, 0x09, 0x70, 0x72, 0x69, 0x76, 0x61, 0x74, 0x65, 0x47, 0x44, 0x12, 0x16,
+	0x0a, 0x06, 0x62, 0x75, 0x79, 0x56, 0x69, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06,
+	0x62, 0x75, 0x79, 0x56, 0x69, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x75, 0x79, 0x4d, 0x65, 0x6d,
+	0x62, 0x65, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x75, 0x79, 0x4d, 0x65,
+	0x6d, 0x62, 0x65, 0x72, 0x22, 0xca, 0x04, 0x0a, 0x04, 0x46, 0x72, 0x65, 0x65, 0x12, 0x16, 0x0a,
+	0x06, 0x69, 0x73, 0x46, 0x72, 0x65, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x69,
+	0x73, 0x46, 0x72, 0x65, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x48, 0x61, 0x73,
+	0x4b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x66, 0x72, 0x65, 0x65, 0x48,
+	0x61, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x72, 0x65, 0x65, 0x45, 0x6e, 0x74,
+	0x50, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x66, 0x72, 0x65, 0x65,
+	0x45, 0x6e, 0x74, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x66, 0x72, 0x65, 0x65, 0x42,
+	0x75, 0x79, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d,
+	0x66, 0x72, 0x65, 0x65, 0x42, 0x75, 0x79, 0x65, 0x72, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x1a, 0x0a,
+	0x08, 0x66, 0x72, 0x65, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
+	0x08, 0x66, 0x72, 0x65, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x67,
+	0x69, 0x73, 0x74, 0x65, 0x64, 0x61, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b,
+	0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x69,
+	0x73, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
+	0x69, 0x73, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x61, 0x69,
+	0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a,
+	0x05, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68,
+	0x6f, 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x73, 0x47, 0x75, 0x69, 0x64, 0x65, 0x18, 0x0a,
+	0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x74, 0x73, 0x47, 0x75, 0x69, 0x64, 0x65, 0x12, 0x30, 0x0a,
+	0x13, 0x6d, 0x65, 0x6d, 0x62, 0x65, 0x72, 0x41, 0x70, 0x70, 0x70, 0x75, 0x73, 0x68, 0x75, 0x6e,
+	0x72, 0x65, 0x61, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x03, 0x52, 0x13, 0x6d, 0x65, 0x6d, 0x62,
+	0x65, 0x72, 0x41, 0x70, 0x70, 0x70, 0x75, 0x73, 0x68, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x12,
+	0x34, 0x0a, 0x15, 0x65, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x41, 0x70, 0x70, 0x70, 0x75,
+	0x73, 0x68, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x15,
+	0x65, 0x6e, 0x74, 0x6e, 0x69, 0x63, 0x68, 0x65, 0x41, 0x70, 0x70, 0x70, 0x75, 0x73, 0x68, 0x75,
+	0x6e, 0x72, 0x65, 0x61, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x70, 0x70, 0x70, 0x75, 0x73, 0x68,
+	0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0d, 0x61, 0x70,
+	0x70, 0x70, 0x75, 0x73, 0x68, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x6f,
+	0x6a, 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09,
+	0x6f, 0x6a, 0x79, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x1a, 0x0a, 0x08, 0x6f, 0x72, 0x69,
+	0x67, 0x69, 0x6e, 0x61, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x6f, 0x72, 0x69,
+	0x67, 0x69, 0x6e, 0x61, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75,
+	0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x70, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75,
+	0x73, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x70, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65,
+	0x18, 0x11, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x70, 0x70, 0x53, 0x74, 0x61, 0x72, 0x74, 0x54,
+	0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x70, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65,
+	0x18, 0x12, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x70, 0x70, 0x45, 0x6e, 0x64, 0x54, 0x69, 0x6d,
+	0x65, 0x32, 0x59, 0x0a, 0x0a, 0x70, 0x6f, 0x77, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12,
+	0x1e, 0x0a, 0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x09, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b,
+	0x52, 0x65, 0x71, 0x1a, 0x0a, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x12,
+	0x2b, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x64, 0x69, 0x73,
+	0x12, 0x09, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x1a, 0x0f, 0x2e, 0x50, 0x6f,
+	0x77, 0x65, 0x72, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04,
+	0x2e, 0x2f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
+}
+
+var (
+	file_powerCheck_proto_rawDescOnce sync.Once
+	file_powerCheck_proto_rawDescData = file_powerCheck_proto_rawDesc
+)
+
+func file_powerCheck_proto_rawDescGZIP() []byte {
+	file_powerCheck_proto_rawDescOnce.Do(func() {
+		file_powerCheck_proto_rawDescData = protoimpl.X.CompressGZIP(file_powerCheck_proto_rawDescData)
+	})
+	return file_powerCheck_proto_rawDescData
+}
+
+var file_powerCheck_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
+var file_powerCheck_proto_goTypes = []interface{}{
+	(*PowerCheckResp)(nil), // 0: PowerCheckResp
+	(*CheckReq)(nil),       // 1: CheckReq
+	(*CheckResp)(nil),      // 2: CheckResp
+	(*Vip)(nil),            // 3: Vip
+	(*Member)(nil),         // 4: Member
+	(*Entniche)(nil),       // 5: Entniche
+	(*Ent)(nil),            // 6: Ent
+	(*Free)(nil),           // 7: Free
+}
+var file_powerCheck_proto_depIdxs = []int32{
+	3, // 0: CheckResp.vip:type_name -> Vip
+	4, // 1: CheckResp.member:type_name -> Member
+	5, // 2: CheckResp.entniche:type_name -> Entniche
+	6, // 3: CheckResp.ent:type_name -> Ent
+	7, // 4: CheckResp.free:type_name -> Free
+	1, // 5: powerCheck.Check:input_type -> CheckReq
+	1, // 6: powerCheck.DelCheckRedis:input_type -> CheckReq
+	2, // 7: powerCheck.Check:output_type -> CheckResp
+	0, // 8: powerCheck.DelCheckRedis:output_type -> PowerCheckResp
+	7, // [7:9] is the sub-list for method output_type
+	5, // [5:7] is the sub-list for method input_type
+	5, // [5:5] is the sub-list for extension type_name
+	5, // [5:5] is the sub-list for extension extendee
+	0, // [0:5] is the sub-list for field type_name
+}
+
+func init() { file_powerCheck_proto_init() }
+func file_powerCheck_proto_init() {
+	if File_powerCheck_proto != nil {
+		return
+	}
+	if !protoimpl.UnsafeEnabled {
+		file_powerCheck_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*PowerCheckResp); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_powerCheck_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*CheckReq); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_powerCheck_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*CheckResp); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_powerCheck_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*Vip); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_powerCheck_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*Member); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_powerCheck_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*Entniche); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_powerCheck_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*Ent); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+		file_powerCheck_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
+			switch v := v.(*Free); i {
+			case 0:
+				return &v.state
+			case 1:
+				return &v.sizeCache
+			case 2:
+				return &v.unknownFields
+			default:
+				return nil
+			}
+		}
+	}
+	type x struct{}
+	out := protoimpl.TypeBuilder{
+		File: protoimpl.DescBuilder{
+			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
+			RawDescriptor: file_powerCheck_proto_rawDesc,
+			NumEnums:      0,
+			NumMessages:   8,
+			NumExtensions: 0,
+			NumServices:   1,
+		},
+		GoTypes:           file_powerCheck_proto_goTypes,
+		DependencyIndexes: file_powerCheck_proto_depIdxs,
+		MessageInfos:      file_powerCheck_proto_msgTypes,
+	}.Build()
+	File_powerCheck_proto = out.File
+	file_powerCheck_proto_rawDesc = nil
+	file_powerCheck_proto_goTypes = nil
+	file_powerCheck_proto_depIdxs = nil
+}

+ 150 - 0
rpc/pb/powerCheck_grpc.pb.go

@@ -0,0 +1,150 @@
+// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
+// versions:
+// - protoc-gen-go-grpc v1.3.0
+// - protoc             v3.21.12
+// source: powerCheck.proto
+
+package pb
+
+import (
+	context "context"
+	grpc "google.golang.org/grpc"
+	codes "google.golang.org/grpc/codes"
+	status "google.golang.org/grpc/status"
+)
+
+// This is a compile-time assertion to ensure that this generated file
+// is compatible with the grpc package it is being compiled against.
+// Requires gRPC-Go v1.32.0 or later.
+const _ = grpc.SupportPackageIsVersion7
+
+const (
+	PowerCheck_Check_FullMethodName         = "/powerCheck/Check"
+	PowerCheck_DelCheckRedis_FullMethodName = "/powerCheck/DelCheckRedis"
+)
+
+// PowerCheckClient is the client API for PowerCheck service.
+//
+// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
+type PowerCheckClient interface {
+	// 用户权限判断
+	Check(ctx context.Context, in *CheckReq, opts ...grpc.CallOption) (*CheckResp, error)
+	// 清除权限缓存
+	DelCheckRedis(ctx context.Context, in *CheckReq, opts ...grpc.CallOption) (*PowerCheckResp, error)
+}
+
+type powerCheckClient struct {
+	cc grpc.ClientConnInterface
+}
+
+func NewPowerCheckClient(cc grpc.ClientConnInterface) PowerCheckClient {
+	return &powerCheckClient{cc}
+}
+
+func (c *powerCheckClient) Check(ctx context.Context, in *CheckReq, opts ...grpc.CallOption) (*CheckResp, error) {
+	out := new(CheckResp)
+	err := c.cc.Invoke(ctx, PowerCheck_Check_FullMethodName, in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
+func (c *powerCheckClient) DelCheckRedis(ctx context.Context, in *CheckReq, opts ...grpc.CallOption) (*PowerCheckResp, error) {
+	out := new(PowerCheckResp)
+	err := c.cc.Invoke(ctx, PowerCheck_DelCheckRedis_FullMethodName, in, out, opts...)
+	if err != nil {
+		return nil, err
+	}
+	return out, nil
+}
+
+// PowerCheckServer is the server API for PowerCheck service.
+// All implementations must embed UnimplementedPowerCheckServer
+// for forward compatibility
+type PowerCheckServer interface {
+	// 用户权限判断
+	Check(context.Context, *CheckReq) (*CheckResp, error)
+	// 清除权限缓存
+	DelCheckRedis(context.Context, *CheckReq) (*PowerCheckResp, error)
+	mustEmbedUnimplementedPowerCheckServer()
+}
+
+// UnimplementedPowerCheckServer must be embedded to have forward compatible implementations.
+type UnimplementedPowerCheckServer struct {
+}
+
+func (UnimplementedPowerCheckServer) Check(context.Context, *CheckReq) (*CheckResp, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method Check not implemented")
+}
+func (UnimplementedPowerCheckServer) DelCheckRedis(context.Context, *CheckReq) (*PowerCheckResp, error) {
+	return nil, status.Errorf(codes.Unimplemented, "method DelCheckRedis not implemented")
+}
+func (UnimplementedPowerCheckServer) mustEmbedUnimplementedPowerCheckServer() {}
+
+// UnsafePowerCheckServer may be embedded to opt out of forward compatibility for this service.
+// Use of this interface is not recommended, as added methods to PowerCheckServer will
+// result in compilation errors.
+type UnsafePowerCheckServer interface {
+	mustEmbedUnimplementedPowerCheckServer()
+}
+
+func RegisterPowerCheckServer(s grpc.ServiceRegistrar, srv PowerCheckServer) {
+	s.RegisterService(&PowerCheck_ServiceDesc, srv)
+}
+
+func _PowerCheck_Check_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(CheckReq)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(PowerCheckServer).Check(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: PowerCheck_Check_FullMethodName,
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(PowerCheckServer).Check(ctx, req.(*CheckReq))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
+func _PowerCheck_DelCheckRedis_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+	in := new(CheckReq)
+	if err := dec(in); err != nil {
+		return nil, err
+	}
+	if interceptor == nil {
+		return srv.(PowerCheckServer).DelCheckRedis(ctx, in)
+	}
+	info := &grpc.UnaryServerInfo{
+		Server:     srv,
+		FullMethod: PowerCheck_DelCheckRedis_FullMethodName,
+	}
+	handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+		return srv.(PowerCheckServer).DelCheckRedis(ctx, req.(*CheckReq))
+	}
+	return interceptor(ctx, in, info, handler)
+}
+
+// PowerCheck_ServiceDesc is the grpc.ServiceDesc for PowerCheck service.
+// It's only intended for direct use with grpc.RegisterService,
+// and not to be introspected or modified (even as a copy)
+var PowerCheck_ServiceDesc = grpc.ServiceDesc{
+	ServiceName: "powerCheck",
+	HandlerType: (*PowerCheckServer)(nil),
+	Methods: []grpc.MethodDesc{
+		{
+			MethodName: "Check",
+			Handler:    _PowerCheck_Check_Handler,
+		},
+		{
+			MethodName: "DelCheckRedis",
+			Handler:    _PowerCheck_DelCheckRedis_Handler,
+		},
+	},
+	Streams:  []grpc.StreamDesc{},
+	Metadata: "powerCheck.proto",
+}

+ 53 - 0
rpc/powercheck/powercheck.go

@@ -0,0 +1,53 @@
+// Code generated by goctl. DO NOT EDIT.
+// Source: powerCheck.proto
+
+package powercheck
+
+import (
+	"context"
+
+	"bp.jydev.jianyu360.cn/BaseService/powerCheckCenter/rpc/pb"
+
+	"github.com/zeromicro/go-zero/zrpc"
+	"google.golang.org/grpc"
+)
+
+type (
+	CheckReq       = pb.CheckReq
+	CheckResp      = pb.CheckResp
+	Ent            = pb.Ent
+	Entniche       = pb.Entniche
+	Free           = pb.Free
+	Member         = pb.Member
+	PowerCheckResp = pb.PowerCheckResp
+	Vip            = pb.Vip
+
+	PowerCheck interface {
+		// 用户权限判断
+		Check(ctx context.Context, in *CheckReq, opts ...grpc.CallOption) (*CheckResp, error)
+		// 清除权限缓存
+		DelCheckRedis(ctx context.Context, in *CheckReq, opts ...grpc.CallOption) (*PowerCheckResp, error)
+	}
+
+	defaultPowerCheck struct {
+		cli zrpc.Client
+	}
+)
+
+func NewPowerCheck(cli zrpc.Client) PowerCheck {
+	return &defaultPowerCheck{
+		cli: cli,
+	}
+}
+
+// 用户权限判断
+func (m *defaultPowerCheck) Check(ctx context.Context, in *CheckReq, opts ...grpc.CallOption) (*CheckResp, error) {
+	client := pb.NewPowerCheckClient(m.cli.Conn())
+	return client.Check(ctx, in, opts...)
+}
+
+// 清除权限缓存
+func (m *defaultPowerCheck) DelCheckRedis(ctx context.Context, in *CheckReq, opts ...grpc.CallOption) (*PowerCheckResp, error) {
+	client := pb.NewPowerCheckClient(m.cli.Conn())
+	return client.DelCheckRedis(ctx, in, opts...)
+}