UserServiceImpl.java 787 B

12345678910111213141516171819202122232425262728293031
  1. package com.seecoder.BlueWhale.ServiceImpl;
  2. import com.seecoder.BlueWhale.Exception.BlueWhaleException;
  3. import com.seecoder.BlueWhale.Mapper.UserMapper;
  4. import com.seecoder.BlueWhale.Service.UserService;
  5. import com.seecoder.BlueWhale.VO.UserVO;
  6. import org.springframework.beans.factory.annotation.Autowired;
  7. import org.springframework.stereotype.Service;
  8. @Service
  9. public class UserServiceImpl implements UserService {
  10. @Autowired
  11. UserMapper userMapper;
  12. @Override
  13. public Boolean register(UserVO userVO) {
  14. throw BlueWhaleException.phoneAlreadyExists();
  15. //return null;
  16. }
  17. @Override
  18. public String login(String phone, String password) {
  19. return null;
  20. }
  21. @Override
  22. public UserVO getInformation() {
  23. return null;
  24. }
  25. }