package com.yunan.service; import com.yunan.dto.RegisterDTO; import com.yunan.pojo.User; import org.springframework.http.ResponseEntity; import javax.mail.MessagingException; import javax.mail.internet.AddressException; import java.io.UnsupportedEncodingException; public interface AuthService { ResponseEntity register(RegisterDTO registerDTO, String rightCode) throws UnsupportedEncodingException, AddressException, MessagingException; }