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") )
View Source
var ProviderSet = wire.NewSet(NewActivityUsecase)
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
*
- 请求订单服务,获取订单列表
Click to show internal directories.
Click to hide internal directories.