新增排查自己的逻辑
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m53s

This commit is contained in:
2026-05-09 15:22:29 +08:00
parent 09cf0be86e
commit ebaf112c80
3 changed files with 16 additions and 8 deletions

View File

@@ -410,7 +410,7 @@ func (s *Service) List(ctx context.Context, opts *store.QueryOptions, filters ma
// ListCascade 联级查询店铺,用于新增店铺或其他场景选择上级店铺
func (s *Service) ListCascade(ctx context.Context, req *dto.ShopCascadeRequest) ([]*dto.ShopCascadeItem, error) {
shops, err := s.shopStore.ListForCascade(ctx, req.ShopName, req.ParentID)
shops, err := s.shopStore.ListForCascade(ctx, req.ShopName, req.ParentID, req.ExcludeSelf)
if err != nil {
return nil, errors.Wrap(errors.CodeInternalError, err, "查询店铺失败")
}