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

请求路由的代码觉得可以优化下 #96

Open
g5zhu5896 opened this issue May 22, 2020 · 0 comments
Open

请求路由的代码觉得可以优化下 #96

g5zhu5896 opened this issue May 22, 2020 · 0 comments

Comments

@g5zhu5896
Copy link

路由请求看着是用ProxyManager创建代理还要传入 okHttpclient,还有设置url,请求完还要在代码里转换response,感觉这一块代码可以封装一下,或者用RestTemplate或者feign感觉都会更好,或者建公用的类进行相应的处理,,这样就不用再代码里面 又要new 又要转换对象了又要传url了.

bug:RouteRequestImpl.getCIMServer的时候如果用户不存在会因为要拿是否重连的标志导致空指针异常

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