实现了UserDao
This commit is contained in:
@@ -20,14 +20,14 @@ public interface CaptchaUtils {
|
||||
/**
|
||||
* 私有构造函数,防止实例化
|
||||
*/
|
||||
private CaptchaUtils();
|
||||
//private CaptchaUtils();
|
||||
|
||||
/**
|
||||
* 生成随机验证码
|
||||
*
|
||||
* @return 生成的验证码字符串
|
||||
*/
|
||||
static String generateCaptcha();
|
||||
//static String generateCaptcha();
|
||||
|
||||
/**
|
||||
* 验证用户输入的验证码是否正确
|
||||
@@ -36,6 +36,6 @@ public interface CaptchaUtils {
|
||||
* @param systemCaptcha 系统生成的验证码
|
||||
* @return 验证结果,正确返回true,错误返回false
|
||||
*/
|
||||
static boolean verifyCaptcha(String inputCaptcha,String systemCaptcha);
|
||||
//static boolean verifyCaptcha(String inputCaptcha,String systemCaptcha);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user