biz

package
v0.0.0-...-e6547ed Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 7 Imported by: 0

README

Biz

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrUserNotFound is user not found.
	ErrUserNotFound = errors.NotFound(v1.ErrorReason_USER_NOT_FOUND.String(), "user not found")
)

ProviderSet is biz providers.

Functions

This section is empty.

Types

type ActivityUsecase

type ActivityUsecase struct {
	OrderRPC orderProto.OrderClient
	// contains filtered or unexported fields
}

func NewActivityUsecase

func NewActivityUsecase(logger log.Logger, OrderRpc orderProto.OrderClient) *ActivityUsecase

func (*ActivityUsecase) GetOrderList

func (uc *ActivityUsecase) GetOrderList(ctx context.Context, orderID int64) error

*

  • 请求订单服务,获取订单列表

Jump to

Keyboard shortcuts

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