新增退款待审核角标提醒
This commit is contained in:
@@ -351,6 +351,13 @@ func (s *Service) ListPendingRefund(ctx context.Context) ([]OrderDTO, error) {
|
||||
return s.repo.ListPendingRefund(ctx)
|
||||
}
|
||||
|
||||
func (s *Service) PendingRefundCount(ctx context.Context) (int64, error) {
|
||||
if s.repo == nil {
|
||||
return 0, ErrDependencyUnavailable
|
||||
}
|
||||
return s.repo.PendingRefundCount(ctx)
|
||||
}
|
||||
|
||||
func (s *Service) FindForUser(ctx context.Context, userID uint64, orderID uint64) (*OrderDTO, error) {
|
||||
if s.repo == nil {
|
||||
return nil, ErrDependencyUnavailable
|
||||
|
||||
Reference in New Issue
Block a user