|
@@ -1,7 +1,7 @@
|
|
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
|
// versions:
|
|
|
-// - protoc-gen-go-grpc v1.2.0
|
|
|
-// - protoc v3.15.1
|
|
|
+// - protoc-gen-go-grpc v1.3.0
|
|
|
+// - protoc v3.21.12
|
|
|
// source: bxsubscribe.proto
|
|
|
|
|
|
package bxsubscribe
|
|
@@ -18,38 +18,61 @@ import (
|
|
|
// Requires gRPC-Go v1.32.0 or later.
|
|
|
const _ = grpc.SupportPackageIsVersion7
|
|
|
|
|
|
+const (
|
|
|
+ Bxsubscribe_GetSubList_FullMethodName = "/bxsubscribe.Bxsubscribe/GetSubList"
|
|
|
+ Bxsubscribe_GetSubSomeInfo_FullMethodName = "/bxsubscribe.Bxsubscribe/GetSubSomeInfo"
|
|
|
+ Bxsubscribe_UpdateSubScribeInfo_FullMethodName = "/bxsubscribe.Bxsubscribe/UpdateSubScribeInfo"
|
|
|
+ Bxsubscribe_ByPushHistory_FullMethodName = "/bxsubscribe.Bxsubscribe/ByPushHistory"
|
|
|
+ Bxsubscribe_SetRead_FullMethodName = "/bxsubscribe.Bxsubscribe/SetRead"
|
|
|
+ Bxsubscribe_GetKey_FullMethodName = "/bxsubscribe.Bxsubscribe/GetKey"
|
|
|
+ Bxsubscribe_GetSubScribeInfo_FullMethodName = "/bxsubscribe.Bxsubscribe/GetSubScribeInfo"
|
|
|
+ Bxsubscribe_MsgDistributor_FullMethodName = "/bxsubscribe.Bxsubscribe/MsgDistributor"
|
|
|
+ Bxsubscribe_GetDistributor_FullMethodName = "/bxsubscribe.Bxsubscribe/GetDistributor"
|
|
|
+ Bxsubscribe_GetViewStatus_FullMethodName = "/bxsubscribe.Bxsubscribe/GetViewStatus"
|
|
|
+ Bxsubscribe_UserInfo_FullMethodName = "/bxsubscribe.Bxsubscribe/userInfo"
|
|
|
+ Bxsubscribe_SetUser_FullMethodName = "/bxsubscribe.Bxsubscribe/setUser"
|
|
|
+ Bxsubscribe_GetPushSet_FullMethodName = "/bxsubscribe.Bxsubscribe/getPushSet"
|
|
|
+ Bxsubscribe_SetPushSet_FullMethodName = "/bxsubscribe.Bxsubscribe/setPushSet"
|
|
|
+ Bxsubscribe_GetStaffSubscribeList_FullMethodName = "/bxsubscribe.Bxsubscribe/getStaffSubscribeList"
|
|
|
+ Bxsubscribe_GetStaffSubscribeDetail_FullMethodName = "/bxsubscribe.Bxsubscribe/getStaffSubscribeDetail"
|
|
|
+)
|
|
|
+
|
|
|
// BxsubscribeClient is the client API for Bxsubscribe 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 BxsubscribeClient interface {
|
|
|
- //获取订阅推送列表
|
|
|
+ // 获取订阅推送列表
|
|
|
GetSubList(ctx context.Context, in *SubscribeInfosReq, opts ...grpc.CallOption) (*SubscribeInfosResp, error)
|
|
|
- //获取订阅推送相关信息
|
|
|
+ // 获取订阅推送相关信息
|
|
|
GetSubSomeInfo(ctx context.Context, in *SomeInfoReq, opts ...grpc.CallOption) (*SomeInfoResp, error)
|
|
|
- //修改订阅信息接口
|
|
|
+ // 修改订阅信息接口
|
|
|
UpdateSubScribeInfo(ctx context.Context, in *UpdateSubScribeInfoReq, opts ...grpc.CallOption) (*StatusResp, error)
|
|
|
- //推送页面筛选导出
|
|
|
+ // 推送页面筛选导出
|
|
|
ByPushHistory(ctx context.Context, in *SubscribeInfosReq, opts ...grpc.CallOption) (*ByPushHistoryResp, error)
|
|
|
- //推送数据浏览状态修改
|
|
|
+ // 推送数据浏览状态修改
|
|
|
SetRead(ctx context.Context, in *SetReadReq, opts ...grpc.CallOption) (*StatusResp, error)
|
|
|
- //关键词获取
|
|
|
+ // 关键词获取
|
|
|
GetKey(ctx context.Context, in *GetKeyReq, opts ...grpc.CallOption) (*KeyResp, error)
|
|
|
- //订阅设置获取
|
|
|
+ // 订阅设置获取
|
|
|
GetSubScribeInfo(ctx context.Context, in *UserReq, opts ...grpc.CallOption) (*UserResq, error)
|
|
|
- //信息分发
|
|
|
+ // 信息分发
|
|
|
MsgDistributor(ctx context.Context, in *MsgDistributorReq, opts ...grpc.CallOption) (*StatusResp, error)
|
|
|
- //手动分发人员查询
|
|
|
+ // 手动分发人员查询
|
|
|
GetDistributor(ctx context.Context, in *GetDistributorReq, opts ...grpc.CallOption) (*DistributorResp, error)
|
|
|
- //查看状态
|
|
|
+ // 查看状态
|
|
|
GetViewStatus(ctx context.Context, in *GetViewStatusReq, opts ...grpc.CallOption) (*ViewStatusResp, error)
|
|
|
- //用户推送信息查看
|
|
|
+ // 用户推送信息查看
|
|
|
UserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResq, error)
|
|
|
- //用户邮箱保存
|
|
|
+ // 用户邮箱保存
|
|
|
SetUser(ctx context.Context, in *SetUserInfoReq, opts ...grpc.CallOption) (*StatusResp, error)
|
|
|
- //用户推送设置查看
|
|
|
+ // 用户推送设置查看
|
|
|
GetPushSet(ctx context.Context, in *GetPushSetReq, opts ...grpc.CallOption) (*GetPushSetResp, error)
|
|
|
- //用户推送设置修改
|
|
|
+ // 用户推送设置修改
|
|
|
SetPushSet(ctx context.Context, in *SetPushSetReq, opts ...grpc.CallOption) (*StatusResp, error)
|
|
|
+ // 查看企业员工用户订阅
|
|
|
+ GetStaffSubscribeList(ctx context.Context, in *StaffSubscribeReq, opts ...grpc.CallOption) (*StaffSubscribeListResp, error)
|
|
|
+ // 查看企业员工用户订阅详情
|
|
|
+ GetStaffSubscribeDetail(ctx context.Context, in *StaffSubscribeDetailReq, opts ...grpc.CallOption) (*StaffSubscribeDetail, error)
|
|
|
}
|
|
|
|
|
|
type bxsubscribeClient struct {
|
|
@@ -62,7 +85,7 @@ func NewBxsubscribeClient(cc grpc.ClientConnInterface) BxsubscribeClient {
|
|
|
|
|
|
func (c *bxsubscribeClient) GetSubList(ctx context.Context, in *SubscribeInfosReq, opts ...grpc.CallOption) (*SubscribeInfosResp, error) {
|
|
|
out := new(SubscribeInfosResp)
|
|
|
- err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetSubList", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_GetSubList_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -71,7 +94,7 @@ func (c *bxsubscribeClient) GetSubList(ctx context.Context, in *SubscribeInfosRe
|
|
|
|
|
|
func (c *bxsubscribeClient) GetSubSomeInfo(ctx context.Context, in *SomeInfoReq, opts ...grpc.CallOption) (*SomeInfoResp, error) {
|
|
|
out := new(SomeInfoResp)
|
|
|
- err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetSubSomeInfo", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_GetSubSomeInfo_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -80,7 +103,7 @@ func (c *bxsubscribeClient) GetSubSomeInfo(ctx context.Context, in *SomeInfoReq,
|
|
|
|
|
|
func (c *bxsubscribeClient) UpdateSubScribeInfo(ctx context.Context, in *UpdateSubScribeInfoReq, opts ...grpc.CallOption) (*StatusResp, error) {
|
|
|
out := new(StatusResp)
|
|
|
- err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/UpdateSubScribeInfo", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_UpdateSubScribeInfo_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -89,7 +112,7 @@ func (c *bxsubscribeClient) UpdateSubScribeInfo(ctx context.Context, in *UpdateS
|
|
|
|
|
|
func (c *bxsubscribeClient) ByPushHistory(ctx context.Context, in *SubscribeInfosReq, opts ...grpc.CallOption) (*ByPushHistoryResp, error) {
|
|
|
out := new(ByPushHistoryResp)
|
|
|
- err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/ByPushHistory", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_ByPushHistory_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -98,7 +121,7 @@ func (c *bxsubscribeClient) ByPushHistory(ctx context.Context, in *SubscribeInfo
|
|
|
|
|
|
func (c *bxsubscribeClient) SetRead(ctx context.Context, in *SetReadReq, opts ...grpc.CallOption) (*StatusResp, error) {
|
|
|
out := new(StatusResp)
|
|
|
- err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/SetRead", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_SetRead_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -107,7 +130,7 @@ func (c *bxsubscribeClient) SetRead(ctx context.Context, in *SetReadReq, opts ..
|
|
|
|
|
|
func (c *bxsubscribeClient) GetKey(ctx context.Context, in *GetKeyReq, opts ...grpc.CallOption) (*KeyResp, error) {
|
|
|
out := new(KeyResp)
|
|
|
- err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetKey", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_GetKey_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -116,7 +139,7 @@ func (c *bxsubscribeClient) GetKey(ctx context.Context, in *GetKeyReq, opts ...g
|
|
|
|
|
|
func (c *bxsubscribeClient) GetSubScribeInfo(ctx context.Context, in *UserReq, opts ...grpc.CallOption) (*UserResq, error) {
|
|
|
out := new(UserResq)
|
|
|
- err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetSubScribeInfo", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_GetSubScribeInfo_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -125,7 +148,7 @@ func (c *bxsubscribeClient) GetSubScribeInfo(ctx context.Context, in *UserReq, o
|
|
|
|
|
|
func (c *bxsubscribeClient) MsgDistributor(ctx context.Context, in *MsgDistributorReq, opts ...grpc.CallOption) (*StatusResp, error) {
|
|
|
out := new(StatusResp)
|
|
|
- err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/MsgDistributor", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_MsgDistributor_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -134,7 +157,7 @@ func (c *bxsubscribeClient) MsgDistributor(ctx context.Context, in *MsgDistribut
|
|
|
|
|
|
func (c *bxsubscribeClient) GetDistributor(ctx context.Context, in *GetDistributorReq, opts ...grpc.CallOption) (*DistributorResp, error) {
|
|
|
out := new(DistributorResp)
|
|
|
- err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetDistributor", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_GetDistributor_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -143,7 +166,7 @@ func (c *bxsubscribeClient) GetDistributor(ctx context.Context, in *GetDistribut
|
|
|
|
|
|
func (c *bxsubscribeClient) GetViewStatus(ctx context.Context, in *GetViewStatusReq, opts ...grpc.CallOption) (*ViewStatusResp, error) {
|
|
|
out := new(ViewStatusResp)
|
|
|
- err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetViewStatus", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_GetViewStatus_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -152,7 +175,7 @@ func (c *bxsubscribeClient) GetViewStatus(ctx context.Context, in *GetViewStatus
|
|
|
|
|
|
func (c *bxsubscribeClient) UserInfo(ctx context.Context, in *GetUserInfoReq, opts ...grpc.CallOption) (*GetUserInfoResq, error) {
|
|
|
out := new(GetUserInfoResq)
|
|
|
- err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/userInfo", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_UserInfo_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -161,7 +184,7 @@ func (c *bxsubscribeClient) UserInfo(ctx context.Context, in *GetUserInfoReq, op
|
|
|
|
|
|
func (c *bxsubscribeClient) SetUser(ctx context.Context, in *SetUserInfoReq, opts ...grpc.CallOption) (*StatusResp, error) {
|
|
|
out := new(StatusResp)
|
|
|
- err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/setUser", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_SetUser_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -170,7 +193,7 @@ func (c *bxsubscribeClient) SetUser(ctx context.Context, in *SetUserInfoReq, opt
|
|
|
|
|
|
func (c *bxsubscribeClient) GetPushSet(ctx context.Context, in *GetPushSetReq, opts ...grpc.CallOption) (*GetPushSetResp, error) {
|
|
|
out := new(GetPushSetResp)
|
|
|
- err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/getPushSet", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_GetPushSet_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -179,7 +202,25 @@ func (c *bxsubscribeClient) GetPushSet(ctx context.Context, in *GetPushSetReq, o
|
|
|
|
|
|
func (c *bxsubscribeClient) SetPushSet(ctx context.Context, in *SetPushSetReq, opts ...grpc.CallOption) (*StatusResp, error) {
|
|
|
out := new(StatusResp)
|
|
|
- err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/setPushSet", in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_SetPushSet_FullMethodName, in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *bxsubscribeClient) GetStaffSubscribeList(ctx context.Context, in *StaffSubscribeReq, opts ...grpc.CallOption) (*StaffSubscribeListResp, error) {
|
|
|
+ out := new(StaffSubscribeListResp)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_GetStaffSubscribeList_FullMethodName, in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *bxsubscribeClient) GetStaffSubscribeDetail(ctx context.Context, in *StaffSubscribeDetailReq, opts ...grpc.CallOption) (*StaffSubscribeDetail, error) {
|
|
|
+ out := new(StaffSubscribeDetail)
|
|
|
+ err := c.cc.Invoke(ctx, Bxsubscribe_GetStaffSubscribeDetail_FullMethodName, in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -190,34 +231,38 @@ func (c *bxsubscribeClient) SetPushSet(ctx context.Context, in *SetPushSetReq, o
|
|
|
// All implementations must embed UnimplementedBxsubscribeServer
|
|
|
// for forward compatibility
|
|
|
type BxsubscribeServer interface {
|
|
|
- //获取订阅推送列表
|
|
|
+ // 获取订阅推送列表
|
|
|
GetSubList(context.Context, *SubscribeInfosReq) (*SubscribeInfosResp, error)
|
|
|
- //获取订阅推送相关信息
|
|
|
+ // 获取订阅推送相关信息
|
|
|
GetSubSomeInfo(context.Context, *SomeInfoReq) (*SomeInfoResp, error)
|
|
|
- //修改订阅信息接口
|
|
|
+ // 修改订阅信息接口
|
|
|
UpdateSubScribeInfo(context.Context, *UpdateSubScribeInfoReq) (*StatusResp, error)
|
|
|
- //推送页面筛选导出
|
|
|
+ // 推送页面筛选导出
|
|
|
ByPushHistory(context.Context, *SubscribeInfosReq) (*ByPushHistoryResp, error)
|
|
|
- //推送数据浏览状态修改
|
|
|
+ // 推送数据浏览状态修改
|
|
|
SetRead(context.Context, *SetReadReq) (*StatusResp, error)
|
|
|
- //关键词获取
|
|
|
+ // 关键词获取
|
|
|
GetKey(context.Context, *GetKeyReq) (*KeyResp, error)
|
|
|
- //订阅设置获取
|
|
|
+ // 订阅设置获取
|
|
|
GetSubScribeInfo(context.Context, *UserReq) (*UserResq, error)
|
|
|
- //信息分发
|
|
|
+ // 信息分发
|
|
|
MsgDistributor(context.Context, *MsgDistributorReq) (*StatusResp, error)
|
|
|
- //手动分发人员查询
|
|
|
+ // 手动分发人员查询
|
|
|
GetDistributor(context.Context, *GetDistributorReq) (*DistributorResp, error)
|
|
|
- //查看状态
|
|
|
+ // 查看状态
|
|
|
GetViewStatus(context.Context, *GetViewStatusReq) (*ViewStatusResp, error)
|
|
|
- //用户推送信息查看
|
|
|
+ // 用户推送信息查看
|
|
|
UserInfo(context.Context, *GetUserInfoReq) (*GetUserInfoResq, error)
|
|
|
- //用户邮箱保存
|
|
|
+ // 用户邮箱保存
|
|
|
SetUser(context.Context, *SetUserInfoReq) (*StatusResp, error)
|
|
|
- //用户推送设置查看
|
|
|
+ // 用户推送设置查看
|
|
|
GetPushSet(context.Context, *GetPushSetReq) (*GetPushSetResp, error)
|
|
|
- //用户推送设置修改
|
|
|
+ // 用户推送设置修改
|
|
|
SetPushSet(context.Context, *SetPushSetReq) (*StatusResp, error)
|
|
|
+ // 查看企业员工用户订阅
|
|
|
+ GetStaffSubscribeList(context.Context, *StaffSubscribeReq) (*StaffSubscribeListResp, error)
|
|
|
+ // 查看企业员工用户订阅详情
|
|
|
+ GetStaffSubscribeDetail(context.Context, *StaffSubscribeDetailReq) (*StaffSubscribeDetail, error)
|
|
|
mustEmbedUnimplementedBxsubscribeServer()
|
|
|
}
|
|
|
|
|
@@ -267,6 +312,12 @@ func (UnimplementedBxsubscribeServer) GetPushSet(context.Context, *GetPushSetReq
|
|
|
func (UnimplementedBxsubscribeServer) SetPushSet(context.Context, *SetPushSetReq) (*StatusResp, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method SetPushSet not implemented")
|
|
|
}
|
|
|
+func (UnimplementedBxsubscribeServer) GetStaffSubscribeList(context.Context, *StaffSubscribeReq) (*StaffSubscribeListResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method GetStaffSubscribeList not implemented")
|
|
|
+}
|
|
|
+func (UnimplementedBxsubscribeServer) GetStaffSubscribeDetail(context.Context, *StaffSubscribeDetailReq) (*StaffSubscribeDetail, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method GetStaffSubscribeDetail not implemented")
|
|
|
+}
|
|
|
func (UnimplementedBxsubscribeServer) mustEmbedUnimplementedBxsubscribeServer() {}
|
|
|
|
|
|
// UnsafeBxsubscribeServer may be embedded to opt out of forward compatibility for this service.
|
|
@@ -290,7 +341,7 @@ func _Bxsubscribe_GetSubList_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/bxsubscribe.Bxsubscribe/GetSubList",
|
|
|
+ FullMethod: Bxsubscribe_GetSubList_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetSubList(ctx, req.(*SubscribeInfosReq))
|
|
@@ -308,7 +359,7 @@ func _Bxsubscribe_GetSubSomeInfo_Handler(srv interface{}, ctx context.Context, d
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/bxsubscribe.Bxsubscribe/GetSubSomeInfo",
|
|
|
+ FullMethod: Bxsubscribe_GetSubSomeInfo_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetSubSomeInfo(ctx, req.(*SomeInfoReq))
|
|
@@ -326,7 +377,7 @@ func _Bxsubscribe_UpdateSubScribeInfo_Handler(srv interface{}, ctx context.Conte
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/bxsubscribe.Bxsubscribe/UpdateSubScribeInfo",
|
|
|
+ FullMethod: Bxsubscribe_UpdateSubScribeInfo_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).UpdateSubScribeInfo(ctx, req.(*UpdateSubScribeInfoReq))
|
|
@@ -344,7 +395,7 @@ func _Bxsubscribe_ByPushHistory_Handler(srv interface{}, ctx context.Context, de
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/bxsubscribe.Bxsubscribe/ByPushHistory",
|
|
|
+ FullMethod: Bxsubscribe_ByPushHistory_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).ByPushHistory(ctx, req.(*SubscribeInfosReq))
|
|
@@ -362,7 +413,7 @@ func _Bxsubscribe_SetRead_Handler(srv interface{}, ctx context.Context, dec func
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/bxsubscribe.Bxsubscribe/SetRead",
|
|
|
+ FullMethod: Bxsubscribe_SetRead_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).SetRead(ctx, req.(*SetReadReq))
|
|
@@ -380,7 +431,7 @@ func _Bxsubscribe_GetKey_Handler(srv interface{}, ctx context.Context, dec func(
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/bxsubscribe.Bxsubscribe/GetKey",
|
|
|
+ FullMethod: Bxsubscribe_GetKey_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetKey(ctx, req.(*GetKeyReq))
|
|
@@ -398,7 +449,7 @@ func _Bxsubscribe_GetSubScribeInfo_Handler(srv interface{}, ctx context.Context,
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/bxsubscribe.Bxsubscribe/GetSubScribeInfo",
|
|
|
+ FullMethod: Bxsubscribe_GetSubScribeInfo_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetSubScribeInfo(ctx, req.(*UserReq))
|
|
@@ -416,7 +467,7 @@ func _Bxsubscribe_MsgDistributor_Handler(srv interface{}, ctx context.Context, d
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/bxsubscribe.Bxsubscribe/MsgDistributor",
|
|
|
+ FullMethod: Bxsubscribe_MsgDistributor_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).MsgDistributor(ctx, req.(*MsgDistributorReq))
|
|
@@ -434,7 +485,7 @@ func _Bxsubscribe_GetDistributor_Handler(srv interface{}, ctx context.Context, d
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/bxsubscribe.Bxsubscribe/GetDistributor",
|
|
|
+ FullMethod: Bxsubscribe_GetDistributor_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetDistributor(ctx, req.(*GetDistributorReq))
|
|
@@ -452,7 +503,7 @@ func _Bxsubscribe_GetViewStatus_Handler(srv interface{}, ctx context.Context, de
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/bxsubscribe.Bxsubscribe/GetViewStatus",
|
|
|
+ FullMethod: Bxsubscribe_GetViewStatus_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetViewStatus(ctx, req.(*GetViewStatusReq))
|
|
@@ -470,7 +521,7 @@ func _Bxsubscribe_UserInfo_Handler(srv interface{}, ctx context.Context, dec fun
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/bxsubscribe.Bxsubscribe/userInfo",
|
|
|
+ FullMethod: Bxsubscribe_UserInfo_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).UserInfo(ctx, req.(*GetUserInfoReq))
|
|
@@ -488,7 +539,7 @@ func _Bxsubscribe_SetUser_Handler(srv interface{}, ctx context.Context, dec func
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/bxsubscribe.Bxsubscribe/setUser",
|
|
|
+ FullMethod: Bxsubscribe_SetUser_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).SetUser(ctx, req.(*SetUserInfoReq))
|
|
@@ -506,7 +557,7 @@ func _Bxsubscribe_GetPushSet_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/bxsubscribe.Bxsubscribe/getPushSet",
|
|
|
+ FullMethod: Bxsubscribe_GetPushSet_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetPushSet(ctx, req.(*GetPushSetReq))
|
|
@@ -524,7 +575,7 @@ func _Bxsubscribe_SetPushSet_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: "/bxsubscribe.Bxsubscribe/setPushSet",
|
|
|
+ FullMethod: Bxsubscribe_SetPushSet_FullMethodName,
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).SetPushSet(ctx, req.(*SetPushSetReq))
|
|
@@ -532,6 +583,42 @@ func _Bxsubscribe_SetPushSet_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
+func _Bxsubscribe_GetStaffSubscribeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(StaffSubscribeReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BxsubscribeServer).GetStaffSubscribeList(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: Bxsubscribe_GetStaffSubscribeList_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BxsubscribeServer).GetStaffSubscribeList(ctx, req.(*StaffSubscribeReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
+func _Bxsubscribe_GetStaffSubscribeDetail_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(StaffSubscribeDetailReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BxsubscribeServer).GetStaffSubscribeDetail(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: Bxsubscribe_GetStaffSubscribeDetail_FullMethodName,
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BxsubscribeServer).GetStaffSubscribeDetail(ctx, req.(*StaffSubscribeDetailReq))
|
|
|
+ }
|
|
|
+ return interceptor(ctx, in, info, handler)
|
|
|
+}
|
|
|
+
|
|
|
// Bxsubscribe_ServiceDesc is the grpc.ServiceDesc for Bxsubscribe service.
|
|
|
// It's only intended for direct use with grpc.RegisterService,
|
|
|
// and not to be introspected or modified (even as a copy)
|
|
@@ -595,6 +682,14 @@ var Bxsubscribe_ServiceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "setPushSet",
|
|
|
Handler: _Bxsubscribe_SetPushSet_Handler,
|
|
|
},
|
|
|
+ {
|
|
|
+ MethodName: "getStaffSubscribeList",
|
|
|
+ Handler: _Bxsubscribe_GetStaffSubscribeList_Handler,
|
|
|
+ },
|
|
|
+ {
|
|
|
+ MethodName: "getStaffSubscribeDetail",
|
|
|
+ Handler: _Bxsubscribe_GetStaffSubscribeDetail_Handler,
|
|
|
+ },
|
|
|
},
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
Metadata: "bxsubscribe.proto",
|