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

一个更好的注解使用的建议 #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

WilliamSESE
Copy link

将类注解由@component修改为@service,该类主要承担业务逻辑处理,所以使用@service注解更为合适,@service是一种特殊的@component,对于主要处理业务逻辑的Bean,使用@service注解更好

将类注解由@component修改为@service,该类主要承担业务逻辑处理,所以使用@service注解更为合适,@service是一种特殊的@component,对于主要处理业务逻辑的Bean,使用@service注解更好
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

Successfully merging this pull request may close these issues.

1 participant