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

类似登录这种公用业务模块该怎么处理呢 #2

Closed
yangjiantao opened this issue May 12, 2017 · 3 comments
Closed

类似登录这种公用业务模块该怎么处理呢 #2

yangjiantao opened this issue May 12, 2017 · 3 comments

Comments

@yangjiantao
Copy link

我理解的loginModule应该是和NewHouseModule业务模块同级的。如果两者之间做到解耦,那在单独运行新房业务模块时,怎么使用登录模块的功能呢? 望回复,谢谢。

@BaronZ88
Copy link
Owner

看你怎么理解了,我更倾向于将 Login 模块下放到业务组件层。毕竟登录用户信息是所有业务公用的,这样 NewHouseModule 就可以依赖 Login 。

@yangjiantao
Copy link
Author

谢谢。现在就是这么做的。
依赖关系(单向):NewHouseModule > login > commonBussiness

@BaronZ88
Copy link
Owner

不客气

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

2 participants