新增排查自己的逻辑
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m53s
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m53s
This commit is contained in:
@@ -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, "查询店铺失败")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user