mirror of
https://gitee.com/fujieid/jap.git
synced 2024-12-02 19:35:41 +08:00
🍻 Add comments
This commit is contained in:
parent
b1e6aa8b70
commit
533478c730
@ -27,6 +27,13 @@ import com.fujieid.jap.ids.model.UserInfo;
|
||||
*/
|
||||
public interface IdsUserService {
|
||||
|
||||
/**
|
||||
* Login with account and password
|
||||
*
|
||||
* @param username account number
|
||||
* @param password password
|
||||
* @return UserInfo
|
||||
*/
|
||||
default UserInfo loginByUsernameAndPassword(String username, String password) {
|
||||
throw new IdsException("Not implemented `IdsUserService.loginByUsernameAndPassword(String, String)`");
|
||||
}
|
||||
@ -35,7 +42,7 @@ public interface IdsUserService {
|
||||
* Get user info by userid.
|
||||
*
|
||||
* @param userId userId of the business system
|
||||
* @return JapUser
|
||||
* @return UserInfo
|
||||
*/
|
||||
default UserInfo getById(String userId) {
|
||||
throw new IdsException("Not implemented `IdsUserService.getById(String)`");
|
||||
@ -45,7 +52,7 @@ public interface IdsUserService {
|
||||
* Get user info by username.
|
||||
*
|
||||
* @param username username of the business system
|
||||
* @return JapUser
|
||||
* @return UserInfo
|
||||
*/
|
||||
default UserInfo getByName(String username) {
|
||||
throw new IdsException("Not implemented `IdsUserService.getByName(String)`");
|
||||
|
Loading…
Reference in New Issue
Block a user