mirror of
https://gitee.com/dromara/RuoYi-Cloud-Plus.git
synced 2025-09-29 06:53:10 +00:00
add 新增 RemoteConfigService 配置服务 ;
add 新增 RemoteUserService#checkUserNameUnique 校验用户名称是否唯一 ; update 更新 TokenController#register 校验注册配置 ; update 更新 SysLoginService#register 增加验证码校验, 用户名唯一校验 ;
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package org.dromara.system.api;
|
||||
|
||||
/**
|
||||
* 配置服务
|
||||
*
|
||||
* @author Michelle.Chung
|
||||
*/
|
||||
public interface RemoteConfigService {
|
||||
|
||||
/**
|
||||
* 获取注册开关
|
||||
* @param tenantId 租户id
|
||||
* @return true开启,false关闭
|
||||
*/
|
||||
boolean selectRegisterEnabled(String tenantId);
|
||||
|
||||
}
|
@@ -57,6 +57,14 @@ public interface RemoteUserService {
|
||||
*/
|
||||
XcxLoginUser getUserInfoByOpenid(String openid) throws UserException;
|
||||
|
||||
/**
|
||||
* 校验用户名称是否唯一
|
||||
*
|
||||
* @param remoteUserBo 用户信息
|
||||
* @return 结果
|
||||
*/
|
||||
boolean checkUserNameUnique(RemoteUserBo remoteUserBo);
|
||||
|
||||
/**
|
||||
* 注册用户信息
|
||||
*
|
||||
|
Reference in New Issue
Block a user