|
@@ -1,11 +1,9 @@
|
|
|
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
|
|
|
// versions:
|
|
|
-// - protoc-gen-go-grpc v1.3.0
|
|
|
-// - protoc v3.15.1
|
|
|
+// - protoc-gen-go-grpc v1.2.0
|
|
|
+// - protoc v3.19.4
|
|
|
// source: bxsubscribe.proto
|
|
|
|
|
|
-//import "google/protobuf/struct.proto";
|
|
|
-
|
|
|
package bxsubscribe
|
|
|
|
|
|
import (
|
|
@@ -20,67 +18,48 @@ 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"
|
|
|
- Bxsubscribe_BidDistributor_FullMethodName = "/bxsubscribe.Bxsubscribe/bidDistributor"
|
|
|
- Bxsubscribe_BidRecList_FullMethodName = "/bxsubscribe.Bxsubscribe/bidRecList"
|
|
|
-)
|
|
|
-
|
|
|
// 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)
|
|
|
- // 标讯信息分发
|
|
|
+ //标讯信息分发
|
|
|
BidDistributor(ctx context.Context, in *BidDistributorReq, opts ...grpc.CallOption) (*StatusResp, error)
|
|
|
// 订阅推荐列表
|
|
|
BidRecList(ctx context.Context, in *BidRecListReq, opts ...grpc.CallOption) (*SubscribeInfosResp, error)
|
|
|
+ // 保存订阅向导设置
|
|
|
+ SaveTSGuide(ctx context.Context, in *SaveTSGuideReq, opts ...grpc.CallOption) (*StatusResp, error)
|
|
|
}
|
|
|
|
|
|
type bxsubscribeClient struct {
|
|
@@ -93,7 +72,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_GetSubList_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetSubList", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -102,7 +81,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_GetSubSomeInfo_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetSubSomeInfo", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -111,7 +90,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_UpdateSubScribeInfo_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/UpdateSubScribeInfo", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -120,7 +99,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_ByPushHistory_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/ByPushHistory", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -129,7 +108,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_SetRead_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/SetRead", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -138,7 +117,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_GetKey_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetKey", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -147,7 +126,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_GetSubScribeInfo_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetSubScribeInfo", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -156,7 +135,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_MsgDistributor_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/MsgDistributor", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -165,7 +144,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_GetDistributor_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetDistributor", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -174,7 +153,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_GetViewStatus_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/GetViewStatus", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -183,7 +162,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_UserInfo_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/userInfo", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -192,7 +171,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_SetUser_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/setUser", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -201,7 +180,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_GetPushSet_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/getPushSet", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -210,7 +189,7 @@ 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_SetPushSet_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/setPushSet", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -219,7 +198,7 @@ func (c *bxsubscribeClient) SetPushSet(ctx context.Context, in *SetPushSetReq, o
|
|
|
|
|
|
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...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/getStaffSubscribeList", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -228,7 +207,7 @@ func (c *bxsubscribeClient) GetStaffSubscribeList(ctx context.Context, in *Staff
|
|
|
|
|
|
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...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/getStaffSubscribeDetail", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -237,7 +216,7 @@ func (c *bxsubscribeClient) GetStaffSubscribeDetail(ctx context.Context, in *Sta
|
|
|
|
|
|
func (c *bxsubscribeClient) BidDistributor(ctx context.Context, in *BidDistributorReq, opts ...grpc.CallOption) (*StatusResp, error) {
|
|
|
out := new(StatusResp)
|
|
|
- err := c.cc.Invoke(ctx, Bxsubscribe_BidDistributor_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/bidDistributor", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -246,7 +225,16 @@ func (c *bxsubscribeClient) BidDistributor(ctx context.Context, in *BidDistribut
|
|
|
|
|
|
func (c *bxsubscribeClient) BidRecList(ctx context.Context, in *BidRecListReq, opts ...grpc.CallOption) (*SubscribeInfosResp, error) {
|
|
|
out := new(SubscribeInfosResp)
|
|
|
- err := c.cc.Invoke(ctx, Bxsubscribe_BidRecList_FullMethodName, in, out, opts...)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/bidRecList", in, out, opts...)
|
|
|
+ if err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ return out, nil
|
|
|
+}
|
|
|
+
|
|
|
+func (c *bxsubscribeClient) SaveTSGuide(ctx context.Context, in *SaveTSGuideReq, opts ...grpc.CallOption) (*StatusResp, error) {
|
|
|
+ out := new(StatusResp)
|
|
|
+ err := c.cc.Invoke(ctx, "/bxsubscribe.Bxsubscribe/SaveTSGuide", in, out, opts...)
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|
|
@@ -257,42 +245,44 @@ func (c *bxsubscribeClient) BidRecList(ctx context.Context, in *BidRecListReq, 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)
|
|
|
- // 标讯信息分发
|
|
|
+ //标讯信息分发
|
|
|
BidDistributor(context.Context, *BidDistributorReq) (*StatusResp, error)
|
|
|
// 订阅推荐列表
|
|
|
BidRecList(context.Context, *BidRecListReq) (*SubscribeInfosResp, error)
|
|
|
+ // 保存订阅向导设置
|
|
|
+ SaveTSGuide(context.Context, *SaveTSGuideReq) (*StatusResp, error)
|
|
|
mustEmbedUnimplementedBxsubscribeServer()
|
|
|
}
|
|
|
|
|
@@ -354,6 +344,9 @@ func (UnimplementedBxsubscribeServer) BidDistributor(context.Context, *BidDistri
|
|
|
func (UnimplementedBxsubscribeServer) BidRecList(context.Context, *BidRecListReq) (*SubscribeInfosResp, error) {
|
|
|
return nil, status.Errorf(codes.Unimplemented, "method BidRecList not implemented")
|
|
|
}
|
|
|
+func (UnimplementedBxsubscribeServer) SaveTSGuide(context.Context, *SaveTSGuideReq) (*StatusResp, error) {
|
|
|
+ return nil, status.Errorf(codes.Unimplemented, "method SaveTSGuide not implemented")
|
|
|
+}
|
|
|
func (UnimplementedBxsubscribeServer) mustEmbedUnimplementedBxsubscribeServer() {}
|
|
|
|
|
|
// UnsafeBxsubscribeServer may be embedded to opt out of forward compatibility for this service.
|
|
@@ -377,7 +370,7 @@ func _Bxsubscribe_GetSubList_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_GetSubList_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/GetSubList",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetSubList(ctx, req.(*SubscribeInfosReq))
|
|
@@ -395,7 +388,7 @@ func _Bxsubscribe_GetSubSomeInfo_Handler(srv interface{}, ctx context.Context, d
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_GetSubSomeInfo_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/GetSubSomeInfo",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetSubSomeInfo(ctx, req.(*SomeInfoReq))
|
|
@@ -413,7 +406,7 @@ func _Bxsubscribe_UpdateSubScribeInfo_Handler(srv interface{}, ctx context.Conte
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_UpdateSubScribeInfo_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/UpdateSubScribeInfo",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).UpdateSubScribeInfo(ctx, req.(*UpdateSubScribeInfoReq))
|
|
@@ -431,7 +424,7 @@ func _Bxsubscribe_ByPushHistory_Handler(srv interface{}, ctx context.Context, de
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_ByPushHistory_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/ByPushHistory",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).ByPushHistory(ctx, req.(*SubscribeInfosReq))
|
|
@@ -449,7 +442,7 @@ func _Bxsubscribe_SetRead_Handler(srv interface{}, ctx context.Context, dec func
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_SetRead_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/SetRead",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).SetRead(ctx, req.(*SetReadReq))
|
|
@@ -467,7 +460,7 @@ func _Bxsubscribe_GetKey_Handler(srv interface{}, ctx context.Context, dec func(
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_GetKey_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/GetKey",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetKey(ctx, req.(*GetKeyReq))
|
|
@@ -485,7 +478,7 @@ func _Bxsubscribe_GetSubScribeInfo_Handler(srv interface{}, ctx context.Context,
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_GetSubScribeInfo_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/GetSubScribeInfo",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetSubScribeInfo(ctx, req.(*UserReq))
|
|
@@ -503,7 +496,7 @@ func _Bxsubscribe_MsgDistributor_Handler(srv interface{}, ctx context.Context, d
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_MsgDistributor_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/MsgDistributor",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).MsgDistributor(ctx, req.(*MsgDistributorReq))
|
|
@@ -521,7 +514,7 @@ func _Bxsubscribe_GetDistributor_Handler(srv interface{}, ctx context.Context, d
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_GetDistributor_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/GetDistributor",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetDistributor(ctx, req.(*GetDistributorReq))
|
|
@@ -539,7 +532,7 @@ func _Bxsubscribe_GetViewStatus_Handler(srv interface{}, ctx context.Context, de
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_GetViewStatus_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/GetViewStatus",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetViewStatus(ctx, req.(*GetViewStatusReq))
|
|
@@ -557,7 +550,7 @@ func _Bxsubscribe_UserInfo_Handler(srv interface{}, ctx context.Context, dec fun
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_UserInfo_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/userInfo",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).UserInfo(ctx, req.(*GetUserInfoReq))
|
|
@@ -575,7 +568,7 @@ func _Bxsubscribe_SetUser_Handler(srv interface{}, ctx context.Context, dec func
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_SetUser_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/setUser",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).SetUser(ctx, req.(*SetUserInfoReq))
|
|
@@ -593,7 +586,7 @@ func _Bxsubscribe_GetPushSet_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_GetPushSet_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/getPushSet",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetPushSet(ctx, req.(*GetPushSetReq))
|
|
@@ -611,7 +604,7 @@ func _Bxsubscribe_SetPushSet_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_SetPushSet_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/setPushSet",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).SetPushSet(ctx, req.(*SetPushSetReq))
|
|
@@ -629,7 +622,7 @@ func _Bxsubscribe_GetStaffSubscribeList_Handler(srv interface{}, ctx context.Con
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_GetStaffSubscribeList_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/getStaffSubscribeList",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetStaffSubscribeList(ctx, req.(*StaffSubscribeReq))
|
|
@@ -647,7 +640,7 @@ func _Bxsubscribe_GetStaffSubscribeDetail_Handler(srv interface{}, ctx context.C
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_GetStaffSubscribeDetail_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/getStaffSubscribeDetail",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).GetStaffSubscribeDetail(ctx, req.(*StaffSubscribeDetailReq))
|
|
@@ -665,7 +658,7 @@ func _Bxsubscribe_BidDistributor_Handler(srv interface{}, ctx context.Context, d
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_BidDistributor_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/bidDistributor",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).BidDistributor(ctx, req.(*BidDistributorReq))
|
|
@@ -683,7 +676,7 @@ func _Bxsubscribe_BidRecList_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
}
|
|
|
info := &grpc.UnaryServerInfo{
|
|
|
Server: srv,
|
|
|
- FullMethod: Bxsubscribe_BidRecList_FullMethodName,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/bidRecList",
|
|
|
}
|
|
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
return srv.(BxsubscribeServer).BidRecList(ctx, req.(*BidRecListReq))
|
|
@@ -691,6 +684,24 @@ func _Bxsubscribe_BidRecList_Handler(srv interface{}, ctx context.Context, dec f
|
|
|
return interceptor(ctx, in, info, handler)
|
|
|
}
|
|
|
|
|
|
+func _Bxsubscribe_SaveTSGuide_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
|
|
+ in := new(SaveTSGuideReq)
|
|
|
+ if err := dec(in); err != nil {
|
|
|
+ return nil, err
|
|
|
+ }
|
|
|
+ if interceptor == nil {
|
|
|
+ return srv.(BxsubscribeServer).SaveTSGuide(ctx, in)
|
|
|
+ }
|
|
|
+ info := &grpc.UnaryServerInfo{
|
|
|
+ Server: srv,
|
|
|
+ FullMethod: "/bxsubscribe.Bxsubscribe/SaveTSGuide",
|
|
|
+ }
|
|
|
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
|
|
+ return srv.(BxsubscribeServer).SaveTSGuide(ctx, req.(*SaveTSGuideReq))
|
|
|
+ }
|
|
|
+ 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)
|
|
@@ -770,6 +781,10 @@ var Bxsubscribe_ServiceDesc = grpc.ServiceDesc{
|
|
|
MethodName: "bidRecList",
|
|
|
Handler: _Bxsubscribe_BidRecList_Handler,
|
|
|
},
|
|
|
+ {
|
|
|
+ MethodName: "SaveTSGuide",
|
|
|
+ Handler: _Bxsubscribe_SaveTSGuide_Handler,
|
|
|
+ },
|
|
|
},
|
|
|
Streams: []grpc.StreamDesc{},
|
|
|
Metadata: "bxsubscribe.proto",
|