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

模块如果没有关联,那么查询会不会有问题,如下: #3

Closed
Nokecy opened this issue Aug 31, 2016 · 2 comments
Closed

Comments

@Nokecy
Copy link

Nokecy commented Aug 31, 2016

https://github.com/liuxx001/BodeAbp/blob/master/src/modules/BodeAbp.Forum/Plates/Domain/PlateKeeper.cs
这里如果前端要获取管理员姓名,那该怎么做呢?

@liuxx-u
Copy link
Owner

liuxx-u commented Aug 31, 2016

模块本身不能查询其他模块数据,有这种需求可以在Controller中组装查询表达式,接口从Controller中出去,Controller中是可以引用多个模块的。

@liuxx-u
Copy link
Owner

liuxx-u commented Aug 31, 2016

也可以做冗余,但是管理员姓名修改了需要发送一个事件出来,这边模块也做对应的修改,感觉要麻烦许多。

@liuxx-u liuxx-u closed this as completed Sep 5, 2016
@liuxx-u liuxx-u reopened this Sep 5, 2016
@liuxx-u liuxx-u closed this as completed Sep 9, 2016
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