|
@@ -48,18 +48,4 @@ public class UserRPC implements UserService {
|
|
|
return userLogic.updateUser(userDTO);
|
|
|
}
|
|
|
|
|
|
-// @Override
|
|
|
-// public UserDTO getUserByUsername(String s) {
|
|
|
-// UserDTO userDTO = userLogic.getUserByEmail(s);
|
|
|
-// if (userDTO != null) {
|
|
|
-// return userDTO;
|
|
|
-// } else {
|
|
|
-// userDTO = userLogic.getUserByMobile(s);
|
|
|
-// if (userDTO != null) {
|
|
|
-// return userDTO;
|
|
|
-// } else {
|
|
|
-// throw new HttpBadRequestException("user not exist");
|
|
|
-// }
|
|
|
-// }
|
|
|
-// }
|
|
|
}
|