Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

后端思维二:手把手教你实现一个并行调用模板 ------ StackOverflowError #6

Open
Xudoom opened this issue Dec 3, 2022 · 0 comments

Comments

@Xudoom
Copy link

Xudoom commented Dec 3, 2022

在声明多个策略实现类中
用户信息策略类

    @Override
    public BaseRspDTO<Object> execute(AppInfoReq req) {
        UserInfoParam userInfoParam = userService.buildUserParam(req);
        UserInfoDTO userInfoDTO = userService.queryUserInfo(userInfoParam);
        BaseRspDTO<Object> userBaseRspDTO = new BaseRspDTO<Object>();
        userBaseRspDTO.setKey(getTaskType());
        userBaseRspDTO.setData(userBaseRspDTO);
        return userBaseRspDTO;
      }
userBaseRspDTO.setData(userBaseRspDTO); 

应该改成

userBaseRspDTO.setData(userInfoDTO); 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant