accountBean

package
v0.0.0-...-b08fcc5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeIncr = 1 // 增加
	TypeDecr = 2 // 减少

	BeanEventRechargeByAdmin          = 1 // 后台充值
	BeanEventTransferInByTrader       = 2 // 币商转入
	BeanEventRechargeByAdminForTrader = 3 // 后台给币商加币
	BeanEventRechargeByMoney          = 4 // 用户付费充值(用钱充值)

	BeanEventSendGift               = 10001 // 打赏礼物
	BeanEventBuyProp                = 10002 // 购买道具
	BeanEventReduceByAdmin          = 10003 // 后台扣除
	BeanEventTransferOutByTrader    = 10004 // 币商转出
	BeanEventReduceByAdminForTrader = 10005 // 后台给币商扣币
	BeanEventPayForLive             = 10006 // 付费直播缴费
	BeanEventThirdGameTransfer      = 10007 // 三方游戏钱包与平台金豆之间互转
)

Variables

View Source
var File_proto_bean_bean_proto protoreflect.FileDescriptor

Functions

func NewAccountBeanEndpoints

func NewAccountBeanEndpoints() []*api.Endpoint

func RegisterAccountBeanHandler

func RegisterAccountBeanHandler(s server.Server, hdlr AccountBeanHandler, opts ...server.HandlerOption) error

Types

type AccountBeanService

type AccountBeanService interface {
	Get(ctx context.Context, in *GetReq, opts ...client.CallOption) (*GetRes, error)
	GetMulti(ctx context.Context, in *GetMultiReq, opts ...client.CallOption) (*GetMultiRes, error)
	Incr(ctx context.Context, in *IncrReq, opts ...client.CallOption) (*IncrRes, error)
	Decr(ctx context.Context, in *DecrReq, opts ...client.CallOption) (*DecrRes, error)
	CreateDetail(ctx context.Context, in *CreateDetailReq, opts ...client.CallOption) (*emptypb.Empty, error)
	ListDetail(ctx context.Context, in *ListDetailReq, opts ...client.CallOption) (*ListDetailRes, error)
	GetSumOfEvent(ctx context.Context, in *GetSumOfEventReq, opts ...client.CallOption) (*GetSumOfEventRes, error)
}

func NewAccountBeanService

func NewAccountBeanService(name string, c client.Client) AccountBeanService

type AdminSummary

type AdminSummary struct {
	AdminId   string `json:"admin_id"`
	AdminName string `json:"admin_name"`
	Remark    string `json:"remark"`
}

func (*AdminSummary) ToJsonString

func (b *AdminSummary) ToJsonString() string

type BeanDetailItem

type BeanDetailItem struct {
	DetailId     int64  `protobuf:"varint,1,opt,name=detail_id,json=detailId,proto3" json:"detail_id"`               // 流水id(唯一)
	UserId       int64  `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id"`                     // 用户id
	OuterOrderId int64  `protobuf:"varint,3,opt,name=outer_order_id,json=outerOrderId,proto3" json:"outer_order_id"` // 外部单号(唯一)
	Event        int32  `protobuf:"varint,4,opt,name=event,proto3" json:"event"`                                     // 变更事件
	Type         int32  `protobuf:"varint,5,opt,name=type,proto3" json:"type"`                                       // 变更方式 1 加 2 减
	Value        int64  `protobuf:"varint,6,opt,name=value,proto3" json:"value"`                                     // 变更值
	ValueBefore  int64  `protobuf:"varint,7,opt,name=value_before,json=valueBefore,proto3" json:"value_before"`      // 变更之前的值
	ValueAfter   int64  `protobuf:"varint,8,opt,name=value_after,json=valueAfter,proto3" json:"value_after"`         // 变更之后的值
	ChangeNumber int64  `protobuf:"varint,9,opt,name=change_number,json=changeNumber,proto3" json:"change_number"`   // 变更序号
	ChangeTime   string `protobuf:"bytes,10,opt,name=change_time,json=changeTime,proto3" json:"change_time"`         // 变更时间
	Summary      string `protobuf:"bytes,11,opt,name=summary,proto3" json:"summary"`                                 // 摘要(透传数据)
	CreatedAt    string `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at"`            // 记录生成时间(数据库时间)
	// contains filtered or unexported fields
}

func (*BeanDetailItem) Descriptor deprecated

func (*BeanDetailItem) Descriptor() ([]byte, []int)

Deprecated: Use BeanDetailItem.ProtoReflect.Descriptor instead.

func (*BeanDetailItem) GetChangeNumber

func (x *BeanDetailItem) GetChangeNumber() int64

func (*BeanDetailItem) GetChangeTime

func (x *BeanDetailItem) GetChangeTime() string

func (*BeanDetailItem) GetCreatedAt

func (x *BeanDetailItem) GetCreatedAt() string

func (*BeanDetailItem) GetDetailId

func (x *BeanDetailItem) GetDetailId() int64

func (*BeanDetailItem) GetEvent

func (x *BeanDetailItem) GetEvent() int32

func (*BeanDetailItem) GetOuterOrderId

func (x *BeanDetailItem) GetOuterOrderId() int64

func (*BeanDetailItem) GetSummary

func (x *BeanDetailItem) GetSummary() string

func (*BeanDetailItem) GetType

func (x *BeanDetailItem) GetType() int32

func (*BeanDetailItem) GetUserId

func (x *BeanDetailItem) GetUserId() int64

func (*BeanDetailItem) GetValue

func (x *BeanDetailItem) GetValue() int64

func (*BeanDetailItem) GetValueAfter

func (x *BeanDetailItem) GetValueAfter() int64

func (*BeanDetailItem) GetValueBefore

func (x *BeanDetailItem) GetValueBefore() int64

func (*BeanDetailItem) ProtoMessage

func (*BeanDetailItem) ProtoMessage()

func (*BeanDetailItem) ProtoReflect

func (x *BeanDetailItem) ProtoReflect() protoreflect.Message

func (*BeanDetailItem) Reset

func (x *BeanDetailItem) Reset()

func (*BeanDetailItem) String

func (x *BeanDetailItem) String() string

type BeanSummaryBuyProp

type BeanSummaryBuyProp struct {
	GoodsId   int64  `json:"goods_id"`   // 商品ID
	GoodsName string `json:"goods_name"` // 商品名称
	Country   string `json:"country"`    // 所属国家
	GoodsType int32  `json:"goods_type"` // 商品类型
	OuterId   int64  `json:"outer_id"`   // 外部物品ID(按类型关联的外部ID)
	Price     int64  `json:"price"`
	Term      int64  `json:"term"`
	RenewId   int64  `json:"renew_id"` // 续费ID
}

BeanSummaryBuyProp 购买道具

func (*BeanSummaryBuyProp) ToJsonString

func (b *BeanSummaryBuyProp) ToJsonString() string

type BeanSummaryByAdminForTrader

type BeanSummaryByAdminForTrader struct {
	AdminId     string `json:"admin_id"`
	AdminName   string `json:"admin_name"`
	Remark      string `json:"remark"`
	MoneyAmount int64  `json:"money_amount"`
	Country     string `json:"country"`
}

func (*BeanSummaryByAdminForTrader) ToJsonString

func (b *BeanSummaryByAdminForTrader) ToJsonString() string

type BeanSummaryPayForLive

type BeanSummaryPayForLive struct {
	UserId     int64  `json:"user_id"`      // 观众uid
	AnchorId   int64  `json:"anchor_id"`    // 主播ID
	LiveId     int64  `json:"live_id"`      // 直播ID
	PayType    int32  `json:"pay_type"`     // 类型: 1 单场付费 2 分钟付费
	PayForTime string `json:"pay_for_time"` // 分钟付费具体的时间: 2006-01-02 15:04(单场则为开始付费的那一分钟)
	Amount     int64  `json:"amount"`       // 付费金额
}

func (*BeanSummaryPayForLive) ToJsonString

func (b *BeanSummaryPayForLive) ToJsonString() string

type BeanSummaryRechargeByAdmin

type BeanSummaryRechargeByAdmin struct {
	AdminSummary
}

BeanSummaryRechargeByAdmin 后台充值

type BeanSummaryRechargeByMoney

type BeanSummaryRechargeByMoney struct {
	PayChannel  string `json:"pay_channel"`
	PayOrderId  string `json:"pay_order_id"`
	MoneyAmount int64  `json:"money_amount"` //
}

BeanSummaryRechargeByMoney 用钱充值

func (*BeanSummaryRechargeByMoney) ToJsonString

func (b *BeanSummaryRechargeByMoney) ToJsonString() string

type BeanSummaryReduceByAdmin

type BeanSummaryReduceByAdmin struct {
	AdminSummary
}

BeanSummaryReduceByAdmin 后台扣除

type BeanSummarySendGift

type BeanSummarySendGift struct {
	GiftId     int64  `json:"gift_id"`      // 礼物ID
	GiftName   string `json:"gift_name"`    // 礼物名称
	GiftPrice  int64  `json:"gift_price"`   // 礼物价格(钻石)
	GiftCount  int64  `json:"gift_count"`   // 礼物数量
	FromUserId int64  `json:"from_user_id"` // 送礼人
	ToUserId   int64  `json:"to_user_id"`   // 收礼人
	GiftScene  string `json:"scene"`        // 送礼物场景
	LiveId     int64  `json:"live_id"`      // 直播ID
	GroupId    int64  `json:"group_id"`     // 粉丝群ID
}

BeanSummarySendGift 打赏礼物

func (*BeanSummarySendGift) ToJsonString

func (b *BeanSummarySendGift) ToJsonString() string

type BeanSummaryThirdGameTransfer

type BeanSummaryThirdGameTransfer struct {
	GameOrderId      string `json:"game_order_id"`      // 三方游戏订单ID
	GameGoldCoin     int64  `json:"game_gold_coin"`     // 三方游戏账户金币数,计算兑换比例后的值
	GameExchangeRate int32  `json:"game_exchange_rate"` // 默认=1 即为1:1 1个金豆兑换GameExchangeRate个金币
	GameBalance      int64  `json:"game_balance"`       // 调用游戏划转接口后 接口返回划转成功后游戏账户余额,暂时记录下,方便后期使用
}

func (*BeanSummaryThirdGameTransfer) ToJsonString

func (b *BeanSummaryThirdGameTransfer) ToJsonString() string

type BeanSummaryTraderTransfer

type BeanSummaryTraderTransfer struct {
	FromTrader  int64  `json:"from_trader"`
	ToUser      int64  `json:"to_user"`
	Amount      int64  `json:"amount"`
	MoneyAmount int64  `json:"money_amount"`
	Country     string `json:"country"`
}

func (*BeanSummaryTraderTransfer) ToJsonString

func (b *BeanSummaryTraderTransfer) ToJsonString() string

type CreateDetailReq

type CreateDetailReq struct {
	Detail *BeanDetailItem `protobuf:"bytes,1,opt,name=detail,proto3" json:"detail"` // 变更记录
	// contains filtered or unexported fields
}

func (*CreateDetailReq) Descriptor deprecated

func (*CreateDetailReq) Descriptor() ([]byte, []int)

Deprecated: Use CreateDetailReq.ProtoReflect.Descriptor instead.

func (*CreateDetailReq) GetDetail

func (x *CreateDetailReq) GetDetail() *BeanDetailItem

func (*CreateDetailReq) ProtoMessage

func (*CreateDetailReq) ProtoMessage()

func (*CreateDetailReq) ProtoReflect

func (x *CreateDetailReq) ProtoReflect() protoreflect.Message

func (*CreateDetailReq) Reset

func (x *CreateDetailReq) Reset()

func (*CreateDetailReq) String

func (x *CreateDetailReq) String() string

type DecrReq

type DecrReq struct {
	OuterOrderId int64  `protobuf:"varint,1,opt,name=outer_order_id,json=outerOrderId,proto3" json:"outer_order_id"` // 外部单号
	UserId       int64  `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id"`                     // 用户id
	Value        int64  `protobuf:"varint,3,opt,name=value,proto3" json:"value"`                                     // 减少金额
	Event        int32  `protobuf:"varint,4,opt,name=event,proto3" json:"event"`                                     // 事件
	Summary      string `protobuf:"bytes,5,opt,name=summary,proto3" json:"summary"`                                  // 摘要:json
	// contains filtered or unexported fields
}

func (*DecrReq) Descriptor deprecated

func (*DecrReq) Descriptor() ([]byte, []int)

Deprecated: Use DecrReq.ProtoReflect.Descriptor instead.

func (*DecrReq) GetEvent

func (x *DecrReq) GetEvent() int32

func (*DecrReq) GetOuterOrderId

func (x *DecrReq) GetOuterOrderId() int64

func (*DecrReq) GetSummary

func (x *DecrReq) GetSummary() string

func (*DecrReq) GetUserId

func (x *DecrReq) GetUserId() int64

func (*DecrReq) GetValue

func (x *DecrReq) GetValue() int64

func (*DecrReq) ProtoMessage

func (*DecrReq) ProtoMessage()

func (*DecrReq) ProtoReflect

func (x *DecrReq) ProtoReflect() protoreflect.Message

func (*DecrReq) Reset

func (x *DecrReq) Reset()

func (*DecrReq) String

func (x *DecrReq) String() string

type DecrRes

type DecrRes struct {
	UserId       int64  `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id"`                   // 用户id
	NewValue     int64  `protobuf:"varint,2,opt,name=new_value,json=newValue,proto3" json:"new_value"`             // 变更后金额
	DetailId     int64  `protobuf:"varint,3,opt,name=detail_id,json=detailId,proto3" json:"detail_id"`             // 流水id
	ChangeNumber int64  `protobuf:"varint,4,opt,name=change_number,json=changeNumber,proto3" json:"change_number"` // 变更序号
	ChangeTime   string `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time"`        // 时间
	// contains filtered or unexported fields
}

func (*DecrRes) Descriptor deprecated

func (*DecrRes) Descriptor() ([]byte, []int)

Deprecated: Use DecrRes.ProtoReflect.Descriptor instead.

func (*DecrRes) GetChangeNumber

func (x *DecrRes) GetChangeNumber() int64

func (*DecrRes) GetChangeTime

func (x *DecrRes) GetChangeTime() string

func (*DecrRes) GetDetailId

func (x *DecrRes) GetDetailId() int64

func (*DecrRes) GetNewValue

func (x *DecrRes) GetNewValue() int64

func (*DecrRes) GetUserId

func (x *DecrRes) GetUserId() int64

func (*DecrRes) ProtoMessage

func (*DecrRes) ProtoMessage()

func (*DecrRes) ProtoReflect

func (x *DecrRes) ProtoReflect() protoreflect.Message

func (*DecrRes) Reset

func (x *DecrRes) Reset()

func (*DecrRes) String

func (x *DecrRes) String() string

type GetMultiReq

type GetMultiReq struct {
	UserId []int64 `protobuf:"varint,1,rep,packed,name=user_id,json=userId,proto3" json:"user_id"` // 用户id
	// contains filtered or unexported fields
}

func (*GetMultiReq) Descriptor deprecated

func (*GetMultiReq) Descriptor() ([]byte, []int)

Deprecated: Use GetMultiReq.ProtoReflect.Descriptor instead.

func (*GetMultiReq) GetUserId

func (x *GetMultiReq) GetUserId() []int64

func (*GetMultiReq) ProtoMessage

func (*GetMultiReq) ProtoMessage()

func (*GetMultiReq) ProtoReflect

func (x *GetMultiReq) ProtoReflect() protoreflect.Message

func (*GetMultiReq) Reset

func (x *GetMultiReq) Reset()

func (*GetMultiReq) String

func (x *GetMultiReq) String() string

type GetMultiRes

type GetMultiRes struct {
	BalanceMap map[int64]int64 `` // 余额map
	/* 171-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetMultiRes) Descriptor deprecated

func (*GetMultiRes) Descriptor() ([]byte, []int)

Deprecated: Use GetMultiRes.ProtoReflect.Descriptor instead.

func (*GetMultiRes) GetBalanceMap

func (x *GetMultiRes) GetBalanceMap() map[int64]int64

func (*GetMultiRes) ProtoMessage

func (*GetMultiRes) ProtoMessage()

func (*GetMultiRes) ProtoReflect

func (x *GetMultiRes) ProtoReflect() protoreflect.Message

func (*GetMultiRes) Reset

func (x *GetMultiRes) Reset()

func (*GetMultiRes) String

func (x *GetMultiRes) String() string

type GetReq

type GetReq struct {
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id"` // 用户id
	// contains filtered or unexported fields
}

func (*GetReq) Descriptor deprecated

func (*GetReq) Descriptor() ([]byte, []int)

Deprecated: Use GetReq.ProtoReflect.Descriptor instead.

func (*GetReq) GetUserId

func (x *GetReq) GetUserId() int64

func (*GetReq) ProtoMessage

func (*GetReq) ProtoMessage()

func (*GetReq) ProtoReflect

func (x *GetReq) ProtoReflect() protoreflect.Message

func (*GetReq) Reset

func (x *GetReq) Reset()

func (*GetReq) String

func (x *GetReq) String() string

type GetRes

type GetRes struct {
	Value int64 `protobuf:"varint,1,opt,name=value,proto3" json:"value"` // 当前余额
	// contains filtered or unexported fields
}

func (*GetRes) Descriptor deprecated

func (*GetRes) Descriptor() ([]byte, []int)

Deprecated: Use GetRes.ProtoReflect.Descriptor instead.

func (*GetRes) GetValue

func (x *GetRes) GetValue() int64

func (*GetRes) ProtoMessage

func (*GetRes) ProtoMessage()

func (*GetRes) ProtoReflect

func (x *GetRes) ProtoReflect() protoreflect.Message

func (*GetRes) Reset

func (x *GetRes) Reset()

func (*GetRes) String

func (x *GetRes) String() string

type GetSumOfEventReq

type GetSumOfEventReq struct {
	Event     []int32 `protobuf:"varint,2,rep,packed,name=event,proto3" json:"event"`                  // 空返回全部事件
	StartTime string  `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time"` // 开始时间(含)
	EndTime   string  `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time"`       // 结束时间(不含)
	// contains filtered or unexported fields
}

func (*GetSumOfEventReq) Descriptor deprecated

func (*GetSumOfEventReq) Descriptor() ([]byte, []int)

Deprecated: Use GetSumOfEventReq.ProtoReflect.Descriptor instead.

func (*GetSumOfEventReq) GetEndTime

func (x *GetSumOfEventReq) GetEndTime() string

func (*GetSumOfEventReq) GetEvent

func (x *GetSumOfEventReq) GetEvent() []int32

func (*GetSumOfEventReq) GetStartTime

func (x *GetSumOfEventReq) GetStartTime() string

func (*GetSumOfEventReq) ProtoMessage

func (*GetSumOfEventReq) ProtoMessage()

func (*GetSumOfEventReq) ProtoReflect

func (x *GetSumOfEventReq) ProtoReflect() protoreflect.Message

func (*GetSumOfEventReq) Reset

func (x *GetSumOfEventReq) Reset()

func (*GetSumOfEventReq) String

func (x *GetSumOfEventReq) String() string

type GetSumOfEventRes

type GetSumOfEventRes struct {
	SumMap map[int32]int64 `` // event -> amount(不管增加还是减少,均返回正数)
	/* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GetSumOfEventRes) Descriptor deprecated

func (*GetSumOfEventRes) Descriptor() ([]byte, []int)

Deprecated: Use GetSumOfEventRes.ProtoReflect.Descriptor instead.

func (*GetSumOfEventRes) GetEventValue

func (x *GetSumOfEventRes) GetEventValue(event int32) int64

func (*GetSumOfEventRes) GetSumMap

func (x *GetSumOfEventRes) GetSumMap() map[int32]int64

func (*GetSumOfEventRes) ProtoMessage

func (*GetSumOfEventRes) ProtoMessage()

func (*GetSumOfEventRes) ProtoReflect

func (x *GetSumOfEventRes) ProtoReflect() protoreflect.Message

func (*GetSumOfEventRes) Reset

func (x *GetSumOfEventRes) Reset()

func (*GetSumOfEventRes) String

func (x *GetSumOfEventRes) String() string

type IncrReq

type IncrReq struct {
	OuterOrderId int64  `protobuf:"varint,1,opt,name=outer_order_id,json=outerOrderId,proto3" json:"outer_order_id"` // 外部单号
	UserId       int64  `protobuf:"varint,2,opt,name=user_id,json=userId,proto3" json:"user_id"`                     // 用户id
	Value        int64  `protobuf:"varint,3,opt,name=value,proto3" json:"value"`                                     // 增加金额
	Event        int32  `protobuf:"varint,4,opt,name=event,proto3" json:"event"`                                     // 事件
	Summary      string `protobuf:"bytes,5,opt,name=summary,proto3" json:"summary"`                                  // 摘要:json
	// contains filtered or unexported fields
}

func (*IncrReq) Descriptor deprecated

func (*IncrReq) Descriptor() ([]byte, []int)

Deprecated: Use IncrReq.ProtoReflect.Descriptor instead.

func (*IncrReq) GetEvent

func (x *IncrReq) GetEvent() int32

func (*IncrReq) GetOuterOrderId

func (x *IncrReq) GetOuterOrderId() int64

func (*IncrReq) GetSummary

func (x *IncrReq) GetSummary() string

func (*IncrReq) GetUserId

func (x *IncrReq) GetUserId() int64

func (*IncrReq) GetValue

func (x *IncrReq) GetValue() int64

func (*IncrReq) ProtoMessage

func (*IncrReq) ProtoMessage()

func (*IncrReq) ProtoReflect

func (x *IncrReq) ProtoReflect() protoreflect.Message

func (*IncrReq) Reset

func (x *IncrReq) Reset()

func (*IncrReq) String

func (x *IncrReq) String() string

type IncrRes

type IncrRes struct {
	UserId       int64  `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id"`                   // 用户id
	NewValue     int64  `protobuf:"varint,2,opt,name=new_value,json=newValue,proto3" json:"new_value"`             // 变更后金额
	DetailId     int64  `protobuf:"varint,3,opt,name=detail_id,json=detailId,proto3" json:"detail_id"`             // 流水id
	ChangeNumber int64  `protobuf:"varint,4,opt,name=change_number,json=changeNumber,proto3" json:"change_number"` // 变更序号
	ChangeTime   string `protobuf:"bytes,5,opt,name=change_time,json=changeTime,proto3" json:"change_time"`        // 时间
	// contains filtered or unexported fields
}

func (*IncrRes) Descriptor deprecated

func (*IncrRes) Descriptor() ([]byte, []int)

Deprecated: Use IncrRes.ProtoReflect.Descriptor instead.

func (*IncrRes) GetChangeNumber

func (x *IncrRes) GetChangeNumber() int64

func (*IncrRes) GetChangeTime

func (x *IncrRes) GetChangeTime() string

func (*IncrRes) GetDetailId

func (x *IncrRes) GetDetailId() int64

func (*IncrRes) GetNewValue

func (x *IncrRes) GetNewValue() int64

func (*IncrRes) GetUserId

func (x *IncrRes) GetUserId() int64

func (*IncrRes) ProtoMessage

func (*IncrRes) ProtoMessage()

func (*IncrRes) ProtoReflect

func (x *IncrRes) ProtoReflect() protoreflect.Message

func (*IncrRes) Reset

func (x *IncrRes) Reset()

func (*IncrRes) String

func (x *IncrRes) String() string

type ListDetailReq

type ListDetailReq struct {
	UserId    int64   `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id"`         // user_id
	Type      int32   `protobuf:"varint,2,opt,name=type,proto3" json:"type"`                           // 变更方式 1 加 2 减
	Event     []int32 `protobuf:"varint,7,rep,packed,name=event,proto3" json:"event"`                  // 事件
	StartTime string  `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time"` // 开始时间(含)
	EndTime   string  `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time"`       // 结束时间(不含)
	Page      int64   `protobuf:"varint,3,opt,name=page,proto3" json:"page"`                           // 页码
	Size      int64   `protobuf:"varint,4,opt,name=size,proto3" json:"size"`                           // 单页条数
	// contains filtered or unexported fields
}

func (*ListDetailReq) Descriptor deprecated

func (*ListDetailReq) Descriptor() ([]byte, []int)

Deprecated: Use ListDetailReq.ProtoReflect.Descriptor instead.

func (*ListDetailReq) GetEndTime

func (x *ListDetailReq) GetEndTime() string

func (*ListDetailReq) GetEvent

func (x *ListDetailReq) GetEvent() []int32

func (*ListDetailReq) GetPage

func (x *ListDetailReq) GetPage() int64

func (*ListDetailReq) GetSize

func (x *ListDetailReq) GetSize() int64

func (*ListDetailReq) GetStartTime

func (x *ListDetailReq) GetStartTime() string

func (*ListDetailReq) GetType

func (x *ListDetailReq) GetType() int32

func (*ListDetailReq) GetUserId

func (x *ListDetailReq) GetUserId() int64

func (*ListDetailReq) ProtoMessage

func (*ListDetailReq) ProtoMessage()

func (*ListDetailReq) ProtoReflect

func (x *ListDetailReq) ProtoReflect() protoreflect.Message

func (*ListDetailReq) Reset

func (x *ListDetailReq) Reset()

func (*ListDetailReq) String

func (x *ListDetailReq) String() string

type ListDetailRes

type ListDetailRes struct {
	Items []*BeanDetailItem `protobuf:"bytes,1,rep,name=items,proto3" json:"items"`
	Page  int64             `protobuf:"varint,2,opt,name=page,proto3" json:"page"`   // 当前页码
	Size  int64             `protobuf:"varint,3,opt,name=size,proto3" json:"size"`   // 单页条数
	Total int64             `protobuf:"varint,4,opt,name=total,proto3" json:"total"` // 符合条件的总记录数量
	// contains filtered or unexported fields
}

func (*ListDetailRes) Descriptor deprecated

func (*ListDetailRes) Descriptor() ([]byte, []int)

Deprecated: Use ListDetailRes.ProtoReflect.Descriptor instead.

func (*ListDetailRes) GetItems

func (x *ListDetailRes) GetItems() []*BeanDetailItem

func (*ListDetailRes) GetPage

func (x *ListDetailRes) GetPage() int64

func (*ListDetailRes) GetSize

func (x *ListDetailRes) GetSize() int64

func (*ListDetailRes) GetTotal

func (x *ListDetailRes) GetTotal() int64

func (*ListDetailRes) ProtoMessage

func (*ListDetailRes) ProtoMessage()

func (*ListDetailRes) ProtoReflect

func (x *ListDetailRes) ProtoReflect() protoreflect.Message

func (*ListDetailRes) Reset

func (x *ListDetailRes) Reset()

func (*ListDetailRes) String

func (x *ListDetailRes) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL