-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[refactor] move code from AccountController to AccountService #2373
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
/** | ||
* Account service | ||
*/ | ||
public interface AccountService { | ||
Map<String, String> authGetToken(LoginDto loginDto) throws AuthenticationException; | ||
|
||
RefreshTokenResponse refreshToken(String refreshToken) throws AuthenticationException; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi can you help add code comments in interface method
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code comments has added
@tomsun28 There are some controllers have the same problem like this pr. |
hi, ok. 👍 |
What's changed?
As a layer of interaction with front-end, controller should not contain any code logic.
Checklist
Add or update API