Documentation ¶
Overview ¶
Package v1 is a generated blademaster stub package. This code was generated with go-common/app/tool/bmgen/protoc-gen-bm v0.1.
It is generated from these files:
api/grpc/v1/AnchorReward.proto
Index ¶
- Constants
- Variables
- func RegisterAnchorRewardServer(s *grpc.Server, srv AnchorRewardServer)
- func RegisterV1AnchorRewardService(e *bm.Engine, svc AnchorReward, midMap map[string]bm.HandlerFunc)
- type AnchorReward
- type AnchorRewardClient
- type AnchorRewardServer
- type AnchorTaskAddRewardReq
- func (*AnchorTaskAddRewardReq) Descriptor() ([]byte, []int)
- func (m *AnchorTaskAddRewardReq) GetLifespan() int64
- func (m *AnchorTaskAddRewardReq) GetOrderId() string
- func (m *AnchorTaskAddRewardReq) GetRewardId() int64
- func (m *AnchorTaskAddRewardReq) GetRoomid() int64
- func (m *AnchorTaskAddRewardReq) GetSource() int64
- func (m *AnchorTaskAddRewardReq) GetUid() int64
- func (m *AnchorTaskAddRewardReq) Marshal() (dAtA []byte, err error)
- func (m *AnchorTaskAddRewardReq) MarshalTo(dAtA []byte) (int, error)
- func (*AnchorTaskAddRewardReq) ProtoMessage()
- func (m *AnchorTaskAddRewardReq) Reset()
- func (m *AnchorTaskAddRewardReq) Size() (n int)
- func (m *AnchorTaskAddRewardReq) String() string
- func (m *AnchorTaskAddRewardReq) Unmarshal(dAtA []byte) error
- func (m *AnchorTaskAddRewardReq) XXX_DiscardUnknown()
- func (m *AnchorTaskAddRewardReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnchorTaskAddRewardReq) XXX_Merge(src proto.Message)
- func (m *AnchorTaskAddRewardReq) XXX_Size() int
- func (m *AnchorTaskAddRewardReq) XXX_Unmarshal(b []byte) error
- type AnchorTaskAddRewardResp
- func (*AnchorTaskAddRewardResp) Descriptor() ([]byte, []int)
- func (m *AnchorTaskAddRewardResp) GetResult() int64
- func (m *AnchorTaskAddRewardResp) Marshal() (dAtA []byte, err error)
- func (m *AnchorTaskAddRewardResp) MarshalTo(dAtA []byte) (int, error)
- func (*AnchorTaskAddRewardResp) ProtoMessage()
- func (m *AnchorTaskAddRewardResp) Reset()
- func (m *AnchorTaskAddRewardResp) Size() (n int)
- func (m *AnchorTaskAddRewardResp) String() string
- func (m *AnchorTaskAddRewardResp) Unmarshal(dAtA []byte) error
- func (m *AnchorTaskAddRewardResp) XXX_DiscardUnknown()
- func (m *AnchorTaskAddRewardResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnchorTaskAddRewardResp) XXX_Merge(src proto.Message)
- func (m *AnchorTaskAddRewardResp) XXX_Size() int
- func (m *AnchorTaskAddRewardResp) XXX_Unmarshal(b []byte) error
- type AnchorTaskIsViewedReq
- func (*AnchorTaskIsViewedReq) Descriptor() ([]byte, []int)
- func (m *AnchorTaskIsViewedReq) GetUid() int64
- func (m *AnchorTaskIsViewedReq) Marshal() (dAtA []byte, err error)
- func (m *AnchorTaskIsViewedReq) MarshalTo(dAtA []byte) (int, error)
- func (*AnchorTaskIsViewedReq) ProtoMessage()
- func (m *AnchorTaskIsViewedReq) Reset()
- func (m *AnchorTaskIsViewedReq) Size() (n int)
- func (m *AnchorTaskIsViewedReq) String() string
- func (m *AnchorTaskIsViewedReq) Unmarshal(dAtA []byte) error
- func (m *AnchorTaskIsViewedReq) XXX_DiscardUnknown()
- func (m *AnchorTaskIsViewedReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnchorTaskIsViewedReq) XXX_Merge(src proto.Message)
- func (m *AnchorTaskIsViewedReq) XXX_Size() int
- func (m *AnchorTaskIsViewedReq) XXX_Unmarshal(b []byte) error
- type AnchorTaskIsViewedResp
- func (*AnchorTaskIsViewedResp) Descriptor() ([]byte, []int)
- func (m *AnchorTaskIsViewedResp) GetIsBlacked() int64
- func (m *AnchorTaskIsViewedResp) GetRewardShouldNotice() int64
- func (m *AnchorTaskIsViewedResp) GetShowRewardEntry() int64
- func (m *AnchorTaskIsViewedResp) GetTaskShouldNotice() int64
- func (m *AnchorTaskIsViewedResp) GetTaskStatus() int64
- func (m *AnchorTaskIsViewedResp) GetUrl() string
- func (m *AnchorTaskIsViewedResp) Marshal() (dAtA []byte, err error)
- func (m *AnchorTaskIsViewedResp) MarshalTo(dAtA []byte) (int, error)
- func (*AnchorTaskIsViewedResp) ProtoMessage()
- func (m *AnchorTaskIsViewedResp) Reset()
- func (m *AnchorTaskIsViewedResp) Size() (n int)
- func (m *AnchorTaskIsViewedResp) String() string
- func (m *AnchorTaskIsViewedResp) Unmarshal(dAtA []byte) error
- func (m *AnchorTaskIsViewedResp) XXX_DiscardUnknown()
- func (m *AnchorTaskIsViewedResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnchorTaskIsViewedResp) XXX_Merge(src proto.Message)
- func (m *AnchorTaskIsViewedResp) XXX_Size() int
- func (m *AnchorTaskIsViewedResp) XXX_Unmarshal(b []byte) error
- type AnchorTaskMyRewardReq
- func (*AnchorTaskMyRewardReq) Descriptor() ([]byte, []int)
- func (m *AnchorTaskMyRewardReq) GetPage() int64
- func (m *AnchorTaskMyRewardReq) GetUid() int64
- func (m *AnchorTaskMyRewardReq) Marshal() (dAtA []byte, err error)
- func (m *AnchorTaskMyRewardReq) MarshalTo(dAtA []byte) (int, error)
- func (*AnchorTaskMyRewardReq) ProtoMessage()
- func (m *AnchorTaskMyRewardReq) Reset()
- func (m *AnchorTaskMyRewardReq) Size() (n int)
- func (m *AnchorTaskMyRewardReq) String() string
- func (m *AnchorTaskMyRewardReq) Unmarshal(dAtA []byte) error
- func (m *AnchorTaskMyRewardReq) XXX_DiscardUnknown()
- func (m *AnchorTaskMyRewardReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnchorTaskMyRewardReq) XXX_Merge(src proto.Message)
- func (m *AnchorTaskMyRewardReq) XXX_Size() int
- func (m *AnchorTaskMyRewardReq) XXX_Unmarshal(b []byte) error
- type AnchorTaskMyRewardResp
- func (*AnchorTaskMyRewardResp) Descriptor() ([]byte, []int)
- func (m *AnchorTaskMyRewardResp) GetData() []*AnchorTaskMyRewardResp_RewardObj
- func (m *AnchorTaskMyRewardResp) GetExpireCount() int64
- func (m *AnchorTaskMyRewardResp) GetPage() *AnchorTaskMyRewardResp_Page
- func (m *AnchorTaskMyRewardResp) Marshal() (dAtA []byte, err error)
- func (m *AnchorTaskMyRewardResp) MarshalTo(dAtA []byte) (int, error)
- func (*AnchorTaskMyRewardResp) ProtoMessage()
- func (m *AnchorTaskMyRewardResp) Reset()
- func (m *AnchorTaskMyRewardResp) Size() (n int)
- func (m *AnchorTaskMyRewardResp) String() string
- func (m *AnchorTaskMyRewardResp) Unmarshal(dAtA []byte) error
- func (m *AnchorTaskMyRewardResp) XXX_DiscardUnknown()
- func (m *AnchorTaskMyRewardResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnchorTaskMyRewardResp) XXX_Merge(src proto.Message)
- func (m *AnchorTaskMyRewardResp) XXX_Size() int
- func (m *AnchorTaskMyRewardResp) XXX_Unmarshal(b []byte) error
- type AnchorTaskMyRewardResp_Page
- func (*AnchorTaskMyRewardResp_Page) Descriptor() ([]byte, []int)
- func (m *AnchorTaskMyRewardResp_Page) GetPage() int64
- func (m *AnchorTaskMyRewardResp_Page) GetPageSize() int64
- func (m *AnchorTaskMyRewardResp_Page) GetTotalCount() int64
- func (m *AnchorTaskMyRewardResp_Page) GetTotalPage() int64
- func (m *AnchorTaskMyRewardResp_Page) Marshal() (dAtA []byte, err error)
- func (m *AnchorTaskMyRewardResp_Page) MarshalTo(dAtA []byte) (int, error)
- func (*AnchorTaskMyRewardResp_Page) ProtoMessage()
- func (m *AnchorTaskMyRewardResp_Page) Reset()
- func (m *AnchorTaskMyRewardResp_Page) Size() (n int)
- func (m *AnchorTaskMyRewardResp_Page) String() string
- func (m *AnchorTaskMyRewardResp_Page) Unmarshal(dAtA []byte) error
- func (m *AnchorTaskMyRewardResp_Page) XXX_DiscardUnknown()
- func (m *AnchorTaskMyRewardResp_Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnchorTaskMyRewardResp_Page) XXX_Merge(src proto.Message)
- func (m *AnchorTaskMyRewardResp_Page) XXX_Size() int
- func (m *AnchorTaskMyRewardResp_Page) XXX_Unmarshal(b []byte) error
- type AnchorTaskMyRewardResp_RewardObj
- func (*AnchorTaskMyRewardResp_RewardObj) Descriptor() ([]byte, []int)
- func (m *AnchorTaskMyRewardResp_RewardObj) GetAchieveTime() string
- func (m *AnchorTaskMyRewardResp_RewardObj) GetExpireTime() string
- func (m *AnchorTaskMyRewardResp_RewardObj) GetIcon() string
- func (m *AnchorTaskMyRewardResp_RewardObj) GetId() int64
- func (m *AnchorTaskMyRewardResp_RewardObj) GetName() string
- func (m *AnchorTaskMyRewardResp_RewardObj) GetRewardId() int64
- func (m *AnchorTaskMyRewardResp_RewardObj) GetRewardIntro() string
- func (m *AnchorTaskMyRewardResp_RewardObj) GetRewardType() int64
- func (m *AnchorTaskMyRewardResp_RewardObj) GetSource() int64
- func (m *AnchorTaskMyRewardResp_RewardObj) GetStatus() int64
- func (m *AnchorTaskMyRewardResp_RewardObj) Marshal() (dAtA []byte, err error)
- func (m *AnchorTaskMyRewardResp_RewardObj) MarshalTo(dAtA []byte) (int, error)
- func (*AnchorTaskMyRewardResp_RewardObj) ProtoMessage()
- func (m *AnchorTaskMyRewardResp_RewardObj) Reset()
- func (m *AnchorTaskMyRewardResp_RewardObj) Size() (n int)
- func (m *AnchorTaskMyRewardResp_RewardObj) String() string
- func (m *AnchorTaskMyRewardResp_RewardObj) Unmarshal(dAtA []byte) error
- func (m *AnchorTaskMyRewardResp_RewardObj) XXX_DiscardUnknown()
- func (m *AnchorTaskMyRewardResp_RewardObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnchorTaskMyRewardResp_RewardObj) XXX_Merge(src proto.Message)
- func (m *AnchorTaskMyRewardResp_RewardObj) XXX_Size() int
- func (m *AnchorTaskMyRewardResp_RewardObj) XXX_Unmarshal(b []byte) error
- type AnchorTaskUseRecordReq
- func (*AnchorTaskUseRecordReq) Descriptor() ([]byte, []int)
- func (m *AnchorTaskUseRecordReq) GetPage() int64
- func (m *AnchorTaskUseRecordReq) GetUid() int64
- func (m *AnchorTaskUseRecordReq) Marshal() (dAtA []byte, err error)
- func (m *AnchorTaskUseRecordReq) MarshalTo(dAtA []byte) (int, error)
- func (*AnchorTaskUseRecordReq) ProtoMessage()
- func (m *AnchorTaskUseRecordReq) Reset()
- func (m *AnchorTaskUseRecordReq) Size() (n int)
- func (m *AnchorTaskUseRecordReq) String() string
- func (m *AnchorTaskUseRecordReq) Unmarshal(dAtA []byte) error
- func (m *AnchorTaskUseRecordReq) XXX_DiscardUnknown()
- func (m *AnchorTaskUseRecordReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnchorTaskUseRecordReq) XXX_Merge(src proto.Message)
- func (m *AnchorTaskUseRecordReq) XXX_Size() int
- func (m *AnchorTaskUseRecordReq) XXX_Unmarshal(b []byte) error
- type AnchorTaskUseRecordResp
- func (*AnchorTaskUseRecordResp) Descriptor() ([]byte, []int)
- func (m *AnchorTaskUseRecordResp) GetData() []*AnchorTaskUseRecordResp_RewardObj
- func (m *AnchorTaskUseRecordResp) GetPage() *AnchorTaskUseRecordResp_Page
- func (m *AnchorTaskUseRecordResp) Marshal() (dAtA []byte, err error)
- func (m *AnchorTaskUseRecordResp) MarshalTo(dAtA []byte) (int, error)
- func (*AnchorTaskUseRecordResp) ProtoMessage()
- func (m *AnchorTaskUseRecordResp) Reset()
- func (m *AnchorTaskUseRecordResp) Size() (n int)
- func (m *AnchorTaskUseRecordResp) String() string
- func (m *AnchorTaskUseRecordResp) Unmarshal(dAtA []byte) error
- func (m *AnchorTaskUseRecordResp) XXX_DiscardUnknown()
- func (m *AnchorTaskUseRecordResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnchorTaskUseRecordResp) XXX_Merge(src proto.Message)
- func (m *AnchorTaskUseRecordResp) XXX_Size() int
- func (m *AnchorTaskUseRecordResp) XXX_Unmarshal(b []byte) error
- type AnchorTaskUseRecordResp_Page
- func (*AnchorTaskUseRecordResp_Page) Descriptor() ([]byte, []int)
- func (m *AnchorTaskUseRecordResp_Page) GetPage() int64
- func (m *AnchorTaskUseRecordResp_Page) GetPageSize() int64
- func (m *AnchorTaskUseRecordResp_Page) GetTotalCount() int64
- func (m *AnchorTaskUseRecordResp_Page) GetTotalPage() int64
- func (m *AnchorTaskUseRecordResp_Page) Marshal() (dAtA []byte, err error)
- func (m *AnchorTaskUseRecordResp_Page) MarshalTo(dAtA []byte) (int, error)
- func (*AnchorTaskUseRecordResp_Page) ProtoMessage()
- func (m *AnchorTaskUseRecordResp_Page) Reset()
- func (m *AnchorTaskUseRecordResp_Page) Size() (n int)
- func (m *AnchorTaskUseRecordResp_Page) String() string
- func (m *AnchorTaskUseRecordResp_Page) Unmarshal(dAtA []byte) error
- func (m *AnchorTaskUseRecordResp_Page) XXX_DiscardUnknown()
- func (m *AnchorTaskUseRecordResp_Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnchorTaskUseRecordResp_Page) XXX_Merge(src proto.Message)
- func (m *AnchorTaskUseRecordResp_Page) XXX_Size() int
- func (m *AnchorTaskUseRecordResp_Page) XXX_Unmarshal(b []byte) error
- type AnchorTaskUseRecordResp_RewardObj
- func (*AnchorTaskUseRecordResp_RewardObj) Descriptor() ([]byte, []int)
- func (m *AnchorTaskUseRecordResp_RewardObj) GetAchieveTime() string
- func (m *AnchorTaskUseRecordResp_RewardObj) GetExpireTime() string
- func (m *AnchorTaskUseRecordResp_RewardObj) GetIcon() string
- func (m *AnchorTaskUseRecordResp_RewardObj) GetId() int64
- func (m *AnchorTaskUseRecordResp_RewardObj) GetName() string
- func (m *AnchorTaskUseRecordResp_RewardObj) GetRewardId() int64
- func (m *AnchorTaskUseRecordResp_RewardObj) GetRewardIntro() string
- func (m *AnchorTaskUseRecordResp_RewardObj) GetSource() int64
- func (m *AnchorTaskUseRecordResp_RewardObj) GetStatus() int64
- func (m *AnchorTaskUseRecordResp_RewardObj) GetUseTime() string
- func (m *AnchorTaskUseRecordResp_RewardObj) Marshal() (dAtA []byte, err error)
- func (m *AnchorTaskUseRecordResp_RewardObj) MarshalTo(dAtA []byte) (int, error)
- func (*AnchorTaskUseRecordResp_RewardObj) ProtoMessage()
- func (m *AnchorTaskUseRecordResp_RewardObj) Reset()
- func (m *AnchorTaskUseRecordResp_RewardObj) Size() (n int)
- func (m *AnchorTaskUseRecordResp_RewardObj) String() string
- func (m *AnchorTaskUseRecordResp_RewardObj) Unmarshal(dAtA []byte) error
- func (m *AnchorTaskUseRecordResp_RewardObj) XXX_DiscardUnknown()
- func (m *AnchorTaskUseRecordResp_RewardObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnchorTaskUseRecordResp_RewardObj) XXX_Merge(src proto.Message)
- func (m *AnchorTaskUseRecordResp_RewardObj) XXX_Size() int
- func (m *AnchorTaskUseRecordResp_RewardObj) XXX_Unmarshal(b []byte) error
- type AnchorTaskUseRewardReq
- func (*AnchorTaskUseRewardReq) Descriptor() ([]byte, []int)
- func (m *AnchorTaskUseRewardReq) GetId() int64
- func (m *AnchorTaskUseRewardReq) GetUid() int64
- func (m *AnchorTaskUseRewardReq) GetUsePlat() string
- func (m *AnchorTaskUseRewardReq) Marshal() (dAtA []byte, err error)
- func (m *AnchorTaskUseRewardReq) MarshalTo(dAtA []byte) (int, error)
- func (*AnchorTaskUseRewardReq) ProtoMessage()
- func (m *AnchorTaskUseRewardReq) Reset()
- func (m *AnchorTaskUseRewardReq) Size() (n int)
- func (m *AnchorTaskUseRewardReq) String() string
- func (m *AnchorTaskUseRewardReq) Unmarshal(dAtA []byte) error
- func (m *AnchorTaskUseRewardReq) XXX_DiscardUnknown()
- func (m *AnchorTaskUseRewardReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnchorTaskUseRewardReq) XXX_Merge(src proto.Message)
- func (m *AnchorTaskUseRewardReq) XXX_Size() int
- func (m *AnchorTaskUseRewardReq) XXX_Unmarshal(b []byte) error
- type AnchorTaskUseRewardResp
- func (*AnchorTaskUseRewardResp) Descriptor() ([]byte, []int)
- func (m *AnchorTaskUseRewardResp) GetResult() int64
- func (m *AnchorTaskUseRewardResp) Marshal() (dAtA []byte, err error)
- func (m *AnchorTaskUseRewardResp) MarshalTo(dAtA []byte) (int, error)
- func (*AnchorTaskUseRewardResp) ProtoMessage()
- func (m *AnchorTaskUseRewardResp) Reset()
- func (m *AnchorTaskUseRewardResp) Size() (n int)
- func (m *AnchorTaskUseRewardResp) String() string
- func (m *AnchorTaskUseRewardResp) Unmarshal(dAtA []byte) error
- func (m *AnchorTaskUseRewardResp) XXX_DiscardUnknown()
- func (m *AnchorTaskUseRewardResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AnchorTaskUseRewardResp) XXX_Merge(src proto.Message)
- func (m *AnchorTaskUseRewardResp) XXX_Size() int
- func (m *AnchorTaskUseRewardResp) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const AppID = "live.xrewardcenter"
AppID unique app id for service discovery
Variables ¶
View Source
var ( ErrInvalidLengthAnchorReward = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAnchorReward = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterAnchorRewardServer ¶
func RegisterAnchorRewardServer(s *grpc.Server, srv AnchorRewardServer)
func RegisterV1AnchorRewardService ¶
func RegisterV1AnchorRewardService(e *bm.Engine, svc AnchorReward, midMap map[string]bm.HandlerFunc)
RegisterV1AnchorRewardService Register the blademaster route with middleware map midMap is the middleware map, the key is defined in proto
Types ¶
type AnchorReward ¶
type AnchorReward interface { // (主播侧)-我的主播奖励(登录态) // `method:"POST" internal:"true"` MyReward(ctx context.Context, req *AnchorTaskMyRewardReq) (resp *AnchorTaskMyRewardResp, err error) // * (主播侧)-奖励使用记录(登录态) // UseRecord(ctx context.Context, req *AnchorTaskUseRecordReq) (resp *AnchorTaskUseRecordResp, err error) // * (主播侧)-使用奖励(登录态) // UseReward(ctx context.Context, req *AnchorTaskUseRewardReq) (resp *AnchorTaskUseRewardResp, err error) // * (主播侧)-奖励和任务红点(登录态) // IsViewed(ctx context.Context, req *AnchorTaskIsViewedReq) (resp *AnchorTaskIsViewedResp, err error) // (主播侧)-添加主播奖励(内部接口) // `method:"POST" internal:"true"` AddReward(ctx context.Context, req *AnchorTaskAddRewardReq) (resp *AnchorTaskAddRewardResp, err error) }
type AnchorRewardClient ¶
type AnchorRewardClient interface { // (主播侧)-我的主播奖励(登录态) // `method:"POST" internal:"true"` MyReward(ctx context.Context, in *AnchorTaskMyRewardReq, opts ...grpc.CallOption) (*AnchorTaskMyRewardResp, error) // * (主播侧)-奖励使用记录(登录态) // UseRecord(ctx context.Context, in *AnchorTaskUseRecordReq, opts ...grpc.CallOption) (*AnchorTaskUseRecordResp, error) // * (主播侧)-使用奖励(登录态) // UseReward(ctx context.Context, in *AnchorTaskUseRewardReq, opts ...grpc.CallOption) (*AnchorTaskUseRewardResp, error) // * (主播侧)-奖励和任务红点(登录态) // IsViewed(ctx context.Context, in *AnchorTaskIsViewedReq, opts ...grpc.CallOption) (*AnchorTaskIsViewedResp, error) // (主播侧)-添加主播奖励(内部接口) // `method:"POST" internal:"true"` AddReward(ctx context.Context, in *AnchorTaskAddRewardReq, opts ...grpc.CallOption) (*AnchorTaskAddRewardResp, error) }
AnchorRewardClient is the client API for AnchorReward service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAnchorRewardClient ¶
func NewAnchorRewardClient(cc *grpc.ClientConn) AnchorRewardClient
func NewClient ¶
func NewClient(cfg *warden.ClientConfig, opts ...grpc.DialOption) (AnchorRewardClient, error)
NewClient new member grpc client
type AnchorRewardServer ¶
type AnchorRewardServer interface { // (主播侧)-我的主播奖励(登录态) // `method:"POST" internal:"true"` MyReward(context.Context, *AnchorTaskMyRewardReq) (*AnchorTaskMyRewardResp, error) // * (主播侧)-奖励使用记录(登录态) // UseRecord(context.Context, *AnchorTaskUseRecordReq) (*AnchorTaskUseRecordResp, error) // * (主播侧)-使用奖励(登录态) // UseReward(context.Context, *AnchorTaskUseRewardReq) (*AnchorTaskUseRewardResp, error) // * (主播侧)-奖励和任务红点(登录态) // IsViewed(context.Context, *AnchorTaskIsViewedReq) (*AnchorTaskIsViewedResp, error) // (主播侧)-添加主播奖励(内部接口) // `method:"POST" internal:"true"` AddReward(context.Context, *AnchorTaskAddRewardReq) (*AnchorTaskAddRewardResp, error) }
AnchorRewardServer is the server API for AnchorReward service.
type AnchorTaskAddRewardReq ¶
type AnchorTaskAddRewardReq struct { // 奖励id, 1:任意门 RewardId int64 `protobuf:"varint,4,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty" form:"reward_id" validate:"required"` // 房间号 Roomid int64 `protobuf:"varint,8,opt,name=roomid,proto3" json:"roomid,omitempty" form:"roomid" validate:"required"` // 来源,1:主播任务,2:小时榜,3:周星 Source int64 `protobuf:"varint,9,opt,name=source,proto3" json:"source,omitempty" form:"source" validate:"required"` // 主播uid Uid int64 `protobuf:"varint,10,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"` // 流水单号 OrderId string `protobuf:"bytes,11,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty" form:"order_id" validate:"required"` // 礼物有效期小时数,默认24小时 Lifespan int64 `protobuf:"varint,12,opt,name=lifespan,proto3" json:"lifespan,omitempty" form:"lifespan" validate:"min=0"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnchorTaskAddRewardReq) Descriptor ¶
func (*AnchorTaskAddRewardReq) Descriptor() ([]byte, []int)
func (*AnchorTaskAddRewardReq) GetLifespan ¶
func (m *AnchorTaskAddRewardReq) GetLifespan() int64
func (*AnchorTaskAddRewardReq) GetOrderId ¶
func (m *AnchorTaskAddRewardReq) GetOrderId() string
func (*AnchorTaskAddRewardReq) GetRewardId ¶
func (m *AnchorTaskAddRewardReq) GetRewardId() int64
func (*AnchorTaskAddRewardReq) GetRoomid ¶
func (m *AnchorTaskAddRewardReq) GetRoomid() int64
func (*AnchorTaskAddRewardReq) GetSource ¶
func (m *AnchorTaskAddRewardReq) GetSource() int64
func (*AnchorTaskAddRewardReq) GetUid ¶
func (m *AnchorTaskAddRewardReq) GetUid() int64
func (*AnchorTaskAddRewardReq) Marshal ¶
func (m *AnchorTaskAddRewardReq) Marshal() (dAtA []byte, err error)
func (*AnchorTaskAddRewardReq) MarshalTo ¶
func (m *AnchorTaskAddRewardReq) MarshalTo(dAtA []byte) (int, error)
func (*AnchorTaskAddRewardReq) ProtoMessage ¶
func (*AnchorTaskAddRewardReq) ProtoMessage()
func (*AnchorTaskAddRewardReq) Reset ¶
func (m *AnchorTaskAddRewardReq) Reset()
func (*AnchorTaskAddRewardReq) Size ¶
func (m *AnchorTaskAddRewardReq) Size() (n int)
func (*AnchorTaskAddRewardReq) String ¶
func (m *AnchorTaskAddRewardReq) String() string
func (*AnchorTaskAddRewardReq) Unmarshal ¶
func (m *AnchorTaskAddRewardReq) Unmarshal(dAtA []byte) error
func (*AnchorTaskAddRewardReq) XXX_DiscardUnknown ¶
func (m *AnchorTaskAddRewardReq) XXX_DiscardUnknown()
func (*AnchorTaskAddRewardReq) XXX_Marshal ¶
func (m *AnchorTaskAddRewardReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorTaskAddRewardReq) XXX_Merge ¶
func (dst *AnchorTaskAddRewardReq) XXX_Merge(src proto.Message)
func (*AnchorTaskAddRewardReq) XXX_Size ¶
func (m *AnchorTaskAddRewardReq) XXX_Size() int
func (*AnchorTaskAddRewardReq) XXX_Unmarshal ¶
func (m *AnchorTaskAddRewardReq) XXX_Unmarshal(b []byte) error
type AnchorTaskAddRewardResp ¶
type AnchorTaskAddRewardResp struct { // 是否成功 Result int64 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnchorTaskAddRewardResp) Descriptor ¶
func (*AnchorTaskAddRewardResp) Descriptor() ([]byte, []int)
func (*AnchorTaskAddRewardResp) GetResult ¶
func (m *AnchorTaskAddRewardResp) GetResult() int64
func (*AnchorTaskAddRewardResp) Marshal ¶
func (m *AnchorTaskAddRewardResp) Marshal() (dAtA []byte, err error)
func (*AnchorTaskAddRewardResp) MarshalTo ¶
func (m *AnchorTaskAddRewardResp) MarshalTo(dAtA []byte) (int, error)
func (*AnchorTaskAddRewardResp) ProtoMessage ¶
func (*AnchorTaskAddRewardResp) ProtoMessage()
func (*AnchorTaskAddRewardResp) Reset ¶
func (m *AnchorTaskAddRewardResp) Reset()
func (*AnchorTaskAddRewardResp) Size ¶
func (m *AnchorTaskAddRewardResp) Size() (n int)
func (*AnchorTaskAddRewardResp) String ¶
func (m *AnchorTaskAddRewardResp) String() string
func (*AnchorTaskAddRewardResp) Unmarshal ¶
func (m *AnchorTaskAddRewardResp) Unmarshal(dAtA []byte) error
func (*AnchorTaskAddRewardResp) XXX_DiscardUnknown ¶
func (m *AnchorTaskAddRewardResp) XXX_DiscardUnknown()
func (*AnchorTaskAddRewardResp) XXX_Marshal ¶
func (m *AnchorTaskAddRewardResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorTaskAddRewardResp) XXX_Merge ¶
func (dst *AnchorTaskAddRewardResp) XXX_Merge(src proto.Message)
func (*AnchorTaskAddRewardResp) XXX_Size ¶
func (m *AnchorTaskAddRewardResp) XXX_Size() int
func (*AnchorTaskAddRewardResp) XXX_Unmarshal ¶
func (m *AnchorTaskAddRewardResp) XXX_Unmarshal(b []byte) error
type AnchorTaskIsViewedReq ¶
type AnchorTaskIsViewedReq struct { // 主播uid Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnchorTaskIsViewedReq) Descriptor ¶
func (*AnchorTaskIsViewedReq) Descriptor() ([]byte, []int)
func (*AnchorTaskIsViewedReq) GetUid ¶
func (m *AnchorTaskIsViewedReq) GetUid() int64
func (*AnchorTaskIsViewedReq) Marshal ¶
func (m *AnchorTaskIsViewedReq) Marshal() (dAtA []byte, err error)
func (*AnchorTaskIsViewedReq) MarshalTo ¶
func (m *AnchorTaskIsViewedReq) MarshalTo(dAtA []byte) (int, error)
func (*AnchorTaskIsViewedReq) ProtoMessage ¶
func (*AnchorTaskIsViewedReq) ProtoMessage()
func (*AnchorTaskIsViewedReq) Reset ¶
func (m *AnchorTaskIsViewedReq) Reset()
func (*AnchorTaskIsViewedReq) Size ¶
func (m *AnchorTaskIsViewedReq) Size() (n int)
func (*AnchorTaskIsViewedReq) String ¶
func (m *AnchorTaskIsViewedReq) String() string
func (*AnchorTaskIsViewedReq) Unmarshal ¶
func (m *AnchorTaskIsViewedReq) Unmarshal(dAtA []byte) error
func (*AnchorTaskIsViewedReq) XXX_DiscardUnknown ¶
func (m *AnchorTaskIsViewedReq) XXX_DiscardUnknown()
func (*AnchorTaskIsViewedReq) XXX_Marshal ¶
func (m *AnchorTaskIsViewedReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorTaskIsViewedReq) XXX_Merge ¶
func (dst *AnchorTaskIsViewedReq) XXX_Merge(src proto.Message)
func (*AnchorTaskIsViewedReq) XXX_Size ¶
func (m *AnchorTaskIsViewedReq) XXX_Size() int
func (*AnchorTaskIsViewedReq) XXX_Unmarshal ¶
func (m *AnchorTaskIsViewedReq) XXX_Unmarshal(b []byte) error
type AnchorTaskIsViewedResp ¶
type AnchorTaskIsViewedResp struct { // 是否展示任务红点 TaskShouldNotice int64 `protobuf:"varint,1,opt,name=task_should_notice,json=taskShouldNotice,proto3" json:"task_should_notice,omitempty"` // 是否展示奖励入口 ShowRewardEntry int64 `protobuf:"varint,5,opt,name=show_reward_entry,json=showRewardEntry,proto3" json:"show_reward_entry,omitempty"` // 是否展示奖励红点 RewardShouldNotice int64 `protobuf:"varint,2,opt,name=reward_should_notice,json=rewardShouldNotice,proto3" json:"reward_should_notice,omitempty"` // 任务状态, 0:没有,1:领取, 5:完成 TaskStatus int64 `protobuf:"varint,3,opt,name=task_status,json=taskStatus,proto3" json:"task_status,omitempty"` // 是否在首页黑名单中 IsBlacked int64 `protobuf:"varint,4,opt,name=is_blacked,json=isBlacked,proto3" json:"is_blacked,omitempty"` // 点击跳转h5链接 Url string `protobuf:"bytes,6,opt,name=url,proto3" json:"url,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnchorTaskIsViewedResp) Descriptor ¶
func (*AnchorTaskIsViewedResp) Descriptor() ([]byte, []int)
func (*AnchorTaskIsViewedResp) GetIsBlacked ¶
func (m *AnchorTaskIsViewedResp) GetIsBlacked() int64
func (*AnchorTaskIsViewedResp) GetRewardShouldNotice ¶
func (m *AnchorTaskIsViewedResp) GetRewardShouldNotice() int64
func (*AnchorTaskIsViewedResp) GetShowRewardEntry ¶
func (m *AnchorTaskIsViewedResp) GetShowRewardEntry() int64
func (*AnchorTaskIsViewedResp) GetTaskShouldNotice ¶
func (m *AnchorTaskIsViewedResp) GetTaskShouldNotice() int64
func (*AnchorTaskIsViewedResp) GetTaskStatus ¶
func (m *AnchorTaskIsViewedResp) GetTaskStatus() int64
func (*AnchorTaskIsViewedResp) GetUrl ¶
func (m *AnchorTaskIsViewedResp) GetUrl() string
func (*AnchorTaskIsViewedResp) Marshal ¶
func (m *AnchorTaskIsViewedResp) Marshal() (dAtA []byte, err error)
func (*AnchorTaskIsViewedResp) MarshalTo ¶
func (m *AnchorTaskIsViewedResp) MarshalTo(dAtA []byte) (int, error)
func (*AnchorTaskIsViewedResp) ProtoMessage ¶
func (*AnchorTaskIsViewedResp) ProtoMessage()
func (*AnchorTaskIsViewedResp) Reset ¶
func (m *AnchorTaskIsViewedResp) Reset()
func (*AnchorTaskIsViewedResp) Size ¶
func (m *AnchorTaskIsViewedResp) Size() (n int)
func (*AnchorTaskIsViewedResp) String ¶
func (m *AnchorTaskIsViewedResp) String() string
func (*AnchorTaskIsViewedResp) Unmarshal ¶
func (m *AnchorTaskIsViewedResp) Unmarshal(dAtA []byte) error
func (*AnchorTaskIsViewedResp) XXX_DiscardUnknown ¶
func (m *AnchorTaskIsViewedResp) XXX_DiscardUnknown()
func (*AnchorTaskIsViewedResp) XXX_Marshal ¶
func (m *AnchorTaskIsViewedResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorTaskIsViewedResp) XXX_Merge ¶
func (dst *AnchorTaskIsViewedResp) XXX_Merge(src proto.Message)
func (*AnchorTaskIsViewedResp) XXX_Size ¶
func (m *AnchorTaskIsViewedResp) XXX_Size() int
func (*AnchorTaskIsViewedResp) XXX_Unmarshal ¶
func (m *AnchorTaskIsViewedResp) XXX_Unmarshal(b []byte) error
type AnchorTaskMyRewardReq ¶
type AnchorTaskMyRewardReq struct { // 页数 Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" form:"page"` // 主播uid Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnchorTaskMyRewardReq) Descriptor ¶
func (*AnchorTaskMyRewardReq) Descriptor() ([]byte, []int)
func (*AnchorTaskMyRewardReq) GetPage ¶
func (m *AnchorTaskMyRewardReq) GetPage() int64
func (*AnchorTaskMyRewardReq) GetUid ¶
func (m *AnchorTaskMyRewardReq) GetUid() int64
func (*AnchorTaskMyRewardReq) Marshal ¶
func (m *AnchorTaskMyRewardReq) Marshal() (dAtA []byte, err error)
func (*AnchorTaskMyRewardReq) MarshalTo ¶
func (m *AnchorTaskMyRewardReq) MarshalTo(dAtA []byte) (int, error)
func (*AnchorTaskMyRewardReq) ProtoMessage ¶
func (*AnchorTaskMyRewardReq) ProtoMessage()
func (*AnchorTaskMyRewardReq) Reset ¶
func (m *AnchorTaskMyRewardReq) Reset()
func (*AnchorTaskMyRewardReq) Size ¶
func (m *AnchorTaskMyRewardReq) Size() (n int)
func (*AnchorTaskMyRewardReq) String ¶
func (m *AnchorTaskMyRewardReq) String() string
func (*AnchorTaskMyRewardReq) Unmarshal ¶
func (m *AnchorTaskMyRewardReq) Unmarshal(dAtA []byte) error
func (*AnchorTaskMyRewardReq) XXX_DiscardUnknown ¶
func (m *AnchorTaskMyRewardReq) XXX_DiscardUnknown()
func (*AnchorTaskMyRewardReq) XXX_Marshal ¶
func (m *AnchorTaskMyRewardReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorTaskMyRewardReq) XXX_Merge ¶
func (dst *AnchorTaskMyRewardReq) XXX_Merge(src proto.Message)
func (*AnchorTaskMyRewardReq) XXX_Size ¶
func (m *AnchorTaskMyRewardReq) XXX_Size() int
func (*AnchorTaskMyRewardReq) XXX_Unmarshal ¶
func (m *AnchorTaskMyRewardReq) XXX_Unmarshal(b []byte) error
type AnchorTaskMyRewardResp ¶
type AnchorTaskMyRewardResp struct { // Data []*AnchorTaskMyRewardResp_RewardObj `protobuf:"bytes,1,rep,name=data" json:"data,omitempty"` // Page *AnchorTaskMyRewardResp_Page `protobuf:"bytes,2,opt,name=page" json:"page,omitempty"` // 过期奖励数量 ExpireCount int64 `protobuf:"varint,3,opt,name=expire_count,json=expireCount,proto3" json:"expire_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnchorTaskMyRewardResp) Descriptor ¶
func (*AnchorTaskMyRewardResp) Descriptor() ([]byte, []int)
func (*AnchorTaskMyRewardResp) GetData ¶
func (m *AnchorTaskMyRewardResp) GetData() []*AnchorTaskMyRewardResp_RewardObj
func (*AnchorTaskMyRewardResp) GetExpireCount ¶
func (m *AnchorTaskMyRewardResp) GetExpireCount() int64
func (*AnchorTaskMyRewardResp) GetPage ¶
func (m *AnchorTaskMyRewardResp) GetPage() *AnchorTaskMyRewardResp_Page
func (*AnchorTaskMyRewardResp) Marshal ¶
func (m *AnchorTaskMyRewardResp) Marshal() (dAtA []byte, err error)
func (*AnchorTaskMyRewardResp) MarshalTo ¶
func (m *AnchorTaskMyRewardResp) MarshalTo(dAtA []byte) (int, error)
func (*AnchorTaskMyRewardResp) ProtoMessage ¶
func (*AnchorTaskMyRewardResp) ProtoMessage()
func (*AnchorTaskMyRewardResp) Reset ¶
func (m *AnchorTaskMyRewardResp) Reset()
func (*AnchorTaskMyRewardResp) Size ¶
func (m *AnchorTaskMyRewardResp) Size() (n int)
func (*AnchorTaskMyRewardResp) String ¶
func (m *AnchorTaskMyRewardResp) String() string
func (*AnchorTaskMyRewardResp) Unmarshal ¶
func (m *AnchorTaskMyRewardResp) Unmarshal(dAtA []byte) error
func (*AnchorTaskMyRewardResp) XXX_DiscardUnknown ¶
func (m *AnchorTaskMyRewardResp) XXX_DiscardUnknown()
func (*AnchorTaskMyRewardResp) XXX_Marshal ¶
func (m *AnchorTaskMyRewardResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorTaskMyRewardResp) XXX_Merge ¶
func (dst *AnchorTaskMyRewardResp) XXX_Merge(src proto.Message)
func (*AnchorTaskMyRewardResp) XXX_Size ¶
func (m *AnchorTaskMyRewardResp) XXX_Size() int
func (*AnchorTaskMyRewardResp) XXX_Unmarshal ¶
func (m *AnchorTaskMyRewardResp) XXX_Unmarshal(b []byte) error
type AnchorTaskMyRewardResp_Page ¶
type AnchorTaskMyRewardResp_Page struct { // 当前页码 Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 每页大小 PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总页数 TotalPage int64 `protobuf:"varint,3,opt,name=total_page,json=totalPage,proto3" json:"total_page,omitempty"` // 总记录数 TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnchorTaskMyRewardResp_Page) Descriptor ¶
func (*AnchorTaskMyRewardResp_Page) Descriptor() ([]byte, []int)
func (*AnchorTaskMyRewardResp_Page) GetPage ¶
func (m *AnchorTaskMyRewardResp_Page) GetPage() int64
func (*AnchorTaskMyRewardResp_Page) GetPageSize ¶
func (m *AnchorTaskMyRewardResp_Page) GetPageSize() int64
func (*AnchorTaskMyRewardResp_Page) GetTotalCount ¶
func (m *AnchorTaskMyRewardResp_Page) GetTotalCount() int64
func (*AnchorTaskMyRewardResp_Page) GetTotalPage ¶
func (m *AnchorTaskMyRewardResp_Page) GetTotalPage() int64
func (*AnchorTaskMyRewardResp_Page) Marshal ¶
func (m *AnchorTaskMyRewardResp_Page) Marshal() (dAtA []byte, err error)
func (*AnchorTaskMyRewardResp_Page) MarshalTo ¶
func (m *AnchorTaskMyRewardResp_Page) MarshalTo(dAtA []byte) (int, error)
func (*AnchorTaskMyRewardResp_Page) ProtoMessage ¶
func (*AnchorTaskMyRewardResp_Page) ProtoMessage()
func (*AnchorTaskMyRewardResp_Page) Reset ¶
func (m *AnchorTaskMyRewardResp_Page) Reset()
func (*AnchorTaskMyRewardResp_Page) Size ¶
func (m *AnchorTaskMyRewardResp_Page) Size() (n int)
func (*AnchorTaskMyRewardResp_Page) String ¶
func (m *AnchorTaskMyRewardResp_Page) String() string
func (*AnchorTaskMyRewardResp_Page) Unmarshal ¶
func (m *AnchorTaskMyRewardResp_Page) Unmarshal(dAtA []byte) error
func (*AnchorTaskMyRewardResp_Page) XXX_DiscardUnknown ¶
func (m *AnchorTaskMyRewardResp_Page) XXX_DiscardUnknown()
func (*AnchorTaskMyRewardResp_Page) XXX_Marshal ¶
func (m *AnchorTaskMyRewardResp_Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorTaskMyRewardResp_Page) XXX_Merge ¶
func (dst *AnchorTaskMyRewardResp_Page) XXX_Merge(src proto.Message)
func (*AnchorTaskMyRewardResp_Page) XXX_Size ¶
func (m *AnchorTaskMyRewardResp_Page) XXX_Size() int
func (*AnchorTaskMyRewardResp_Page) XXX_Unmarshal ¶
func (m *AnchorTaskMyRewardResp_Page) XXX_Unmarshal(b []byte) error
type AnchorTaskMyRewardResp_RewardObj ¶
type AnchorTaskMyRewardResp_RewardObj struct { // id Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 奖励类型 1:ss推荐卡 2:s推荐卡、任意门 RewardType int64 `protobuf:"varint,2,opt,name=reward_type,json=rewardType,proto3" json:"reward_type,omitempty"` // 1:未使用,3:已使用,5:已过期 Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` // 奖励id RewardId int64 `protobuf:"varint,4,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` // 奖励名称 Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // 奖励图标 Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty"` // 获得时间datetime AchieveTime string `protobuf:"bytes,7,opt,name=achieve_time,json=achieveTime,proto3" json:"achieve_time,omitempty"` // 过期时间datetime ExpireTime string `protobuf:"bytes,8,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // 来源,1:主播任务,2:小时榜 Source int64 `protobuf:"varint,9,opt,name=source,proto3" json:"source,omitempty"` // 奖励简介 RewardIntro string `protobuf:"bytes,10,opt,name=reward_intro,json=rewardIntro,proto3" json:"reward_intro,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnchorTaskMyRewardResp_RewardObj) Descriptor ¶
func (*AnchorTaskMyRewardResp_RewardObj) Descriptor() ([]byte, []int)
func (*AnchorTaskMyRewardResp_RewardObj) GetAchieveTime ¶
func (m *AnchorTaskMyRewardResp_RewardObj) GetAchieveTime() string
func (*AnchorTaskMyRewardResp_RewardObj) GetExpireTime ¶
func (m *AnchorTaskMyRewardResp_RewardObj) GetExpireTime() string
func (*AnchorTaskMyRewardResp_RewardObj) GetIcon ¶
func (m *AnchorTaskMyRewardResp_RewardObj) GetIcon() string
func (*AnchorTaskMyRewardResp_RewardObj) GetId ¶
func (m *AnchorTaskMyRewardResp_RewardObj) GetId() int64
func (*AnchorTaskMyRewardResp_RewardObj) GetName ¶
func (m *AnchorTaskMyRewardResp_RewardObj) GetName() string
func (*AnchorTaskMyRewardResp_RewardObj) GetRewardId ¶
func (m *AnchorTaskMyRewardResp_RewardObj) GetRewardId() int64
func (*AnchorTaskMyRewardResp_RewardObj) GetRewardIntro ¶
func (m *AnchorTaskMyRewardResp_RewardObj) GetRewardIntro() string
func (*AnchorTaskMyRewardResp_RewardObj) GetRewardType ¶
func (m *AnchorTaskMyRewardResp_RewardObj) GetRewardType() int64
func (*AnchorTaskMyRewardResp_RewardObj) GetSource ¶
func (m *AnchorTaskMyRewardResp_RewardObj) GetSource() int64
func (*AnchorTaskMyRewardResp_RewardObj) GetStatus ¶
func (m *AnchorTaskMyRewardResp_RewardObj) GetStatus() int64
func (*AnchorTaskMyRewardResp_RewardObj) Marshal ¶
func (m *AnchorTaskMyRewardResp_RewardObj) Marshal() (dAtA []byte, err error)
func (*AnchorTaskMyRewardResp_RewardObj) MarshalTo ¶
func (m *AnchorTaskMyRewardResp_RewardObj) MarshalTo(dAtA []byte) (int, error)
func (*AnchorTaskMyRewardResp_RewardObj) ProtoMessage ¶
func (*AnchorTaskMyRewardResp_RewardObj) ProtoMessage()
func (*AnchorTaskMyRewardResp_RewardObj) Reset ¶
func (m *AnchorTaskMyRewardResp_RewardObj) Reset()
func (*AnchorTaskMyRewardResp_RewardObj) Size ¶
func (m *AnchorTaskMyRewardResp_RewardObj) Size() (n int)
func (*AnchorTaskMyRewardResp_RewardObj) String ¶
func (m *AnchorTaskMyRewardResp_RewardObj) String() string
func (*AnchorTaskMyRewardResp_RewardObj) Unmarshal ¶
func (m *AnchorTaskMyRewardResp_RewardObj) Unmarshal(dAtA []byte) error
func (*AnchorTaskMyRewardResp_RewardObj) XXX_DiscardUnknown ¶
func (m *AnchorTaskMyRewardResp_RewardObj) XXX_DiscardUnknown()
func (*AnchorTaskMyRewardResp_RewardObj) XXX_Marshal ¶
func (m *AnchorTaskMyRewardResp_RewardObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorTaskMyRewardResp_RewardObj) XXX_Merge ¶
func (dst *AnchorTaskMyRewardResp_RewardObj) XXX_Merge(src proto.Message)
func (*AnchorTaskMyRewardResp_RewardObj) XXX_Size ¶
func (m *AnchorTaskMyRewardResp_RewardObj) XXX_Size() int
func (*AnchorTaskMyRewardResp_RewardObj) XXX_Unmarshal ¶
func (m *AnchorTaskMyRewardResp_RewardObj) XXX_Unmarshal(b []byte) error
type AnchorTaskUseRecordReq ¶
type AnchorTaskUseRecordReq struct { // 页数 Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty" form:"page"` // 主播uid Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnchorTaskUseRecordReq) Descriptor ¶
func (*AnchorTaskUseRecordReq) Descriptor() ([]byte, []int)
func (*AnchorTaskUseRecordReq) GetPage ¶
func (m *AnchorTaskUseRecordReq) GetPage() int64
func (*AnchorTaskUseRecordReq) GetUid ¶
func (m *AnchorTaskUseRecordReq) GetUid() int64
func (*AnchorTaskUseRecordReq) Marshal ¶
func (m *AnchorTaskUseRecordReq) Marshal() (dAtA []byte, err error)
func (*AnchorTaskUseRecordReq) MarshalTo ¶
func (m *AnchorTaskUseRecordReq) MarshalTo(dAtA []byte) (int, error)
func (*AnchorTaskUseRecordReq) ProtoMessage ¶
func (*AnchorTaskUseRecordReq) ProtoMessage()
func (*AnchorTaskUseRecordReq) Reset ¶
func (m *AnchorTaskUseRecordReq) Reset()
func (*AnchorTaskUseRecordReq) Size ¶
func (m *AnchorTaskUseRecordReq) Size() (n int)
func (*AnchorTaskUseRecordReq) String ¶
func (m *AnchorTaskUseRecordReq) String() string
func (*AnchorTaskUseRecordReq) Unmarshal ¶
func (m *AnchorTaskUseRecordReq) Unmarshal(dAtA []byte) error
func (*AnchorTaskUseRecordReq) XXX_DiscardUnknown ¶
func (m *AnchorTaskUseRecordReq) XXX_DiscardUnknown()
func (*AnchorTaskUseRecordReq) XXX_Marshal ¶
func (m *AnchorTaskUseRecordReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorTaskUseRecordReq) XXX_Merge ¶
func (dst *AnchorTaskUseRecordReq) XXX_Merge(src proto.Message)
func (*AnchorTaskUseRecordReq) XXX_Size ¶
func (m *AnchorTaskUseRecordReq) XXX_Size() int
func (*AnchorTaskUseRecordReq) XXX_Unmarshal ¶
func (m *AnchorTaskUseRecordReq) XXX_Unmarshal(b []byte) error
type AnchorTaskUseRecordResp ¶
type AnchorTaskUseRecordResp struct { // Data []*AnchorTaskUseRecordResp_RewardObj `protobuf:"bytes,1,rep,name=data" json:"data,omitempty"` // Page *AnchorTaskUseRecordResp_Page `protobuf:"bytes,2,opt,name=page" json:"page,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnchorTaskUseRecordResp) Descriptor ¶
func (*AnchorTaskUseRecordResp) Descriptor() ([]byte, []int)
func (*AnchorTaskUseRecordResp) GetData ¶
func (m *AnchorTaskUseRecordResp) GetData() []*AnchorTaskUseRecordResp_RewardObj
func (*AnchorTaskUseRecordResp) GetPage ¶
func (m *AnchorTaskUseRecordResp) GetPage() *AnchorTaskUseRecordResp_Page
func (*AnchorTaskUseRecordResp) Marshal ¶
func (m *AnchorTaskUseRecordResp) Marshal() (dAtA []byte, err error)
func (*AnchorTaskUseRecordResp) MarshalTo ¶
func (m *AnchorTaskUseRecordResp) MarshalTo(dAtA []byte) (int, error)
func (*AnchorTaskUseRecordResp) ProtoMessage ¶
func (*AnchorTaskUseRecordResp) ProtoMessage()
func (*AnchorTaskUseRecordResp) Reset ¶
func (m *AnchorTaskUseRecordResp) Reset()
func (*AnchorTaskUseRecordResp) Size ¶
func (m *AnchorTaskUseRecordResp) Size() (n int)
func (*AnchorTaskUseRecordResp) String ¶
func (m *AnchorTaskUseRecordResp) String() string
func (*AnchorTaskUseRecordResp) Unmarshal ¶
func (m *AnchorTaskUseRecordResp) Unmarshal(dAtA []byte) error
func (*AnchorTaskUseRecordResp) XXX_DiscardUnknown ¶
func (m *AnchorTaskUseRecordResp) XXX_DiscardUnknown()
func (*AnchorTaskUseRecordResp) XXX_Marshal ¶
func (m *AnchorTaskUseRecordResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorTaskUseRecordResp) XXX_Merge ¶
func (dst *AnchorTaskUseRecordResp) XXX_Merge(src proto.Message)
func (*AnchorTaskUseRecordResp) XXX_Size ¶
func (m *AnchorTaskUseRecordResp) XXX_Size() int
func (*AnchorTaskUseRecordResp) XXX_Unmarshal ¶
func (m *AnchorTaskUseRecordResp) XXX_Unmarshal(b []byte) error
type AnchorTaskUseRecordResp_Page ¶
type AnchorTaskUseRecordResp_Page struct { // 当前页码 Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 每页大小 PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 总页数 TotalPage int64 `protobuf:"varint,3,opt,name=total_page,json=totalPage,proto3" json:"total_page,omitempty"` // 总记录数 TotalCount int64 `protobuf:"varint,4,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnchorTaskUseRecordResp_Page) Descriptor ¶
func (*AnchorTaskUseRecordResp_Page) Descriptor() ([]byte, []int)
func (*AnchorTaskUseRecordResp_Page) GetPage ¶
func (m *AnchorTaskUseRecordResp_Page) GetPage() int64
func (*AnchorTaskUseRecordResp_Page) GetPageSize ¶
func (m *AnchorTaskUseRecordResp_Page) GetPageSize() int64
func (*AnchorTaskUseRecordResp_Page) GetTotalCount ¶
func (m *AnchorTaskUseRecordResp_Page) GetTotalCount() int64
func (*AnchorTaskUseRecordResp_Page) GetTotalPage ¶
func (m *AnchorTaskUseRecordResp_Page) GetTotalPage() int64
func (*AnchorTaskUseRecordResp_Page) Marshal ¶
func (m *AnchorTaskUseRecordResp_Page) Marshal() (dAtA []byte, err error)
func (*AnchorTaskUseRecordResp_Page) MarshalTo ¶
func (m *AnchorTaskUseRecordResp_Page) MarshalTo(dAtA []byte) (int, error)
func (*AnchorTaskUseRecordResp_Page) ProtoMessage ¶
func (*AnchorTaskUseRecordResp_Page) ProtoMessage()
func (*AnchorTaskUseRecordResp_Page) Reset ¶
func (m *AnchorTaskUseRecordResp_Page) Reset()
func (*AnchorTaskUseRecordResp_Page) Size ¶
func (m *AnchorTaskUseRecordResp_Page) Size() (n int)
func (*AnchorTaskUseRecordResp_Page) String ¶
func (m *AnchorTaskUseRecordResp_Page) String() string
func (*AnchorTaskUseRecordResp_Page) Unmarshal ¶
func (m *AnchorTaskUseRecordResp_Page) Unmarshal(dAtA []byte) error
func (*AnchorTaskUseRecordResp_Page) XXX_DiscardUnknown ¶
func (m *AnchorTaskUseRecordResp_Page) XXX_DiscardUnknown()
func (*AnchorTaskUseRecordResp_Page) XXX_Marshal ¶
func (m *AnchorTaskUseRecordResp_Page) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorTaskUseRecordResp_Page) XXX_Merge ¶
func (dst *AnchorTaskUseRecordResp_Page) XXX_Merge(src proto.Message)
func (*AnchorTaskUseRecordResp_Page) XXX_Size ¶
func (m *AnchorTaskUseRecordResp_Page) XXX_Size() int
func (*AnchorTaskUseRecordResp_Page) XXX_Unmarshal ¶
func (m *AnchorTaskUseRecordResp_Page) XXX_Unmarshal(b []byte) error
type AnchorTaskUseRecordResp_RewardObj ¶
type AnchorTaskUseRecordResp_RewardObj struct { // id Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 奖励id RewardId int64 `protobuf:"varint,2,opt,name=reward_id,json=rewardId,proto3" json:"reward_id,omitempty"` // 1:未使用,3:已使用,5:已过期 Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` // 奖励名称 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` // 奖励图标 Icon string `protobuf:"bytes,5,opt,name=icon,proto3" json:"icon,omitempty"` // 获得时间datetime AchieveTime string `protobuf:"bytes,6,opt,name=achieve_time,json=achieveTime,proto3" json:"achieve_time,omitempty"` // 获得时间datetime UseTime string `protobuf:"bytes,10,opt,name=use_time,json=useTime,proto3" json:"use_time,omitempty"` // 过期时间datetime ExpireTime string `protobuf:"bytes,7,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // 来源,1:主播任务,2:小时榜 Source int64 `protobuf:"varint,8,opt,name=source,proto3" json:"source,omitempty"` // 奖励简介 RewardIntro string `protobuf:"bytes,9,opt,name=reward_intro,json=rewardIntro,proto3" json:"reward_intro,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnchorTaskUseRecordResp_RewardObj) Descriptor ¶
func (*AnchorTaskUseRecordResp_RewardObj) Descriptor() ([]byte, []int)
func (*AnchorTaskUseRecordResp_RewardObj) GetAchieveTime ¶
func (m *AnchorTaskUseRecordResp_RewardObj) GetAchieveTime() string
func (*AnchorTaskUseRecordResp_RewardObj) GetExpireTime ¶
func (m *AnchorTaskUseRecordResp_RewardObj) GetExpireTime() string
func (*AnchorTaskUseRecordResp_RewardObj) GetIcon ¶
func (m *AnchorTaskUseRecordResp_RewardObj) GetIcon() string
func (*AnchorTaskUseRecordResp_RewardObj) GetId ¶
func (m *AnchorTaskUseRecordResp_RewardObj) GetId() int64
func (*AnchorTaskUseRecordResp_RewardObj) GetName ¶
func (m *AnchorTaskUseRecordResp_RewardObj) GetName() string
func (*AnchorTaskUseRecordResp_RewardObj) GetRewardId ¶
func (m *AnchorTaskUseRecordResp_RewardObj) GetRewardId() int64
func (*AnchorTaskUseRecordResp_RewardObj) GetRewardIntro ¶
func (m *AnchorTaskUseRecordResp_RewardObj) GetRewardIntro() string
func (*AnchorTaskUseRecordResp_RewardObj) GetSource ¶
func (m *AnchorTaskUseRecordResp_RewardObj) GetSource() int64
func (*AnchorTaskUseRecordResp_RewardObj) GetStatus ¶
func (m *AnchorTaskUseRecordResp_RewardObj) GetStatus() int64
func (*AnchorTaskUseRecordResp_RewardObj) GetUseTime ¶
func (m *AnchorTaskUseRecordResp_RewardObj) GetUseTime() string
func (*AnchorTaskUseRecordResp_RewardObj) Marshal ¶
func (m *AnchorTaskUseRecordResp_RewardObj) Marshal() (dAtA []byte, err error)
func (*AnchorTaskUseRecordResp_RewardObj) MarshalTo ¶
func (m *AnchorTaskUseRecordResp_RewardObj) MarshalTo(dAtA []byte) (int, error)
func (*AnchorTaskUseRecordResp_RewardObj) ProtoMessage ¶
func (*AnchorTaskUseRecordResp_RewardObj) ProtoMessage()
func (*AnchorTaskUseRecordResp_RewardObj) Reset ¶
func (m *AnchorTaskUseRecordResp_RewardObj) Reset()
func (*AnchorTaskUseRecordResp_RewardObj) Size ¶
func (m *AnchorTaskUseRecordResp_RewardObj) Size() (n int)
func (*AnchorTaskUseRecordResp_RewardObj) String ¶
func (m *AnchorTaskUseRecordResp_RewardObj) String() string
func (*AnchorTaskUseRecordResp_RewardObj) Unmarshal ¶
func (m *AnchorTaskUseRecordResp_RewardObj) Unmarshal(dAtA []byte) error
func (*AnchorTaskUseRecordResp_RewardObj) XXX_DiscardUnknown ¶
func (m *AnchorTaskUseRecordResp_RewardObj) XXX_DiscardUnknown()
func (*AnchorTaskUseRecordResp_RewardObj) XXX_Marshal ¶
func (m *AnchorTaskUseRecordResp_RewardObj) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorTaskUseRecordResp_RewardObj) XXX_Merge ¶
func (dst *AnchorTaskUseRecordResp_RewardObj) XXX_Merge(src proto.Message)
func (*AnchorTaskUseRecordResp_RewardObj) XXX_Size ¶
func (m *AnchorTaskUseRecordResp_RewardObj) XXX_Size() int
func (*AnchorTaskUseRecordResp_RewardObj) XXX_Unmarshal ¶
func (m *AnchorTaskUseRecordResp_RewardObj) XXX_Unmarshal(b []byte) error
type AnchorTaskUseRewardReq ¶
type AnchorTaskUseRewardReq struct { // 奖励列表id Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty" form:"id" validate:"required"` // 主播uid Uid int64 `protobuf:"varint,2,opt,name=uid,proto3" json:"uid,omitempty" form:"uid" validate:"required"` // 使用平台 UsePlat string `protobuf:"bytes,3,opt,name=use_plat,json=usePlat,proto3" json:"use_plat,omitempty" form:"use_plat" validate:"required"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnchorTaskUseRewardReq) Descriptor ¶
func (*AnchorTaskUseRewardReq) Descriptor() ([]byte, []int)
func (*AnchorTaskUseRewardReq) GetId ¶
func (m *AnchorTaskUseRewardReq) GetId() int64
func (*AnchorTaskUseRewardReq) GetUid ¶
func (m *AnchorTaskUseRewardReq) GetUid() int64
func (*AnchorTaskUseRewardReq) GetUsePlat ¶
func (m *AnchorTaskUseRewardReq) GetUsePlat() string
func (*AnchorTaskUseRewardReq) Marshal ¶
func (m *AnchorTaskUseRewardReq) Marshal() (dAtA []byte, err error)
func (*AnchorTaskUseRewardReq) MarshalTo ¶
func (m *AnchorTaskUseRewardReq) MarshalTo(dAtA []byte) (int, error)
func (*AnchorTaskUseRewardReq) ProtoMessage ¶
func (*AnchorTaskUseRewardReq) ProtoMessage()
func (*AnchorTaskUseRewardReq) Reset ¶
func (m *AnchorTaskUseRewardReq) Reset()
func (*AnchorTaskUseRewardReq) Size ¶
func (m *AnchorTaskUseRewardReq) Size() (n int)
func (*AnchorTaskUseRewardReq) String ¶
func (m *AnchorTaskUseRewardReq) String() string
func (*AnchorTaskUseRewardReq) Unmarshal ¶
func (m *AnchorTaskUseRewardReq) Unmarshal(dAtA []byte) error
func (*AnchorTaskUseRewardReq) XXX_DiscardUnknown ¶
func (m *AnchorTaskUseRewardReq) XXX_DiscardUnknown()
func (*AnchorTaskUseRewardReq) XXX_Marshal ¶
func (m *AnchorTaskUseRewardReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorTaskUseRewardReq) XXX_Merge ¶
func (dst *AnchorTaskUseRewardReq) XXX_Merge(src proto.Message)
func (*AnchorTaskUseRewardReq) XXX_Size ¶
func (m *AnchorTaskUseRewardReq) XXX_Size() int
func (*AnchorTaskUseRewardReq) XXX_Unmarshal ¶
func (m *AnchorTaskUseRewardReq) XXX_Unmarshal(b []byte) error
type AnchorTaskUseRewardResp ¶
type AnchorTaskUseRewardResp struct { Result int64 `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AnchorTaskUseRewardResp) Descriptor ¶
func (*AnchorTaskUseRewardResp) Descriptor() ([]byte, []int)
func (*AnchorTaskUseRewardResp) GetResult ¶
func (m *AnchorTaskUseRewardResp) GetResult() int64
func (*AnchorTaskUseRewardResp) Marshal ¶
func (m *AnchorTaskUseRewardResp) Marshal() (dAtA []byte, err error)
func (*AnchorTaskUseRewardResp) MarshalTo ¶
func (m *AnchorTaskUseRewardResp) MarshalTo(dAtA []byte) (int, error)
func (*AnchorTaskUseRewardResp) ProtoMessage ¶
func (*AnchorTaskUseRewardResp) ProtoMessage()
func (*AnchorTaskUseRewardResp) Reset ¶
func (m *AnchorTaskUseRewardResp) Reset()
func (*AnchorTaskUseRewardResp) Size ¶
func (m *AnchorTaskUseRewardResp) Size() (n int)
func (*AnchorTaskUseRewardResp) String ¶
func (m *AnchorTaskUseRewardResp) String() string
func (*AnchorTaskUseRewardResp) Unmarshal ¶
func (m *AnchorTaskUseRewardResp) Unmarshal(dAtA []byte) error
func (*AnchorTaskUseRewardResp) XXX_DiscardUnknown ¶
func (m *AnchorTaskUseRewardResp) XXX_DiscardUnknown()
func (*AnchorTaskUseRewardResp) XXX_Marshal ¶
func (m *AnchorTaskUseRewardResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AnchorTaskUseRewardResp) XXX_Merge ¶
func (dst *AnchorTaskUseRewardResp) XXX_Merge(src proto.Message)
func (*AnchorTaskUseRewardResp) XXX_Size ¶
func (m *AnchorTaskUseRewardResp) XXX_Size() int
func (*AnchorTaskUseRewardResp) XXX_Unmarshal ¶
func (m *AnchorTaskUseRewardResp) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.