commspb

package
Version: v0.1.28 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommissionService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "commspb.CommissionService",
	HandlerType: (*CommissionServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UserBindOrder",
			Handler:    _CommissionService_UserBindOrder_Handler,
		},
		{
			MethodName: "UserBindPhone",
			Handler:    _CommissionService_UserBindPhone_Handler,
		},
		{
			MethodName: "UserGetOrders",
			Handler:    _CommissionService_UserGetOrders_Handler,
		},
		{
			MethodName: "UserQueryBalance",
			Handler:    _CommissionService_UserQueryBalance_Handler,
		},
		{
			MethodName: "UserWithdrawMoney",
			Handler:    _CommissionService_UserWithdrawMoney_Handler,
		},
		{
			MethodName: "UserQueryDrawMoneyRecords",
			Handler:    _CommissionService_UserQueryDrawMoneyRecords_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "svc.commission.proto",
}

CommissionService_ServiceDesc is the grpc.ServiceDesc for CommissionService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_svc_commission_proto protoreflect.FileDescriptor

Functions

func RegisterCommissionServiceServer added in v0.1.22

func RegisterCommissionServiceServer(s grpc.ServiceRegistrar, srv CommissionServiceServer)

Types

type Balance added in v0.1.23

type Balance struct {
	Unliquidated float32 `protobuf:"fixed32,1,opt,name=unliquidated,proto3" json:"unliquidated,omitempty"` // 未结算金额
	Payable      float32 `protobuf:"fixed32,2,opt,name=payable,proto3" json:"payable,omitempty"`           // 可提现金额
	Processing   float32 `protobuf:"fixed32,3,opt,name=processing,proto3" json:"processing,omitempty"`     // 支付处理中金额(已冻结,待支付)
	Paid         float32 `protobuf:"fixed32,4,opt,name=paid,proto3" json:"paid,omitempty"`                 // 已支付(用户已提现成功)
	// contains filtered or unexported fields
}

query money

func (*Balance) Descriptor deprecated added in v0.1.23

This method has been deprecated.
func (*Balance) Descriptor() ([]byte, []int)

Deprecated: Use Balance.ProtoReflect.Descriptor instead.

func (*Balance) GetPaid added in v0.1.23

func (x *Balance) GetPaid() float32

func (*Balance) GetPayable added in v0.1.23

func (x *Balance) GetPayable() float32

func (*Balance) GetProcessing added in v0.1.23

func (x *Balance) GetProcessing() float32

func (*Balance) GetUnliquidated added in v0.1.23

func (x *Balance) GetUnliquidated() float32

func (*Balance) ProtoMessage added in v0.1.23

func (*Balance) ProtoMessage()

func (*Balance) ProtoReflect added in v0.1.23

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

func (*Balance) Reset added in v0.1.23

func (x *Balance) Reset()

func (*Balance) String added in v0.1.23

func (x *Balance) String() string

type CommissionServiceClient added in v0.1.22

type CommissionServiceClient interface {
	UserBindOrder(ctx context.Context, in *UserBindOrderReq, opts ...grpc.CallOption) (*UserBindOrderRes, error)
	UserBindPhone(ctx context.Context, in *UserBindPhoneReq, opts ...grpc.CallOption) (*UserBindPhoneRes, error)
	UserGetOrders(ctx context.Context, in *UserGetOrdersReq, opts ...grpc.CallOption) (*UserGetOrdersRes, error)
	UserQueryBalance(ctx context.Context, in *UserQueryBalanceReq, opts ...grpc.CallOption) (*UserQueryBalanceRes, error)
	UserWithdrawMoney(ctx context.Context, in *UserDrawMoneyReq, opts ...grpc.CallOption) (*UserDrawMoneyRes, error)
	UserQueryDrawMoneyRecords(ctx context.Context, in *UserDrawMoneyRecordsReq, opts ...grpc.CallOption) (*UserDrawMoneyRecordsRes, error)
}

CommissionServiceClient is the client API for CommissionService 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.

func NewCommissionServiceClient added in v0.1.22

func NewCommissionServiceClient(cc grpc.ClientConnInterface) CommissionServiceClient

type CommissionServiceServer added in v0.1.22

type CommissionServiceServer interface {
	UserBindOrder(context.Context, *UserBindOrderReq) (*UserBindOrderRes, error)
	UserBindPhone(context.Context, *UserBindPhoneReq) (*UserBindPhoneRes, error)
	UserGetOrders(context.Context, *UserGetOrdersReq) (*UserGetOrdersRes, error)
	UserQueryBalance(context.Context, *UserQueryBalanceReq) (*UserQueryBalanceRes, error)
	UserWithdrawMoney(context.Context, *UserDrawMoneyReq) (*UserDrawMoneyRes, error)
	UserQueryDrawMoneyRecords(context.Context, *UserDrawMoneyRecordsReq) (*UserDrawMoneyRecordsRes, error)
	// contains filtered or unexported methods
}

CommissionServiceServer is the server API for CommissionService service. All implementations must embed UnimplementedCommissionServiceServer for forward compatibility

type DrawMoneyDetail

type DrawMoneyDetail struct {
	Amount float64              `protobuf:"fixed64,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Orders []*UserDividendOrder `protobuf:"bytes,2,rep,name=orders,proto3" json:"orders,omitempty"`
	// contains filtered or unexported fields
}

withdraw money

func (*DrawMoneyDetail) Descriptor deprecated

This method has been deprecated.
func (*DrawMoneyDetail) Descriptor() ([]byte, []int)

Deprecated: Use DrawMoneyDetail.ProtoReflect.Descriptor instead.

func (*DrawMoneyDetail) GetAmount

func (x *DrawMoneyDetail) GetAmount() float64

func (*DrawMoneyDetail) GetOrders

func (x *DrawMoneyDetail) GetOrders() []*UserDividendOrder

func (*DrawMoneyDetail) ProtoMessage

func (*DrawMoneyDetail) ProtoMessage()

func (*DrawMoneyDetail) ProtoReflect

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

func (*DrawMoneyDetail) Reset

func (x *DrawMoneyDetail) Reset()

func (*DrawMoneyDetail) String

func (x *DrawMoneyDetail) String() string

type DrawMoneyRecords added in v0.1.24

type DrawMoneyRecords struct {
	UserID     string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	ReqSN      string `protobuf:"bytes,2,opt,name=reqSN,proto3" json:"reqSN,omitempty"`
	OrderSNs   string `protobuf:"bytes,3,opt,name=orderSNs,proto3" json:"orderSNs,omitempty"`
	ReqAmount  int32  `protobuf:"varint,4,opt,name=reqAmount,proto3" json:"reqAmount,omitempty"`
	Status     int32  `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	PaidAmount int32  `protobuf:"varint,6,opt,name=paidAmount,proto3" json:"paidAmount,omitempty"`
	PayMethod  int32  `protobuf:"varint,7,opt,name=payMethod,proto3" json:"payMethod,omitempty"`
	// contains filtered or unexported fields
}

withdraw money records

func (*DrawMoneyRecords) Descriptor deprecated added in v0.1.24

This method has been deprecated.
func (*DrawMoneyRecords) Descriptor() ([]byte, []int)

Deprecated: Use DrawMoneyRecords.ProtoReflect.Descriptor instead.

func (*DrawMoneyRecords) GetOrderSNs added in v0.1.24

func (x *DrawMoneyRecords) GetOrderSNs() string

func (*DrawMoneyRecords) GetPaidAmount added in v0.1.24

func (x *DrawMoneyRecords) GetPaidAmount() int32

func (*DrawMoneyRecords) GetPayMethod added in v0.1.24

func (x *DrawMoneyRecords) GetPayMethod() int32

func (*DrawMoneyRecords) GetReqAmount added in v0.1.24

func (x *DrawMoneyRecords) GetReqAmount() int32

func (*DrawMoneyRecords) GetReqSN added in v0.1.24

func (x *DrawMoneyRecords) GetReqSN() string

func (*DrawMoneyRecords) GetStatus added in v0.1.24

func (x *DrawMoneyRecords) GetStatus() int32

func (*DrawMoneyRecords) GetUserID added in v0.1.24

func (x *DrawMoneyRecords) GetUserID() string

func (*DrawMoneyRecords) ProtoMessage added in v0.1.24

func (*DrawMoneyRecords) ProtoMessage()

func (*DrawMoneyRecords) ProtoReflect added in v0.1.24

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

func (*DrawMoneyRecords) Reset added in v0.1.24

func (x *DrawMoneyRecords) Reset()

func (*DrawMoneyRecords) String added in v0.1.24

func (x *DrawMoneyRecords) String() string

type UnimplementedCommissionServiceServer added in v0.1.22

type UnimplementedCommissionServiceServer struct {
}

UnimplementedCommissionServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedCommissionServiceServer) UserBindOrder added in v0.1.22

func (UnimplementedCommissionServiceServer) UserBindPhone added in v0.1.22

func (UnimplementedCommissionServiceServer) UserGetOrders added in v0.1.22

func (UnimplementedCommissionServiceServer) UserQueryBalance added in v0.1.23

func (UnimplementedCommissionServiceServer) UserQueryDrawMoneyRecords added in v0.1.24

func (UnimplementedCommissionServiceServer) UserWithdrawMoney added in v0.1.22

type UnsafeCommissionServiceServer added in v0.1.22

type UnsafeCommissionServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeCommissionServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CommissionServiceServer will result in compilation errors.

type UserBindOrderReq

type UserBindOrderReq struct {
	UserID  string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	OrderSN string `protobuf:"bytes,2,opt,name=orderSN,proto3" json:"orderSN,omitempty"` // 用户在vendor后台可见的订单号
	// contains filtered or unexported fields
}

UserBindOrder

func (*UserBindOrderReq) Descriptor deprecated

This method has been deprecated.
func (*UserBindOrderReq) Descriptor() ([]byte, []int)

Deprecated: Use UserBindOrderReq.ProtoReflect.Descriptor instead.

func (*UserBindOrderReq) GetOrderSN

func (x *UserBindOrderReq) GetOrderSN() string

func (*UserBindOrderReq) GetUserID

func (x *UserBindOrderReq) GetUserID() string

func (*UserBindOrderReq) ProtoMessage

func (*UserBindOrderReq) ProtoMessage()

func (*UserBindOrderReq) ProtoReflect

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

func (*UserBindOrderReq) Reset

func (x *UserBindOrderReq) Reset()

func (*UserBindOrderReq) String

func (x *UserBindOrderReq) String() string

type UserBindOrderRes

type UserBindOrderRes struct {
	Code int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*UserBindOrderRes) Descriptor deprecated

This method has been deprecated.
func (*UserBindOrderRes) Descriptor() ([]byte, []int)

Deprecated: Use UserBindOrderRes.ProtoReflect.Descriptor instead.

func (*UserBindOrderRes) GetCode

func (x *UserBindOrderRes) GetCode() int32

func (*UserBindOrderRes) GetMsg

func (x *UserBindOrderRes) GetMsg() string

func (*UserBindOrderRes) ProtoMessage

func (*UserBindOrderRes) ProtoMessage()

func (*UserBindOrderRes) ProtoReflect

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

func (*UserBindOrderRes) Reset

func (x *UserBindOrderRes) Reset()

func (*UserBindOrderRes) String

func (x *UserBindOrderRes) String() string

type UserBindPhoneReq

type UserBindPhoneReq struct {
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	Phone  string `protobuf:"bytes,2,opt,name=phone,proto3" json:"phone,omitempty"`
	// contains filtered or unexported fields
}

UserBindPhone

func (*UserBindPhoneReq) Descriptor deprecated

This method has been deprecated.
func (*UserBindPhoneReq) Descriptor() ([]byte, []int)

Deprecated: Use UserBindPhoneReq.ProtoReflect.Descriptor instead.

func (*UserBindPhoneReq) GetPhone

func (x *UserBindPhoneReq) GetPhone() string

func (*UserBindPhoneReq) GetUserID

func (x *UserBindPhoneReq) GetUserID() string

func (*UserBindPhoneReq) ProtoMessage

func (*UserBindPhoneReq) ProtoMessage()

func (*UserBindPhoneReq) ProtoReflect

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

func (*UserBindPhoneReq) Reset

func (x *UserBindPhoneReq) Reset()

func (*UserBindPhoneReq) String

func (x *UserBindPhoneReq) String() string

type UserBindPhoneRes

type UserBindPhoneRes struct {
	Code int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*UserBindPhoneRes) Descriptor deprecated

This method has been deprecated.
func (*UserBindPhoneRes) Descriptor() ([]byte, []int)

Deprecated: Use UserBindPhoneRes.ProtoReflect.Descriptor instead.

func (*UserBindPhoneRes) GetCode

func (x *UserBindPhoneRes) GetCode() int32

func (*UserBindPhoneRes) GetMsg

func (x *UserBindPhoneRes) GetMsg() string

func (*UserBindPhoneRes) ProtoMessage

func (*UserBindPhoneRes) ProtoMessage()

func (*UserBindPhoneRes) ProtoReflect

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

func (*UserBindPhoneRes) Reset

func (x *UserBindPhoneRes) Reset()

func (*UserBindPhoneRes) String

func (x *UserBindPhoneRes) String() string

type UserDividendOrder

type UserDividendOrder struct {
	UserID          string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`                   // user id
	OrderSN         string `protobuf:"bytes,2,opt,name=orderSN,proto3" json:"orderSN,omitempty"`                 // 用户后台可见的订单号
	OrderStatus     int32  `protobuf:"varint,3,opt,name=orderStatus,proto3" json:"orderStatus,omitempty"`        // 订单状态:-1 无效订单(未支付,退货,无佣金, 商家审核失败)1-有效但商家未结算订单(预估金额,用户可能退货)2-已结算订单(用户可提现)
	OrderVendor     int32  `protobuf:"varint,4,opt,name=orderVendor,proto3" json:"orderVendor,omitempty"`        // 订单Vendor
	PayStauts       int32  `protobuf:"varint,5,opt,name=payStauts,proto3" json:"payStauts,omitempty"`            // 支付状态: 0-未支付; 1-用户已提交提现申请,审核中; 2-审核未通过; 3-已审核通过,待支付处理中; 4-支付失败; 99-已支付;
	CashReqSN       string `protobuf:"bytes,6,opt,name=cashReqSN,proto3" json:"cashReqSN,omitempty"`             // 已支付的用户请求提现流水号
	Amount          int32  `protobuf:"varint,7,opt,name=amount,proto3" json:"amount,omitempty"`                  // 用户分配到的佣金额,单位为分
	OrderAmount     int32  `protobuf:"varint,8,opt,name=orderAmount,proto3" json:"orderAmount,omitempty"`        // 实际支付金额,单位为分
	OrderCreateTime string `protobuf:"bytes,9,opt,name=orderCreateTime,proto3" json:"orderCreateTime,omitempty"` // 订单生成时间,格式yyyy-MM-dd HH:mm:ss
	// contains filtered or unexported fields
}

UserGetOrders

func (*UserDividendOrder) Descriptor deprecated

This method has been deprecated.
func (*UserDividendOrder) Descriptor() ([]byte, []int)

Deprecated: Use UserDividendOrder.ProtoReflect.Descriptor instead.

func (*UserDividendOrder) GetAmount

func (x *UserDividendOrder) GetAmount() int32

func (*UserDividendOrder) GetCashReqSN

func (x *UserDividendOrder) GetCashReqSN() string

func (*UserDividendOrder) GetOrderAmount

func (x *UserDividendOrder) GetOrderAmount() int32

func (*UserDividendOrder) GetOrderCreateTime

func (x *UserDividendOrder) GetOrderCreateTime() string

func (*UserDividendOrder) GetOrderSN

func (x *UserDividendOrder) GetOrderSN() string

func (*UserDividendOrder) GetOrderStatus

func (x *UserDividendOrder) GetOrderStatus() int32

func (*UserDividendOrder) GetOrderVendor

func (x *UserDividendOrder) GetOrderVendor() int32

func (*UserDividendOrder) GetPayStauts

func (x *UserDividendOrder) GetPayStauts() int32

func (*UserDividendOrder) GetUserID

func (x *UserDividendOrder) GetUserID() string

func (*UserDividendOrder) ProtoMessage

func (*UserDividendOrder) ProtoMessage()

func (*UserDividendOrder) ProtoReflect

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

func (*UserDividendOrder) Reset

func (x *UserDividendOrder) Reset()

func (*UserDividendOrder) String

func (x *UserDividendOrder) String() string

type UserDrawMoneyRecordsReq added in v0.1.24

type UserDrawMoneyRecordsReq struct {
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

func (*UserDrawMoneyRecordsReq) Descriptor deprecated added in v0.1.24

This method has been deprecated.
func (*UserDrawMoneyRecordsReq) Descriptor() ([]byte, []int)

Deprecated: Use UserDrawMoneyRecordsReq.ProtoReflect.Descriptor instead.

func (*UserDrawMoneyRecordsReq) GetUserID added in v0.1.24

func (x *UserDrawMoneyRecordsReq) GetUserID() string

func (*UserDrawMoneyRecordsReq) ProtoMessage added in v0.1.24

func (*UserDrawMoneyRecordsReq) ProtoMessage()

func (*UserDrawMoneyRecordsReq) ProtoReflect added in v0.1.24

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

func (*UserDrawMoneyRecordsReq) Reset added in v0.1.24

func (x *UserDrawMoneyRecordsReq) Reset()

func (*UserDrawMoneyRecordsReq) String added in v0.1.24

func (x *UserDrawMoneyRecordsReq) String() string

type UserDrawMoneyRecordsRes added in v0.1.24

type UserDrawMoneyRecordsRes struct {
	Code int32               `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string              `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data []*DrawMoneyRecords `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UserDrawMoneyRecordsRes) Descriptor deprecated added in v0.1.24

This method has been deprecated.
func (*UserDrawMoneyRecordsRes) Descriptor() ([]byte, []int)

Deprecated: Use UserDrawMoneyRecordsRes.ProtoReflect.Descriptor instead.

func (*UserDrawMoneyRecordsRes) GetCode added in v0.1.24

func (x *UserDrawMoneyRecordsRes) GetCode() int32

func (*UserDrawMoneyRecordsRes) GetData added in v0.1.24

func (x *UserDrawMoneyRecordsRes) GetData() []*DrawMoneyRecords

func (*UserDrawMoneyRecordsRes) GetMsg added in v0.1.24

func (x *UserDrawMoneyRecordsRes) GetMsg() string

func (*UserDrawMoneyRecordsRes) ProtoMessage added in v0.1.24

func (*UserDrawMoneyRecordsRes) ProtoMessage()

func (*UserDrawMoneyRecordsRes) ProtoReflect added in v0.1.24

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

func (*UserDrawMoneyRecordsRes) Reset added in v0.1.24

func (x *UserDrawMoneyRecordsRes) Reset()

func (*UserDrawMoneyRecordsRes) String added in v0.1.24

func (x *UserDrawMoneyRecordsRes) String() string

type UserDrawMoneyReq

type UserDrawMoneyReq struct {
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

func (*UserDrawMoneyReq) Descriptor deprecated

This method has been deprecated.
func (*UserDrawMoneyReq) Descriptor() ([]byte, []int)

Deprecated: Use UserDrawMoneyReq.ProtoReflect.Descriptor instead.

func (*UserDrawMoneyReq) GetUserID

func (x *UserDrawMoneyReq) GetUserID() string

func (*UserDrawMoneyReq) ProtoMessage

func (*UserDrawMoneyReq) ProtoMessage()

func (*UserDrawMoneyReq) ProtoReflect

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

func (*UserDrawMoneyReq) Reset

func (x *UserDrawMoneyReq) Reset()

func (*UserDrawMoneyReq) String

func (x *UserDrawMoneyReq) String() string

type UserDrawMoneyRes

type UserDrawMoneyRes struct {
	Code int32            `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string           `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data *DrawMoneyDetail `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UserDrawMoneyRes) Descriptor deprecated

This method has been deprecated.
func (*UserDrawMoneyRes) Descriptor() ([]byte, []int)

Deprecated: Use UserDrawMoneyRes.ProtoReflect.Descriptor instead.

func (*UserDrawMoneyRes) GetCode

func (x *UserDrawMoneyRes) GetCode() int32

func (*UserDrawMoneyRes) GetData

func (x *UserDrawMoneyRes) GetData() *DrawMoneyDetail

func (*UserDrawMoneyRes) GetMsg

func (x *UserDrawMoneyRes) GetMsg() string

func (*UserDrawMoneyRes) ProtoMessage

func (*UserDrawMoneyRes) ProtoMessage()

func (*UserDrawMoneyRes) ProtoReflect

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

func (*UserDrawMoneyRes) Reset

func (x *UserDrawMoneyRes) Reset()

func (*UserDrawMoneyRes) String

func (x *UserDrawMoneyRes) String() string

type UserGetOrdersReq

type UserGetOrdersReq struct {
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

func (*UserGetOrdersReq) Descriptor deprecated

This method has been deprecated.
func (*UserGetOrdersReq) Descriptor() ([]byte, []int)

Deprecated: Use UserGetOrdersReq.ProtoReflect.Descriptor instead.

func (*UserGetOrdersReq) GetUserID

func (x *UserGetOrdersReq) GetUserID() string

func (*UserGetOrdersReq) ProtoMessage

func (*UserGetOrdersReq) ProtoMessage()

func (*UserGetOrdersReq) ProtoReflect

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

func (*UserGetOrdersReq) Reset

func (x *UserGetOrdersReq) Reset()

func (*UserGetOrdersReq) String

func (x *UserGetOrdersReq) String() string

type UserGetOrdersRes

type UserGetOrdersRes struct {
	Code int32                `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string               `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data []*UserDividendOrder `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UserGetOrdersRes) Descriptor deprecated

This method has been deprecated.
func (*UserGetOrdersRes) Descriptor() ([]byte, []int)

Deprecated: Use UserGetOrdersRes.ProtoReflect.Descriptor instead.

func (*UserGetOrdersRes) GetCode

func (x *UserGetOrdersRes) GetCode() int32

func (*UserGetOrdersRes) GetData

func (x *UserGetOrdersRes) GetData() []*UserDividendOrder

func (*UserGetOrdersRes) GetMsg

func (x *UserGetOrdersRes) GetMsg() string

func (*UserGetOrdersRes) ProtoMessage

func (*UserGetOrdersRes) ProtoMessage()

func (*UserGetOrdersRes) ProtoReflect

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

func (*UserGetOrdersRes) Reset

func (x *UserGetOrdersRes) Reset()

func (*UserGetOrdersRes) String

func (x *UserGetOrdersRes) String() string

type UserQueryBalanceReq added in v0.1.23

type UserQueryBalanceReq struct {
	UserID string `protobuf:"bytes,1,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

func (*UserQueryBalanceReq) Descriptor deprecated added in v0.1.23

This method has been deprecated.
func (*UserQueryBalanceReq) Descriptor() ([]byte, []int)

Deprecated: Use UserQueryBalanceReq.ProtoReflect.Descriptor instead.

func (*UserQueryBalanceReq) GetUserID added in v0.1.23

func (x *UserQueryBalanceReq) GetUserID() string

func (*UserQueryBalanceReq) ProtoMessage added in v0.1.23

func (*UserQueryBalanceReq) ProtoMessage()

func (*UserQueryBalanceReq) ProtoReflect added in v0.1.23

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

func (*UserQueryBalanceReq) Reset added in v0.1.23

func (x *UserQueryBalanceReq) Reset()

func (*UserQueryBalanceReq) String added in v0.1.23

func (x *UserQueryBalanceReq) String() string

type UserQueryBalanceRes added in v0.1.23

type UserQueryBalanceRes struct {
	Code int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg  string   `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data *Balance `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*UserQueryBalanceRes) Descriptor deprecated added in v0.1.23

This method has been deprecated.
func (*UserQueryBalanceRes) Descriptor() ([]byte, []int)

Deprecated: Use UserQueryBalanceRes.ProtoReflect.Descriptor instead.

func (*UserQueryBalanceRes) GetCode added in v0.1.23

func (x *UserQueryBalanceRes) GetCode() int32

func (*UserQueryBalanceRes) GetData added in v0.1.23

func (x *UserQueryBalanceRes) GetData() *Balance

func (*UserQueryBalanceRes) GetMsg added in v0.1.23

func (x *UserQueryBalanceRes) GetMsg() string

func (*UserQueryBalanceRes) ProtoMessage added in v0.1.23

func (*UserQueryBalanceRes) ProtoMessage()

func (*UserQueryBalanceRes) ProtoReflect added in v0.1.23

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

func (*UserQueryBalanceRes) Reset added in v0.1.23

func (x *UserQueryBalanceRes) Reset()

func (*UserQueryBalanceRes) String added in v0.1.23

func (x *UserQueryBalanceRes) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL