first commit

This commit is contained in:
2023-05-28 16:33:27 +08:00
parent b01b6df882
commit d35ea18db8
22 changed files with 465 additions and 266 deletions

View File

@ -0,0 +1,40 @@
package com.qiaoba.api.auth.service;
/**
* 安全配置 对外暴露接口
*
* @author ailanyin
* @version 1.0
* @since 2023/5/19 17:17
*/
public interface AuthConfigApiService {
/**
* 是否允许账号同时在线
*
* @return 是/否
*/
Boolean checkAllowBothOnline();
/**
* 是否开启验证码
*
* @return 是/否
*/
Boolean getCaptchaConfig();
/**
* 是否开启注册
*
* @return 是/否
*/
Boolean getRegisterConfig();
/**
* 验证验证码
* @param code code
* @param uuid uuid
*/
void validateCaptcha(String code, String uuid);
}

View File

@ -3,7 +3,7 @@ package com.qiaoba.api.auth.service;
import org.springframework.security.core.userdetails.UserDetails;
/**
* SysUserDetails 暴露接口
* SysUserDetails 对外暴露接口
*
* @author ailanyin
* @version 1.0