人机验证码-开关
This commit is contained in:
@@ -1367,6 +1367,7 @@ public class Constant {
|
||||
public static final String ROOM_RIGHT_BOTTOM_ICON_CONFIG = "room_right_bottom_icon_config";
|
||||
|
||||
public static final String GIFT_EARN_ALLOT_GUILD_CONFIG = "gift_earn_allot_guild_config";
|
||||
public static final String APP_CAPTCHA_SWITCH = "app_captcha_switch";
|
||||
/**
|
||||
* 每月充值活动屏蔽财富等级
|
||||
*/
|
||||
|
@@ -100,4 +100,9 @@ public class AppInitVo {
|
||||
*/
|
||||
private AppUiSetting appUiSetting;
|
||||
|
||||
/**
|
||||
* 验证码开关
|
||||
* */
|
||||
private Boolean captchaSwitch;
|
||||
|
||||
}
|
||||
|
@@ -106,6 +106,8 @@ public class ClientServiceImpl implements ClientService {
|
||||
//易盾
|
||||
appInitVo.setYiDunTextBusinessId(YidunCheckConfig.textBusinessId);
|
||||
appInitVo.setYiDunImageBusinessId(YidunCheckConfig.imageBusinessId);
|
||||
//验证码开关
|
||||
appInitVo.setCaptchaSwitch(Boolean.parseBoolean(sysConfService.getDefaultSysConfValueById(Constant.SysConfId.APP_CAPTCHA_SWITCH, Boolean.FALSE.toString())));
|
||||
} catch (Exception e) {
|
||||
log.error(e.getMessage(), e);
|
||||
}
|
||||
|
Reference in New Issue
Block a user